23#ifndef __mlDcmDRTIonControlPointSequenceInterface_H
24#define __mlDcmDRTIonControlPointSequenceInterface_H
40#ifndef __mlModuleIncludes_H
57 Item() { _dcmItem = DcmtkAccessories::createNewDicomTree(); }
69 bool isValid()
const {
return _dcmItem.get() !=
nullptr; }
123 bool getKVP(std::string& parameter)
const;
334 bool getKVP(
unsigned long idx, std::string& parameter)
const;
492 std::vector<DcmDRTIonControlPointSequenceInterface::Item>
getSequence()
const {
499 return (_itemVec.size() != 0);
505 return static_cast<MLint>(_itemVec.size());
511 if (_itemVec.size() >
idx) {
512 return _itemVec[
idx];
521 return _itemVec[_itemVec.size()-1];
531 if (_itemVec.size() >
idx) {
532 std::vector<DcmDRTIonControlPointSequenceInterface::Item>::iterator
it = _itemVec.begin();
533 std::advance(
it,
idx);
543 if ( _itemVec.size() >
idx ) {
544 std::vector<DcmDRTIonControlPointSequenceInterface::Item>::iterator
it = _itemVec.begin();
545 std::advance(
it,
idx);
554 std::vector<DcmDRTIonControlPointSequenceInterface::Item>
_itemVec;
#define MLDCMTKACCESSORIES_EXPORT
Class to provide access to DRTBeamLimitingDevicePositionSequence.
std::string getLateralSpreadingDeviceSettingsSequenceTag() const
bool getBeamLimitingDeviceAngle(std::string ¶meter) const
bool getMetersetRate(float ¶meter) const
bool setTableTopPitchAngle(float parameter)
bool getHeadFixationAngle(float ¶meter) const
bool setIsocenterPosition(std::string parameter)
bool setTableTopRollRotationDirection(std::string parameter)
bool setPatientSupportRotationDirection(std::string parameter)
DCMTree::TreePtr getTreePtr() const
Item(const Item ©DcmItem)
bool getKVP(std::string ¶meter) const
bool setSnoutPosition(float parameter)
bool getIsocenterPosition(std::string ¶meter) const
bool setSurfaceEntryPoint(std::string parameter)
bool getPatientSupportAngle(std::string ¶meter) const
bool getTableTopVerticalPosition(std::string ¶meter) const
DcmDRTBeamLimitingDevicePositionSequenceInterface getBeamLimitingDevicePositionSequence() const
bool setGantryRotationDirection(std::string parameter)
bool getScanSpotMetersetWeights(float ¶meter) const
void setRangeModulatorSettingsSequence(DcmDRTRangeModulatorSettingsSequenceInRTIonBeamsModuleInterface seq)
bool getCumulativeMetersetWeight(std::string ¶meter) const
bool getTableTopRollAngle(float ¶meter) const
bool setScanSpotTuneID(std::string parameter)
std::string getPatientSupportAngleTag() const
std::string getScanSpotMetersetWeightsTag() const
bool getScanningSpotSize(float ¶meter) const
std::string getReferencedDoseReferenceSequenceTag() const
bool setControlPointIndex(std::string parameter)
bool setGantryAngle(std::string parameter)
bool setKVP(std::string parameter)
bool getPatientSupportRotationDirection(std::string ¶meter) const
std::string getTableTopLongitudinalPositionTag() const
bool setHeadFixationAngle(float parameter)
bool getNumberOfPaintings(std::string ¶meter) const
std::string getIsocenterPositionTag() const
std::string getNumberOfScanSpotPositionsTag() const
std::string getBeamLimitingDeviceAngleTag() const
std::string getGantryPitchAngleTag() const
std::string getScanSpotTuneIDTag() const
std::string getIonWedgePositionSequenceTag() const
bool getSurfaceEntryPoint(std::string ¶meter) const
DcmDRTRangeShifterSettingsSequenceInRTIonBeamsModuleInterface getRangeShifterSettingsSequence() const
std::string getHeadFixationAngleTag() const
Item & operator=(const Item ©DcmItem)
bool setBeamLimitingDeviceAngle(std::string parameter)
std::string getNumberOfPaintingsTag() const
std::string getSnoutPositionTag() const
bool setTableTopLongitudinalPosition(std::string parameter)
std::string getKVPTag() const
std::string getTableTopPitchRotationDirectionTag() const
bool getTableTopLongitudinalPosition(std::string ¶meter) const
DcmDRTIonWedgePositionSequenceInterface getIonWedgePositionSequence() const
void setLateralSpreadingDeviceSettingsSequence(DcmDRTLateralSpreadingDeviceSettingsSequenceInRTIonBeamsModuleInterface seq)
bool getScanSpotPositionMap(float ¶meter) const
std::string getTableTopVerticalPositionTag() const
bool getBeamLimitingDeviceRotationDirection(std::string ¶meter) const
std::string getTableTopRollAngleTag() const
bool setBeamLimitingDeviceRotationDirection(std::string parameter)
std::string getPatientSupportRotationDirectionTag() const
bool setPatientSupportAngle(std::string parameter)
bool setMetersetRate(float parameter)
DcmDRTLateralSpreadingDeviceSettingsSequenceInRTIonBeamsModuleInterface getLateralSpreadingDeviceSettingsSequence() const
bool getControlPointIndex(std::string ¶meter) const
bool getGantryAngle(std::string ¶meter) const
bool setTableTopLateralPosition(std::string parameter)
bool setScanSpotPositionMap(float parameter)
std::string getGantryPitchRotationDirectionTag() const
bool getTableTopLateralPosition(std::string ¶meter) const
bool setGantryPitchRotationDirection(std::string parameter)
std::string getGantryAngleTag() const
bool getTableTopPitchRotationDirection(std::string ¶meter) const
bool setTableTopPitchRotationDirection(std::string parameter)
bool getSnoutPosition(float ¶meter) const
bool getGantryPitchRotationDirection(std::string ¶meter) const
void setReferencedDoseReferenceSequence(DcmDRTReferencedDoseReferenceSequenceInRTIonBeamsModuleInterface seq)
bool getScanSpotTuneID(std::string ¶meter) const
std::string getRangeShifterSettingsSequenceTag() const
bool getNumberOfScanSpotPositions(std::string ¶meter) const
std::string getCumulativeMetersetWeightTag() const
std::string getScanSpotPositionMapTag() const
bool getGantryPitchAngle(float ¶meter) const
bool getNominalBeamEnergy(std::string ¶meter) const
bool setNominalBeamEnergy(std::string parameter)
void setRangeShifterSettingsSequence(DcmDRTRangeShifterSettingsSequenceInRTIonBeamsModuleInterface seq)
std::string getGantryRotationDirectionTag() const
bool setCumulativeMetersetWeight(std::string parameter)
void setBeamLimitingDevicePositionSequence(DcmDRTBeamLimitingDevicePositionSequenceInterface seq)
DcmDRTRangeModulatorSettingsSequenceInRTIonBeamsModuleInterface getRangeModulatorSettingsSequence() const
std::string getScanningSpotSizeTag() const
std::string getTableTopRollRotationDirectionTag() const
std::string getTableTopPitchAngleTag() const
std::string getBeamLimitingDevicePositionSequenceTag() const
std::string getRangeModulatorSettingsSequenceTag() const
bool getTableTopRollRotationDirection(std::string ¶meter) const
bool setNumberOfScanSpotPositions(std::string parameter)
Item(DCMTree::TreePtr dcmItem)
bool getTableTopPitchAngle(float ¶meter) const
std::string getTableTopLateralPositionTag() const
std::string getControlPointIndexTag() const
std::string getNominalBeamEnergyTag() const
bool setTableTopRollAngle(float parameter)
std::string getBeamLimitingDeviceRotationDirectionTag() const
std::string getSurfaceEntryPointTag() const
bool setScanningSpotSize(float parameter)
bool setNumberOfPaintings(std::string parameter)
bool setScanSpotMetersetWeights(float parameter)
bool setGantryPitchAngle(float parameter)
void setIonWedgePositionSequence(DcmDRTIonWedgePositionSequenceInterface seq)
bool getGantryRotationDirection(std::string ¶meter) const
std::string getMetersetRateTag() const
DcmDRTReferencedDoseReferenceSequenceInRTIonBeamsModuleInterface getReferencedDoseReferenceSequence() const
bool setTableTopVerticalPosition(std::string parameter)
Class to provide access to DRTIonControlPointSequence.
DcmDRTIonControlPointSequenceInterface::Item getItem(const size_t idx) const
Gets the item at the indicated position.
DcmDRTIonControlPointSequenceInterface(DCMTree::TreePtrVector treePtrSeq)
bool getPatientSupportAngle(unsigned long idx, std::string ¶meter) const
bool getKVP(unsigned long idx, std::string ¶meter) const
std::string getPatientSupportRotationDirectionTag() const
bool setScanSpotTuneID(unsigned long idx, std::string parameter)
std::string getBeamLimitingDeviceAngleTag() const
bool setTableTopRollRotationDirection(unsigned long idx, std::string parameter)
std::string getTableTopPitchAngleTag() const
DcmDRTRangeShifterSettingsSequenceInRTIonBeamsModuleInterface getRangeShifterSettingsSequence(unsigned long idx) const
bool getNominalBeamEnergy(DCMTree::TreePtr item, std::string ¶meter) const
bool getTableTopLateralPosition(DCMTree::TreePtr item, std::string ¶meter) const
std::string getTableTopPitchRotationDirectionTag() const
bool setGantryPitchRotationDirection(unsigned long idx, std::string parameter)
bool getTableTopPitchAngle(unsigned long idx, float ¶meter) const
bool getGantryPitchAngle(DCMTree::TreePtr item, float ¶meter) const
DcmDRTIonControlPointSequenceInterface::Item & addItem()
Adds a new item to the sequence.
bool insertItem(const size_t idx)
Insert an item at the indicated position.
bool getNumberOfScanSpotPositions(DCMTree::TreePtr item, std::string ¶meter) const
std::string getRangeModulatorSettingsSequenceTag() const
bool getTableTopVerticalPosition(unsigned long idx, std::string ¶meter) const
bool getTableTopPitchRotationDirection(unsigned long idx, std::string ¶meter) const
bool getIsocenterPosition(unsigned long idx, std::string ¶meter) const
std::string getNumberOfScanSpotPositionsTag() const
void setSequence(std::vector< DcmDRTIonControlPointSequenceInterface::Item > dcmSequence)
Set the DRTIonControlPointSequence this interface class provides access to.
void setLateralSpreadingDeviceSettingsSequence(DcmDRTLateralSpreadingDeviceSettingsSequenceInRTIonBeamsModuleInterface seq, unsigned long idx)
bool getBeamLimitingDeviceRotationDirection(DCMTree::TreePtr item, std::string ¶meter) const
void setRangeShifterSettingsSequence(DcmDRTRangeShifterSettingsSequenceInRTIonBeamsModuleInterface seq, unsigned long idx)
bool getSnoutPosition(DCMTree::TreePtr item, float ¶meter) const
std::vector< DcmDRTIonControlPointSequenceInterface::Item > _itemVec
Reference to the wrapped DICOM tree pointer vector.
std::string getHeadFixationAngleTag() const
bool removeItem(const size_t idx)
Removes the indicated item from the sequence.
bool getNumberOfPaintings(DCMTree::TreePtr item, std::string ¶meter) const
std::string getScanSpotMetersetWeightsTag() const
bool getPatientSupportRotationDirection(unsigned long idx, std::string ¶meter) const
bool getPatientSupportAngle(DCMTree::TreePtr item, std::string ¶meter) const
bool setKVP(unsigned long idx, std::string parameter)
bool getBeamLimitingDeviceAngle(unsigned long idx, std::string ¶meter) const
virtual ~DcmDRTIonControlPointSequenceInterface()
Default virtual Destructor.
bool getTableTopLateralPosition(unsigned long idx, std::string ¶meter) const
bool getScanSpotTuneID(unsigned long idx, std::string ¶meter) const
bool getNumberOfScanSpotPositions(unsigned long idx, std::string ¶meter) const
bool getNominalBeamEnergy(unsigned long idx, std::string ¶meter) const
std::string getIsocenterPositionTag() const
DcmDRTIonControlPointSequenceInterface(std::vector< DcmDRTIonControlPointSequenceInterface::Item > dcmSequence)
Default Constructor.
bool setBeamLimitingDeviceRotationDirection(unsigned long idx, std::string parameter)
bool getScanSpotTuneID(DCMTree::TreePtr item, std::string ¶meter) const
bool setScanSpotMetersetWeights(unsigned long idx, float parameter)
std::string getTableTopRollAngleTag() const
bool hasSequence() const
Check if the DRTIonControlPointSequence is set.
std::string getCumulativeMetersetWeightTag() const
bool getHeadFixationAngle(DCMTree::TreePtr item, float ¶meter) const
bool getSurfaceEntryPoint(unsigned long idx, std::string ¶meter) const
bool getMetersetRate(DCMTree::TreePtr item, float ¶meter) const
bool getCumulativeMetersetWeight(DCMTree::TreePtr item, std::string ¶meter) const
bool setTableTopRollAngle(unsigned long idx, float parameter)
bool getSurfaceEntryPoint(DCMTree::TreePtr item, std::string ¶meter) const
bool getBeamLimitingDeviceAngle(DCMTree::TreePtr item, std::string ¶meter) const
bool getTableTopVerticalPosition(DCMTree::TreePtr item, std::string ¶meter) const
bool getIsocenterPosition(DCMTree::TreePtr item, std::string ¶meter) const
std::string getNominalBeamEnergyTag() const
bool getScanningSpotSize(unsigned long idx, float ¶meter) const
bool getScanSpotMetersetWeights(unsigned long idx, float ¶meter) const
bool setHeadFixationAngle(unsigned long idx, float parameter)
bool setTableTopPitchRotationDirection(unsigned long idx, std::string parameter)
bool setPatientSupportAngle(unsigned long idx, std::string parameter)
bool getScanningSpotSize(DCMTree::TreePtr item, float ¶meter) const
bool setIsocenterPosition(unsigned long idx, std::string parameter)
bool getGantryRotationDirection(DCMTree::TreePtr item, std::string ¶meter) const
bool setScanSpotPositionMap(unsigned long idx, float parameter)
std::string getGantryPitchRotationDirectionTag() const
bool getNumberOfPaintings(unsigned long idx, std::string ¶meter) const
bool setPatientSupportRotationDirection(unsigned long idx, std::string parameter)
bool getGantryAngle(DCMTree::TreePtr item, std::string ¶meter) const
bool getControlPointIndex(DCMTree::TreePtr item, std::string ¶meter) const
std::string getSurfaceEntryPointTag() const
void setReferencedDoseReferenceSequence(DcmDRTReferencedDoseReferenceSequenceInRTIonBeamsModuleInterface seq, unsigned long idx)
std::string getReferencedDoseReferenceSequenceTag() const
void addItem(DcmDRTIonControlPointSequenceInterface::Item newItem)
bool getControlPointIndex(unsigned long idx, std::string ¶meter) const
bool getBeamLimitingDeviceRotationDirection(unsigned long idx, std::string ¶meter) const
bool getPatientSupportRotationDirection(DCMTree::TreePtr item, std::string ¶meter) const
std::string getTableTopRollRotationDirectionTag() const
std::string getTableTopLateralPositionTag() const
bool getTableTopPitchRotationDirection(DCMTree::TreePtr item, std::string ¶meter) const
std::string getControlPointIndexTag() const
bool getTableTopRollAngle(unsigned long idx, float ¶meter) const
bool setSnoutPosition(unsigned long idx, float parameter)
bool getSnoutPosition(unsigned long idx, float ¶meter) const
std::string getRangeShifterSettingsSequenceTag() const
MLint getNumberOfItems() const
Return number of items the internal sequence consists of.
bool getGantryAngle(unsigned long idx, std::string ¶meter) const
bool getTableTopRollRotationDirection(DCMTree::TreePtr item, std::string ¶meter) const
DcmDRTIonWedgePositionSequenceInterface getIonWedgePositionSequence(unsigned long idx) const
bool setGantryPitchAngle(unsigned long idx, float parameter)
std::string getGantryAngleTag() const
std::string getGantryRotationDirectionTag() const
bool setMetersetRate(unsigned long idx, float parameter)
bool getCumulativeMetersetWeight(unsigned long idx, std::string ¶meter) const
bool getGantryPitchRotationDirection(unsigned long idx, std::string ¶meter) const
std::string getNumberOfPaintingsTag() const
DcmDRTBeamLimitingDevicePositionSequenceInterface getBeamLimitingDevicePositionSequence(unsigned long idx) const
std::string getPatientSupportAngleTag() const
std::string getScanningSpotSizeTag() const
bool getTableTopLongitudinalPosition(DCMTree::TreePtr item, std::string ¶meter) const
bool getTableTopLongitudinalPosition(unsigned long idx, std::string ¶meter) const
bool setTableTopLateralPosition(unsigned long idx, std::string parameter)
bool getGantryRotationDirection(unsigned long idx, std::string ¶meter) const
bool setTableTopVerticalPosition(unsigned long idx, std::string parameter)
std::string getBeamLimitingDeviceRotationDirectionTag() const
std::vector< DcmDRTIonControlPointSequenceInterface::Item > getSequence() const
Return the DRTIonControlPointSequence this interface class provides access to.
std::string getSnoutPositionTag() const
bool setGantryRotationDirection(unsigned long idx, std::string parameter)
bool setControlPointIndex(unsigned long idx, std::string parameter)
std::string getScanSpotPositionMapTag() const
bool setScanningSpotSize(unsigned long idx, float parameter)
bool getScanSpotPositionMap(unsigned long idx, float ¶meter) const
std::string getScanSpotTuneIDTag() const
std::string getBeamLimitingDevicePositionSequenceTag() const
DcmDRTReferencedDoseReferenceSequenceInRTIonBeamsModuleInterface getReferencedDoseReferenceSequence(unsigned long idx) const
DcmDRTRangeModulatorSettingsSequenceInRTIonBeamsModuleInterface getRangeModulatorSettingsSequence(unsigned long idx) const
std::string getIonWedgePositionSequenceTag() const
bool getMetersetRate(unsigned long idx, float ¶meter) const
bool getHeadFixationAngle(unsigned long idx, float ¶meter) const
bool getTableTopRollRotationDirection(unsigned long idx, std::string ¶meter) const
bool setTableTopPitchAngle(unsigned long idx, float parameter)
void setIonWedgePositionSequence(DcmDRTIonWedgePositionSequenceInterface seq, unsigned long idx)
bool setBeamLimitingDeviceAngle(unsigned long idx, std::string parameter)
std::string getGantryPitchAngleTag() const
bool setCumulativeMetersetWeight(unsigned long idx, std::string parameter)
std::string getMetersetRateTag() const
std::string getTableTopLongitudinalPositionTag() const
void setBeamLimitingDevicePositionSequence(DcmDRTBeamLimitingDevicePositionSequenceInterface seq, unsigned long idx)
bool getGantryPitchAngle(unsigned long idx, float ¶meter) const
bool getScanSpotMetersetWeights(DCMTree::TreePtr item, float ¶meter) const
bool setNumberOfPaintings(unsigned long idx, std::string parameter)
bool getGantryPitchRotationDirection(DCMTree::TreePtr item, std::string ¶meter) const
void setRangeModulatorSettingsSequence(DcmDRTRangeModulatorSettingsSequenceInRTIonBeamsModuleInterface seq, unsigned long idx)
bool setTableTopLongitudinalPosition(unsigned long idx, std::string parameter)
bool getTableTopRollAngle(DCMTree::TreePtr item, float ¶meter) const
bool getKVP(DCMTree::TreePtr item, std::string ¶meter) const
bool getTableTopPitchAngle(DCMTree::TreePtr item, float ¶meter) const
bool setNumberOfScanSpotPositions(unsigned long idx, std::string parameter)
std::string getLateralSpreadingDeviceSettingsSequenceTag() const
std::string getKVPTag() const
bool setNominalBeamEnergy(unsigned long idx, std::string parameter)
DcmDRTIonControlPointSequenceInterface()
DcmDRTLateralSpreadingDeviceSettingsSequenceInRTIonBeamsModuleInterface getLateralSpreadingDeviceSettingsSequence(unsigned long idx) const
bool getScanSpotPositionMap(DCMTree::TreePtr item, float ¶meter) const
bool setSurfaceEntryPoint(unsigned long idx, std::string parameter)
bool setGantryAngle(unsigned long idx, std::string parameter)
std::string getTableTopVerticalPositionTag() const
Class to provide access to DRTIonWedgePositionSequence.
Class to provide access to DRTLateralSpreadingDeviceSettingsSequenceInRTIonBeamsModule.
Class to provide access to DRTRangeModulatorSettingsSequenceInRTIonBeamsModule.
Class to provide access to DRTRangeShifterSettingsSequenceInRTIonBeamsModule.
Class to provide access to DRTReferencedDoseReferenceSequenceInRTIonBeamsModule.
Class to provide access to DRTBeamLimitingDevicePositionSequence.
Class to provide access to DRTIonWedgePositionSequence.
Class to provide access to DRTLateralSpreadingDeviceSettingsSequenceInRTIonBeamsModule.
Class to provide access to DRTRangeModulatorSettingsSequenceInRTIonBeamsModule.
Class to provide access to DRTRangeShifterSettingsSequenceInRTIonBeamsModule.
Class to provide access to DRTReferencedDoseReferenceSequenceInRTIonBeamsModule.
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