23#ifndef __mlDcmDRTControlPointSequenceInterface_H
24#define __mlDcmDRTControlPointSequenceInterface_H
38#ifndef __mlModuleIncludes_H
55 Item() { _dcmItem = DcmtkAccessories::createNewDicomTree(); }
67 bool isValid()
const {
return _dcmItem.get() !=
nullptr; }
371 std::vector<DcmDRTControlPointSequenceInterface::Item>
getSequence()
const {
378 return (_itemVec.size() != 0);
384 return static_cast<MLint>(_itemVec.size());
390 if (_itemVec.size() >
idx) {
391 return _itemVec[
idx];
400 return _itemVec[_itemVec.size()-1];
410 if (_itemVec.size() >
idx) {
411 std::vector<DcmDRTControlPointSequenceInterface::Item>::iterator
it = _itemVec.begin();
412 std::advance(
it,
idx);
422 if ( _itemVec.size() >
idx ) {
423 std::vector<DcmDRTControlPointSequenceInterface::Item>::iterator
it = _itemVec.begin();
424 std::advance(
it,
idx);
433 std::vector<DcmDRTControlPointSequenceInterface::Item>
_itemVec;
#define MLDCMTKACCESSORIES_EXPORT
Class to provide access to DRTBeamLimitingDevicePositionSequence.
void setWedgePositionSequence(DcmDRTWedgePositionSequenceInterface seq)
bool setControlPointIndex(std::string parameter)
bool setTableTopEccentricRotationDirection(std::string parameter)
bool setSourceToSurfaceDistance(std::string parameter)
std::string getDoseRateSetTag() const
std::string getControlPointIndexTag() const
bool getTableTopEccentricAxisDistance(std::string ¶meter) const
bool getPatientSupportRotationDirection(std::string ¶meter) const
std::string getReferencedDoseReferenceSequenceTag() const
bool getGantryAngle(std::string ¶meter) const
DcmDRTReferencedDoseReferenceSequenceInRTBeamsModuleInterface getReferencedDoseReferenceSequence() const
bool getGantryPitchRotationDirection(std::string ¶meter) const
bool getGantryPitchAngle(float ¶meter) const
std::string getReferencedDoseSequenceTag() const
std::string getPatientSupportRotationDirectionTag() const
void setReferencedDoseReferenceSequence(DcmDRTReferencedDoseReferenceSequenceInRTBeamsModuleInterface seq)
std::string getTableTopEccentricAngleTag() const
bool setGantryPitchAngle(float parameter)
bool setTableTopLateralPosition(std::string parameter)
std::string getGantryAngleTag() const
Item(const Item ©DcmItem)
bool getTableTopVerticalPosition(std::string ¶meter) const
std::string getCumulativeMetersetWeightTag() const
std::string getBeamLimitingDevicePositionSequenceTag() const
bool setGantryPitchRotationDirection(std::string parameter)
std::string getTableTopEccentricRotationDirectionTag() const
std::string getPatientSupportAngleTag() const
std::string getSourceToSurfaceDistanceTag() const
DcmDRTWedgePositionSequenceInterface getWedgePositionSequence() const
bool getTableTopLateralPosition(std::string ¶meter) const
bool setPatientSupportRotationDirection(std::string parameter)
DcmDRTReferencedDoseSequenceInterface getReferencedDoseSequence() const
std::string getNominalBeamEnergyTag() const
std::string getIsocenterPositionTag() const
bool getPatientSupportAngle(std::string ¶meter) const
bool getTableTopEccentricRotationDirection(std::string ¶meter) const
bool getIsocenterPosition(std::string ¶meter) const
Item & operator=(const Item ©DcmItem)
std::string getTableTopLongitudinalPositionTag() const
bool getTableTopLongitudinalPosition(std::string ¶meter) const
std::string getBeamLimitingDeviceAngleTag() const
std::string getWedgePositionSequenceTag() const
std::string getBeamLimitingDeviceRotationDirectionTag() const
bool setGantryRotationDirection(std::string parameter)
std::string getSurfaceEntryPointTag() const
bool getNominalBeamEnergy(std::string ¶meter) const
DCMTree::TreePtr getTreePtr() const
std::string getTableTopEccentricAxisDistanceTag() const
bool setTableTopEccentricAxisDistance(std::string parameter)
bool setDoseRateSet(std::string parameter)
bool setBeamLimitingDeviceAngle(std::string parameter)
bool setTableTopVerticalPosition(std::string parameter)
std::string getGantryPitchAngleTag() const
bool setBeamLimitingDeviceRotationDirection(std::string parameter)
Item(DCMTree::TreePtr dcmItem)
bool getControlPointIndex(std::string ¶meter) const
bool setCumulativeMetersetWeight(std::string parameter)
bool getBeamLimitingDeviceAngle(std::string ¶meter) const
bool getGantryRotationDirection(std::string ¶meter) const
bool setNominalBeamEnergy(std::string parameter)
std::string getGantryRotationDirectionTag() const
DcmDRTBeamLimitingDevicePositionSequenceInterface getBeamLimitingDevicePositionSequence() const
bool getTableTopEccentricAngle(std::string ¶meter) const
bool setSurfaceEntryPoint(std::string parameter)
bool setTableTopLongitudinalPosition(std::string parameter)
std::string getTableTopVerticalPositionTag() const
bool getDoseRateSet(std::string ¶meter) const
bool setTableTopEccentricAngle(std::string parameter)
std::string getGantryPitchRotationDirectionTag() const
bool setPatientSupportAngle(std::string parameter)
bool getCumulativeMetersetWeight(std::string ¶meter) const
bool getSurfaceEntryPoint(std::string ¶meter) const
void setBeamLimitingDevicePositionSequence(DcmDRTBeamLimitingDevicePositionSequenceInterface seq)
bool getSourceToSurfaceDistance(std::string ¶meter) const
void setReferencedDoseSequence(DcmDRTReferencedDoseSequenceInterface seq)
bool getBeamLimitingDeviceRotationDirection(std::string ¶meter) const
bool setGantryAngle(std::string parameter)
bool setIsocenterPosition(std::string parameter)
std::string getTableTopLateralPositionTag() const
Class to provide access to DRTControlPointSequence.
std::string getGantryAngleTag() const
void setWedgePositionSequence(DcmDRTWedgePositionSequenceInterface seq, unsigned long idx)
std::string getGantryPitchAngleTag() const
std::vector< DcmDRTControlPointSequenceInterface::Item > getSequence() const
Return the DRTControlPointSequence this interface class provides access to.
std::string getCumulativeMetersetWeightTag() const
bool getTableTopLateralPosition(DCMTree::TreePtr item, std::string ¶meter) const
std::string getBeamLimitingDeviceAngleTag() const
DcmDRTControlPointSequenceInterface(std::vector< DcmDRTControlPointSequenceInterface::Item > dcmSequence)
Default Constructor.
bool removeItem(const size_t idx)
Removes the indicated item from the sequence.
bool insertItem(const size_t idx)
Insert an item at the indicated position.
std::string getTableTopLongitudinalPositionTag() const
DcmDRTWedgePositionSequenceInterface getWedgePositionSequence(unsigned long idx) const
DcmDRTBeamLimitingDevicePositionSequenceInterface getBeamLimitingDevicePositionSequence(unsigned long idx) const
std::string getGantryPitchRotationDirectionTag() const
bool getGantryPitchAngle(DCMTree::TreePtr item, float ¶meter) const
std::string getPatientSupportAngleTag() const
std::string getSourceToSurfaceDistanceTag() const
bool getBeamLimitingDeviceAngle(DCMTree::TreePtr item, std::string ¶meter) const
bool setTableTopLateralPosition(unsigned long idx, std::string parameter)
bool setPatientSupportAngle(unsigned long idx, std::string parameter)
virtual ~DcmDRTControlPointSequenceInterface()
Default virtual Destructor.
bool getGantryPitchRotationDirection(DCMTree::TreePtr item, std::string ¶meter) const
bool getTableTopEccentricAxisDistance(unsigned long idx, std::string ¶meter) const
void setReferencedDoseSequence(DcmDRTReferencedDoseSequenceInterface seq, unsigned long idx)
bool getPatientSupportRotationDirection(unsigned long idx, std::string ¶meter) const
bool getControlPointIndex(unsigned long idx, std::string ¶meter) const
bool setTableTopVerticalPosition(unsigned long idx, std::string parameter)
bool getPatientSupportAngle(unsigned long idx, std::string ¶meter) const
bool getNominalBeamEnergy(DCMTree::TreePtr item, std::string ¶meter) const
bool setTableTopEccentricAngle(unsigned long idx, std::string parameter)
bool getTableTopVerticalPosition(DCMTree::TreePtr item, std::string ¶meter) const
bool getTableTopVerticalPosition(unsigned long idx, std::string ¶meter) const
bool setControlPointIndex(unsigned long idx, std::string parameter)
bool getSurfaceEntryPoint(unsigned long idx, std::string ¶meter) const
std::string getNominalBeamEnergyTag() const
bool getTableTopEccentricRotationDirection(DCMTree::TreePtr item, std::string ¶meter) const
std::string getReferencedDoseSequenceTag() const
bool getTableTopLateralPosition(unsigned long idx, std::string ¶meter) const
bool setTableTopLongitudinalPosition(unsigned long idx, std::string parameter)
bool getTableTopEccentricAngle(DCMTree::TreePtr item, std::string ¶meter) const
bool getBeamLimitingDeviceRotationDirection(unsigned long idx, std::string ¶meter) const
bool getGantryAngle(DCMTree::TreePtr item, std::string ¶meter) const
std::string getPatientSupportRotationDirectionTag() const
std::string getBeamLimitingDeviceRotationDirectionTag() const
bool setTableTopEccentricRotationDirection(unsigned long idx, std::string parameter)
bool getGantryAngle(unsigned long idx, std::string ¶meter) const
bool setNominalBeamEnergy(unsigned long idx, std::string parameter)
MLint getNumberOfItems() const
Return number of items the internal sequence consists of.
DcmDRTControlPointSequenceInterface(DCMTree::TreePtrVector treePtrSeq)
bool getSourceToSurfaceDistance(unsigned long idx, std::string ¶meter) const
DcmDRTReferencedDoseReferenceSequenceInRTBeamsModuleInterface getReferencedDoseReferenceSequence(unsigned long idx) const
bool setPatientSupportRotationDirection(unsigned long idx, std::string parameter)
bool getPatientSupportAngle(DCMTree::TreePtr item, std::string ¶meter) const
bool setGantryPitchRotationDirection(unsigned long idx, std::string parameter)
std::vector< DcmDRTControlPointSequenceInterface::Item > _itemVec
Reference to the wrapped DICOM tree pointer vector.
std::string getTableTopEccentricAxisDistanceTag() const
bool getGantryPitchAngle(unsigned long idx, float ¶meter) const
std::string getControlPointIndexTag() const
bool getTableTopLongitudinalPosition(unsigned long idx, std::string ¶meter) const
std::string getBeamLimitingDevicePositionSequenceTag() const
std::string getTableTopVerticalPositionTag() const
bool setSourceToSurfaceDistance(unsigned long idx, std::string parameter)
bool getCumulativeMetersetWeight(DCMTree::TreePtr item, std::string ¶meter) const
bool setTableTopEccentricAxisDistance(unsigned long idx, std::string parameter)
bool getControlPointIndex(DCMTree::TreePtr item, std::string ¶meter) const
bool setGantryAngle(unsigned long idx, std::string parameter)
bool setDoseRateSet(unsigned long idx, std::string parameter)
void setBeamLimitingDevicePositionSequence(DcmDRTBeamLimitingDevicePositionSequenceInterface seq, unsigned long idx)
bool getPatientSupportRotationDirection(DCMTree::TreePtr item, std::string ¶meter) const
bool setGantryPitchAngle(unsigned long idx, float parameter)
bool setCumulativeMetersetWeight(unsigned long idx, std::string parameter)
std::string getSurfaceEntryPointTag() const
bool getDoseRateSet(unsigned long idx, std::string ¶meter) const
bool getBeamLimitingDeviceAngle(unsigned long idx, std::string ¶meter) const
std::string getTableTopLateralPositionTag() const
bool getGantryRotationDirection(unsigned long idx, std::string ¶meter) const
void setReferencedDoseReferenceSequence(DcmDRTReferencedDoseReferenceSequenceInRTBeamsModuleInterface seq, unsigned long idx)
std::string getIsocenterPositionTag() const
bool getNominalBeamEnergy(unsigned long idx, std::string ¶meter) const
bool hasSequence() const
Check if the DRTControlPointSequence is set.
bool getTableTopEccentricRotationDirection(unsigned long idx, std::string ¶meter) const
DcmDRTControlPointSequenceInterface::Item & addItem()
Adds a new item to the sequence.
void addItem(DcmDRTControlPointSequenceInterface::Item newItem)
bool getSourceToSurfaceDistance(DCMTree::TreePtr item, std::string ¶meter) const
std::string getTableTopEccentricRotationDirectionTag() const
bool setBeamLimitingDeviceRotationDirection(unsigned long idx, std::string parameter)
DcmDRTControlPointSequenceInterface()
std::string getWedgePositionSequenceTag() const
bool getTableTopEccentricAxisDistance(DCMTree::TreePtr item, std::string ¶meter) const
bool getIsocenterPosition(unsigned long idx, std::string ¶meter) const
void setSequence(std::vector< DcmDRTControlPointSequenceInterface::Item > dcmSequence)
Set the DRTControlPointSequence this interface class provides access to.
std::string getDoseRateSetTag() const
bool getIsocenterPosition(DCMTree::TreePtr item, std::string ¶meter) const
DcmDRTReferencedDoseSequenceInterface getReferencedDoseSequence(unsigned long idx) const
DcmDRTControlPointSequenceInterface::Item getItem(const size_t idx) const
Gets the item at the indicated position.
std::string getGantryRotationDirectionTag() const
bool getSurfaceEntryPoint(DCMTree::TreePtr item, std::string ¶meter) const
bool getGantryRotationDirection(DCMTree::TreePtr item, std::string ¶meter) const
bool getCumulativeMetersetWeight(unsigned long idx, std::string ¶meter) const
bool setGantryRotationDirection(unsigned long idx, std::string parameter)
bool setSurfaceEntryPoint(unsigned long idx, std::string parameter)
std::string getTableTopEccentricAngleTag() const
bool getTableTopEccentricAngle(unsigned long idx, std::string ¶meter) const
bool setIsocenterPosition(unsigned long idx, std::string parameter)
bool getDoseRateSet(DCMTree::TreePtr item, std::string ¶meter) const
bool setBeamLimitingDeviceAngle(unsigned long idx, std::string parameter)
bool getBeamLimitingDeviceRotationDirection(DCMTree::TreePtr item, std::string ¶meter) const
bool getTableTopLongitudinalPosition(DCMTree::TreePtr item, std::string ¶meter) const
std::string getReferencedDoseReferenceSequenceTag() const
bool getGantryPitchRotationDirection(unsigned long idx, std::string ¶meter) const
Class to provide access to DRTReferencedDoseReferenceSequenceInRTBeamsModule.
Class to provide access to DRTReferencedDoseSequence.
Class to provide access to DRTWedgePositionSequence.
Class to provide access to DRTBeamLimitingDevicePositionSequence.
Class to provide access to DRTReferencedDoseReferenceSequenceInRTBeamsModule.
Class to provide access to DRTReferencedDoseSequence.
Class to provide access to DRTWedgePositionSequence.
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