23#ifndef __mlDcmDRTIonControlPointDeliverySequenceInterface_H
24#define __mlDcmDRTIonControlPointDeliverySequenceInterface_H
41#ifndef __mlModuleIncludes_H
58 Item() { _dcmItem = DcmtkAccessories::createNewDicomTree(); }
70 bool isValid()
const {
return _dcmItem.get() !=
nullptr; }
114 bool getKVP(std::string& parameter)
const;
338 bool getKVP(
unsigned long idx, std::string& parameter)
const;
525 std::vector<DcmDRTIonControlPointDeliverySequenceInterface::Item>
getSequence()
const {
532 return (_itemVec.size() != 0);
538 return static_cast<MLint>(_itemVec.size());
544 if (_itemVec.size() >
idx) {
545 return _itemVec[
idx];
554 return _itemVec[_itemVec.size()-1];
564 if (_itemVec.size() >
idx) {
565 std::vector<DcmDRTIonControlPointDeliverySequenceInterface::Item>::iterator
it = _itemVec.begin();
566 std::advance(
it,
idx);
576 if ( _itemVec.size() >
idx ) {
577 std::vector<DcmDRTIonControlPointDeliverySequenceInterface::Item>::iterator
it = _itemVec.begin();
578 std::advance(
it,
idx);
587 std::vector<DcmDRTIonControlPointDeliverySequenceInterface::Item>
_itemVec;
#define MLDCMTKACCESSORIES_EXPORT
Class to provide access to DRTBeamLimitingDevicePositionSequence.
Class to provide access to DRTCorrectedParameterSequence.
bool getDeliveredMeterset(std::string ¶meter) const
std::string getKVPTag() const
bool setBeamLimitingDeviceRotationDirection(std::string parameter)
void setRangeModulatorSettingsSequence(DcmDRTRangeModulatorSettingsSequenceInRTIonBeamsSessionRecordModuleInterface seq)
void setIonWedgePositionSequence(DcmDRTIonWedgePositionSequenceInterface seq)
std::string getCorrectedParameterSequenceTag() const
std::string getRangeShifterSettingsSequenceTag() const
bool getTableTopRollRotationDirection(std::string ¶meter) const
bool setScanSpotPositionMap(float parameter)
DcmDRTRangeModulatorSettingsSequenceInRTIonBeamsSessionRecordModuleInterface getRangeModulatorSettingsSequence() const
bool setTableTopPitchAngle(float parameter)
DCMTree::TreePtr getTreePtr() const
bool getNumberOfScanSpotPositions(std::string ¶meter) const
std::string getScanSpotPositionMapTag() const
bool getTreatmentControlPointDate(std::string ¶meter) const
bool setGantryRotationDirection(std::string parameter)
void setOverrideSequence(DcmDRTOverrideSequenceInterface seq)
std::string getTreatmentControlPointDateTag() const
DcmDRTLateralSpreadingDeviceSettingsSequenceInRTIonBeamsSessionRecordModuleInterface getLateralSpreadingDeviceSettingsSequence() const
bool getScanSpotPositionMap(float ¶meter) const
bool getHeadFixationAngle(float ¶meter) const
bool setPatientSupportRotationDirection(std::string parameter)
bool getPatientSupportRotationDirection(std::string ¶meter) const
bool setGantryAngle(std::string parameter)
bool setBeamLimitingDeviceAngle(std::string parameter)
Item & operator=(const Item ©DcmItem)
std::string getNumberOfPaintingsTag() const
bool getBeamLimitingDeviceRotationDirection(std::string ¶meter) const
bool setTableTopRollAngle(float parameter)
std::string getIonWedgePositionSequenceTag() const
DcmDRTOverrideSequenceInterface getOverrideSequence() const
std::string getGantryPitchRotationDirectionTag() const
std::string getTreatmentControlPointTimeTag() const
std::string getNominalBeamEnergyTag() const
bool setNominalBeamEnergy(std::string parameter)
std::string getGantryPitchAngleTag() const
bool getScanningSpotSize(float ¶meter) const
DcmDRTIonWedgePositionSequenceInterface getIonWedgePositionSequence() const
bool setNumberOfPaintings(std::string parameter)
std::string getNumberOfScanSpotPositionsTag() const
std::string getDeliveredMetersetTag() const
bool getTableTopPitchRotationDirection(std::string ¶meter) const
std::string getTableTopPitchAngleTag() const
void setLateralSpreadingDeviceSettingsSequence(DcmDRTLateralSpreadingDeviceSettingsSequenceInRTIonBeamsSessionRecordModuleInterface seq)
std::string getTableTopLongitudinalPositionTag() const
DcmDRTCorrectedParameterSequenceInterface getCorrectedParameterSequence() const
std::string getRangeModulatorSettingsSequenceTag() const
std::string getGantryAngleTag() const
bool getNominalBeamEnergy(std::string ¶meter) const
void setRangeShifterSettingsSequence(DcmDRTRangeShifterSettingsSequenceInRTIonBeamsSessionRecordModuleInterface seq)
bool getGantryPitchAngle(float ¶meter) const
bool setTreatmentControlPointDate(std::string parameter)
std::string getLateralSpreadingDeviceSettingsSequenceTag() const
bool setTableTopRollRotationDirection(std::string parameter)
std::string getTableTopVerticalPositionTag() const
bool setGantryPitchAngle(float parameter)
std::string getPatientSupportRotationDirectionTag() const
std::string getHeadFixationAngleTag() const
bool getKVP(std::string ¶meter) const
bool getReferencedControlPointIndex(std::string ¶meter) const
Item(const Item ©DcmItem)
std::string getBeamLimitingDevicePositionSequenceTag() const
std::string getTableTopPitchRotationDirectionTag() const
bool setScanSpotMetersetsDelivered(float parameter)
bool getTableTopRollAngle(float ¶meter) const
bool setTableTopVerticalPosition(std::string parameter)
std::string getSnoutPositionTag() const
std::string getTableTopRollRotationDirectionTag() const
std::string getMetersetRateDeliveredTag() const
bool getScanSpotMetersetsDelivered(float ¶meter) const
std::string getOverrideSequenceTag() const
bool setMetersetRateSet(float parameter)
bool setTableTopLongitudinalPosition(std::string parameter)
std::string getMetersetRateSetTag() const
std::string getTableTopRollAngleTag() const
bool getSnoutPosition(float ¶meter) const
bool setMetersetRateDelivered(float parameter)
bool getGantryRotationDirection(std::string ¶meter) const
std::string getBeamLimitingDeviceAngleTag() const
bool setScanSpotTuneID(std::string parameter)
bool setGantryPitchRotationDirection(std::string parameter)
bool getTreatmentControlPointTime(std::string ¶meter) const
Item(DCMTree::TreePtr dcmItem)
std::string getGantryRotationDirectionTag() const
void setBeamLimitingDevicePositionSequence(DcmDRTBeamLimitingDevicePositionSequenceInterface seq)
bool getTableTopLongitudinalPosition(std::string ¶meter) const
bool getTableTopVerticalPosition(std::string ¶meter) const
bool setKVP(std::string parameter)
std::string getReferencedControlPointIndexTag() const
void setCorrectedParameterSequence(DcmDRTCorrectedParameterSequenceInterface seq)
bool getMetersetRateDelivered(float ¶meter) const
DcmDRTBeamLimitingDevicePositionSequenceInterface getBeamLimitingDevicePositionSequence() const
bool getTableTopPitchAngle(float ¶meter) const
std::string getPatientSupportAngleTag() const
bool setDeliveredMeterset(std::string parameter)
bool setTreatmentControlPointTime(std::string parameter)
std::string getBeamLimitingDeviceRotationDirectionTag() const
bool setPatientSupportAngle(std::string parameter)
bool setSpecifiedMeterset(std::string parameter)
bool getGantryPitchRotationDirection(std::string ¶meter) const
bool getGantryAngle(std::string ¶meter) const
bool setTableTopPitchRotationDirection(std::string parameter)
bool getNumberOfPaintings(std::string ¶meter) const
std::string getSpecifiedMetersetTag() const
bool getTableTopLateralPosition(std::string ¶meter) const
std::string getScanSpotMetersetsDeliveredTag() const
bool getScanSpotTuneID(std::string ¶meter) const
bool setHeadFixationAngle(float parameter)
DcmDRTRangeShifterSettingsSequenceInRTIonBeamsSessionRecordModuleInterface getRangeShifterSettingsSequence() const
bool setReferencedControlPointIndex(std::string parameter)
bool getSpecifiedMeterset(std::string ¶meter) const
bool getMetersetRateSet(float ¶meter) const
std::string getTableTopLateralPositionTag() const
std::string getScanSpotTuneIDTag() const
bool setTableTopLateralPosition(std::string parameter)
bool setSnoutPosition(float parameter)
bool getBeamLimitingDeviceAngle(std::string ¶meter) const
bool setScanningSpotSize(float parameter)
std::string getScanningSpotSizeTag() const
bool setNumberOfScanSpotPositions(std::string parameter)
bool getPatientSupportAngle(std::string ¶meter) const
Class to provide access to DRTIonControlPointDeliverySequence.
bool insertItem(const size_t idx)
Insert an item at the indicated position.
bool getTreatmentControlPointTime(DCMTree::TreePtr item, std::string ¶meter) const
bool getMetersetRateSet(unsigned long idx, float ¶meter) const
void setOverrideSequence(DcmDRTOverrideSequenceInterface seq, unsigned long idx)
bool getGantryRotationDirection(DCMTree::TreePtr item, std::string ¶meter) const
bool getNumberOfPaintings(DCMTree::TreePtr item, std::string ¶meter) const
bool getScanSpotPositionMap(unsigned long idx, float ¶meter) const
bool setScanningSpotSize(unsigned long idx, float parameter)
void setLateralSpreadingDeviceSettingsSequence(DcmDRTLateralSpreadingDeviceSettingsSequenceInRTIonBeamsSessionRecordModuleInterface seq, unsigned long idx)
std::string getSpecifiedMetersetTag() const
std::string getTreatmentControlPointDateTag() const
bool getMetersetRateDelivered(DCMTree::TreePtr item, float ¶meter) const
std::string getNumberOfPaintingsTag() const
bool setTableTopLateralPosition(unsigned long idx, std::string parameter)
bool getScanSpotMetersetsDelivered(DCMTree::TreePtr item, float ¶meter) const
bool setTableTopRollRotationDirection(unsigned long idx, std::string parameter)
bool getTableTopRollRotationDirection(DCMTree::TreePtr item, std::string ¶meter) const
bool getGantryPitchRotationDirection(DCMTree::TreePtr item, std::string ¶meter) const
std::string getNumberOfScanSpotPositionsTag() const
DcmDRTIonControlPointDeliverySequenceInterface::Item & addItem()
Adds a new item to the sequence.
DcmDRTRangeModulatorSettingsSequenceInRTIonBeamsSessionRecordModuleInterface getRangeModulatorSettingsSequence(unsigned long idx) const
bool setPatientSupportAngle(unsigned long idx, std::string parameter)
bool getNominalBeamEnergy(unsigned long idx, std::string ¶meter) const
bool getSpecifiedMeterset(DCMTree::TreePtr item, std::string ¶meter) const
void addItem(DcmDRTIonControlPointDeliverySequenceInterface::Item newItem)
bool setTableTopLongitudinalPosition(unsigned long idx, std::string parameter)
bool getGantryRotationDirection(unsigned long idx, std::string ¶meter) const
bool getTableTopLongitudinalPosition(unsigned long idx, std::string ¶meter) const
bool getTableTopRollRotationDirection(unsigned long idx, std::string ¶meter) const
bool setMetersetRateSet(unsigned long idx, float parameter)
std::string getTableTopRollRotationDirectionTag() const
bool getScanSpotMetersetsDelivered(unsigned long idx, float ¶meter) const
DcmDRTCorrectedParameterSequenceInterface getCorrectedParameterSequence(unsigned long idx) const
std::string getRangeShifterSettingsSequenceTag() const
bool setGantryAngle(unsigned long idx, std::string parameter)
bool getGantryPitchRotationDirection(unsigned long idx, std::string ¶meter) const
bool getBeamLimitingDeviceRotationDirection(unsigned long idx, std::string ¶meter) const
bool setBeamLimitingDeviceRotationDirection(unsigned long idx, std::string parameter)
bool getTableTopPitchRotationDirection(DCMTree::TreePtr item, std::string ¶meter) const
bool getSnoutPosition(DCMTree::TreePtr item, float ¶meter) const
bool getTableTopPitchAngle(unsigned long idx, float ¶meter) const
std::string getBeamLimitingDevicePositionSequenceTag() const
std::string getTableTopVerticalPositionTag() const
bool getKVP(DCMTree::TreePtr item, std::string ¶meter) const
bool getHeadFixationAngle(unsigned long idx, float ¶meter) const
std::string getTreatmentControlPointTimeTag() const
bool getPatientSupportRotationDirection(DCMTree::TreePtr item, std::string ¶meter) const
bool setNumberOfPaintings(unsigned long idx, std::string parameter)
bool setTableTopRollAngle(unsigned long idx, float parameter)
bool getDeliveredMeterset(unsigned long idx, std::string ¶meter) const
bool setTreatmentControlPointTime(unsigned long idx, std::string parameter)
DcmDRTIonControlPointDeliverySequenceInterface(std::vector< DcmDRTIonControlPointDeliverySequenceInterface::Item > dcmSequence)
Default Constructor.
std::string getKVPTag() const
bool setGantryRotationDirection(unsigned long idx, std::string parameter)
std::string getBeamLimitingDeviceRotationDirectionTag() const
void setRangeModulatorSettingsSequence(DcmDRTRangeModulatorSettingsSequenceInRTIonBeamsSessionRecordModuleInterface seq, unsigned long idx)
std::string getMetersetRateDeliveredTag() const
std::string getGantryPitchRotationDirectionTag() const
bool setKVP(unsigned long idx, std::string parameter)
bool getBeamLimitingDeviceRotationDirection(DCMTree::TreePtr item, std::string ¶meter) const
bool getNumberOfScanSpotPositions(DCMTree::TreePtr item, std::string ¶meter) const
bool setHeadFixationAngle(unsigned long idx, float parameter)
bool setGantryPitchAngle(unsigned long idx, float parameter)
bool getSnoutPosition(unsigned long idx, float ¶meter) const
bool getTableTopPitchAngle(DCMTree::TreePtr item, float ¶meter) const
bool getPatientSupportRotationDirection(unsigned long idx, std::string ¶meter) const
std::string getRangeModulatorSettingsSequenceTag() const
bool getNominalBeamEnergy(DCMTree::TreePtr item, std::string ¶meter) const
std::string getScanSpotPositionMapTag() const
DcmDRTIonControlPointDeliverySequenceInterface::Item getItem(const size_t idx) const
Gets the item at the indicated position.
std::string getDeliveredMetersetTag() const
bool setBeamLimitingDeviceAngle(unsigned long idx, std::string parameter)
DcmDRTIonControlPointDeliverySequenceInterface(DCMTree::TreePtrVector treePtrSeq)
bool getBeamLimitingDeviceAngle(unsigned long idx, std::string ¶meter) const
bool getTableTopRollAngle(DCMTree::TreePtr item, float ¶meter) const
std::string getScanningSpotSizeTag() const
std::string getTableTopRollAngleTag() const
bool getScanSpotPositionMap(DCMTree::TreePtr item, float ¶meter) const
DcmDRTOverrideSequenceInterface getOverrideSequence(unsigned long idx) const
std::string getReferencedControlPointIndexTag() const
std::string getTableTopLongitudinalPositionTag() const
bool getTreatmentControlPointDate(DCMTree::TreePtr item, std::string ¶meter) const
bool getTableTopVerticalPosition(DCMTree::TreePtr item, std::string ¶meter) const
bool getReferencedControlPointIndex(DCMTree::TreePtr item, std::string ¶meter) const
bool getPatientSupportAngle(unsigned long idx, std::string ¶meter) const
bool setTreatmentControlPointDate(unsigned long idx, std::string parameter)
std::string getHeadFixationAngleTag() const
bool getTableTopRollAngle(unsigned long idx, float ¶meter) const
bool getTableTopPitchRotationDirection(unsigned long idx, std::string ¶meter) const
std::string getNominalBeamEnergyTag() const
bool getGantryAngle(DCMTree::TreePtr item, std::string ¶meter) const
std::string getBeamLimitingDeviceAngleTag() const
DcmDRTIonWedgePositionSequenceInterface getIonWedgePositionSequence(unsigned long idx) const
void setIonWedgePositionSequence(DcmDRTIonWedgePositionSequenceInterface seq, unsigned long idx)
bool setPatientSupportRotationDirection(unsigned long idx, std::string parameter)
bool getNumberOfScanSpotPositions(unsigned long idx, std::string ¶meter) const
bool setScanSpotTuneID(unsigned long idx, std::string parameter)
bool getScanSpotTuneID(unsigned long idx, std::string ¶meter) const
bool getMetersetRateSet(DCMTree::TreePtr item, float ¶meter) const
DcmDRTIonControlPointDeliverySequenceInterface()
std::string getGantryAngleTag() const
std::string getTableTopPitchRotationDirectionTag() const
bool setTableTopVerticalPosition(unsigned long idx, std::string parameter)
bool getScanningSpotSize(unsigned long idx, float ¶meter) const
bool hasSequence() const
Check if the DRTIonControlPointDeliverySequence is set.
bool getKVP(unsigned long idx, std::string ¶meter) const
std::string getSnoutPositionTag() const
std::string getLateralSpreadingDeviceSettingsSequenceTag() const
bool setNominalBeamEnergy(unsigned long idx, std::string parameter)
bool getTreatmentControlPointDate(unsigned long idx, std::string ¶meter) const
bool setTableTopPitchAngle(unsigned long idx, float parameter)
bool setScanSpotPositionMap(unsigned long idx, float parameter)
void setCorrectedParameterSequence(DcmDRTCorrectedParameterSequenceInterface seq, unsigned long idx)
bool setDeliveredMeterset(unsigned long idx, std::string parameter)
bool getNumberOfPaintings(unsigned long idx, std::string ¶meter) const
bool getScanSpotTuneID(DCMTree::TreePtr item, std::string ¶meter) const
std::string getOverrideSequenceTag() const
DcmDRTRangeShifterSettingsSequenceInRTIonBeamsSessionRecordModuleInterface getRangeShifterSettingsSequence(unsigned long idx) const
bool getGantryPitchAngle(unsigned long idx, float ¶meter) const
std::string getPatientSupportAngleTag() const
std::vector< DcmDRTIonControlPointDeliverySequenceInterface::Item > getSequence() const
Return the DRTIonControlPointDeliverySequence this interface class provides access to.
DcmDRTLateralSpreadingDeviceSettingsSequenceInRTIonBeamsSessionRecordModuleInterface getLateralSpreadingDeviceSettingsSequence(unsigned long idx) const
void setSequence(std::vector< DcmDRTIonControlPointDeliverySequenceInterface::Item > dcmSequence)
Set the DRTIonControlPointDeliverySequence this interface class provides access to.
std::string getIonWedgePositionSequenceTag() const
bool setMetersetRateDelivered(unsigned long idx, float parameter)
std::string getTableTopLateralPositionTag() const
bool getBeamLimitingDeviceAngle(DCMTree::TreePtr item, std::string ¶meter) const
bool setSpecifiedMeterset(unsigned long idx, std::string parameter)
std::vector< DcmDRTIonControlPointDeliverySequenceInterface::Item > _itemVec
Reference to the wrapped DICOM tree pointer vector.
std::string getPatientSupportRotationDirectionTag() const
bool getTableTopLateralPosition(unsigned long idx, std::string ¶meter) const
DcmDRTBeamLimitingDevicePositionSequenceInterface getBeamLimitingDevicePositionSequence(unsigned long idx) const
bool getGantryAngle(unsigned long idx, std::string ¶meter) const
bool getTreatmentControlPointTime(unsigned long idx, std::string ¶meter) const
std::string getGantryPitchAngleTag() const
virtual ~DcmDRTIonControlPointDeliverySequenceInterface()
Default virtual Destructor.
bool getPatientSupportAngle(DCMTree::TreePtr item, std::string ¶meter) const
std::string getScanSpotTuneIDTag() const
std::string getCorrectedParameterSequenceTag() const
void setRangeShifterSettingsSequence(DcmDRTRangeShifterSettingsSequenceInRTIonBeamsSessionRecordModuleInterface seq, unsigned long idx)
bool setTableTopPitchRotationDirection(unsigned long idx, std::string parameter)
bool getSpecifiedMeterset(unsigned long idx, std::string ¶meter) const
std::string getScanSpotMetersetsDeliveredTag() const
bool setReferencedControlPointIndex(unsigned long idx, std::string parameter)
std::string getGantryRotationDirectionTag() const
bool getTableTopLongitudinalPosition(DCMTree::TreePtr item, std::string ¶meter) const
bool getHeadFixationAngle(DCMTree::TreePtr item, float ¶meter) const
MLint getNumberOfItems() const
Return number of items the internal sequence consists of.
bool setScanSpotMetersetsDelivered(unsigned long idx, float parameter)
bool getScanningSpotSize(DCMTree::TreePtr item, float ¶meter) const
std::string getTableTopPitchAngleTag() const
bool getMetersetRateDelivered(unsigned long idx, float ¶meter) const
bool getTableTopLateralPosition(DCMTree::TreePtr item, std::string ¶meter) const
bool getGantryPitchAngle(DCMTree::TreePtr item, float ¶meter) const
bool setGantryPitchRotationDirection(unsigned long idx, std::string parameter)
bool removeItem(const size_t idx)
Removes the indicated item from the sequence.
bool setSnoutPosition(unsigned long idx, float parameter)
bool getReferencedControlPointIndex(unsigned long idx, std::string ¶meter) const
void setBeamLimitingDevicePositionSequence(DcmDRTBeamLimitingDevicePositionSequenceInterface seq, unsigned long idx)
bool getDeliveredMeterset(DCMTree::TreePtr item, std::string ¶meter) const
bool getTableTopVerticalPosition(unsigned long idx, std::string ¶meter) const
std::string getMetersetRateSetTag() const
bool setNumberOfScanSpotPositions(unsigned long idx, std::string parameter)
Class to provide access to DRTIonWedgePositionSequence.
Class to provide access to DRTLateralSpreadingDeviceSettingsSequenceInRTIonBeamsSessionRecordModule.
Class to provide access to DRTOverrideSequence.
Class to provide access to DRTRangeModulatorSettingsSequenceInRTIonBeamsSessionRecordModule.
Class to provide access to DRTRangeShifterSettingsSequenceInRTIonBeamsSessionRecordModule.
Class to provide access to DRTBeamLimitingDevicePositionSequence.
Class to provide access to DRTCorrectedParameterSequence.
Class to provide access to DRTIonWedgePositionSequence.
Class to provide access to DRTLateralSpreadingDeviceSettingsSequenceInRTIonBeamsSessionRecordModule.
Class to provide access to DRTOverrideSequence.
Class to provide access to DRTRangeModulatorSettingsSequenceInRTIonBeamsSessionRecordModule.
Class to provide access to DRTRangeShifterSettingsSequenceInRTIonBeamsSessionRecordModule.
Class collecting some DICOM helper functionality explicitly for dcmtk.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
MLint64 MLint
A signed ML integer type with at least 64 bits used for index calculations on very large images even ...
std::vector< TreePtr > TreePtrVector
a vector of TreePtr - used for sequences
boost::shared_ptr< Tree > TreePtr
shared pointer to a DCMTree::Tree