23#ifndef __mlDcmDRTBeamSequenceInterface_H
24#define __mlDcmDRTBeamSequenceInterface_H
44#ifndef __mlModuleIncludes_H
61 Item() { _dcmItem = DcmtkAccessories::createNewDicomTree(); }
73 bool isValid()
const {
return _dcmItem.get() !=
nullptr; }
492 std::vector<DcmDRTBeamSequenceInterface::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<DcmDRTBeamSequenceInterface::Item>::iterator
it = _itemVec.begin();
533 std::advance(
it,
idx);
543 if ( _itemVec.size() >
idx ) {
544 std::vector<DcmDRTBeamSequenceInterface::Item>::iterator
it = _itemVec.begin();
545 std::advance(
it,
idx);
554 std::vector<DcmDRTBeamSequenceInterface::Item>
_itemVec;
#define MLDCMTKACCESSORIES_EXPORT
Class to provide access to DRTApplicatorSequenceInRTBeamsModule.
Class to provide access to DRTBeamLimitingDeviceSequenceInRTBeamsModule.
bool getInstitutionalDepartmentName(std::string ¶meter) const
void setReferencedDoseSequence(DcmDRTReferencedDoseSequenceInterface seq)
std::string getSourceAxisDistanceTag() const
void setReferencedReferenceImageSequence(DcmDRTReferencedReferenceImageSequenceInRTBeamsModuleInterface seq)
std::string getFinalCumulativeMetersetWeightTag() const
bool getRadiationType(std::string ¶meter) const
void setCompensatorSequence(DcmDRTCompensatorSequenceInterface seq)
std::string getManufacturerModelNameTag() const
std::string getNumberOfBoliTag() const
DcmDRTReferencedReferenceImageSequenceInRTBeamsModuleInterface getReferencedReferenceImageSequence() const
bool setNumberOfBoli(std::string parameter)
bool setNumberOfControlPoints(std::string parameter)
bool getTreatmentMachineName(std::string ¶meter) const
std::string getNumberOfBlocksTag() const
void setWedgeSequence(DcmDRTWedgeSequenceInterface seq)
bool setTotalBlockTrayFactor(std::string parameter)
bool getDeviceSerialNumber(std::string ¶meter) const
bool setTotalCompensatorTrayFactor(std::string parameter)
bool setReferencedToleranceTableNumber(std::string parameter)
bool setManufacturer(std::string parameter)
bool getPrimaryDosimeterUnit(std::string ¶meter) const
std::string getReferencedPatientSetupNumberTag() const
std::string getReferencedReferenceImageSequenceTag() const
bool setNumberOfCompensators(std::string parameter)
std::string getManufacturerTag() const
bool setInstitutionAddress(std::string parameter)
bool setTreatmentMachineName(std::string parameter)
DcmDRTWedgeSequenceInterface getWedgeSequence() const
Item & operator=(const Item ©DcmItem)
std::string getPlannedVerificationImageSequenceTag() const
std::string getBeamNumberTag() const
std::string getHighDoseTechniqueTypeTag() const
void setReferencedBolusSequence(DcmDRTReferencedBolusSequenceInRTBeamsModuleInterface seq)
bool setInstitutionalDepartmentName(std::string parameter)
std::string getBlockSequenceTag() const
bool getNumberOfCompensators(std::string ¶meter) const
Item(DCMTree::TreePtr dcmItem)
bool getBeamName(std::string ¶meter) const
bool getBeamType(std::string ¶meter) const
bool setNumberOfWedges(std::string parameter)
void setBeamLimitingDeviceSequence(DcmDRTBeamLimitingDeviceSequenceInRTBeamsModuleInterface seq)
std::string getNumberOfCompensatorsTag() const
std::string getReferencedBolusSequenceTag() const
void setPlannedVerificationImageSequence(DcmDRTPlannedVerificationImageSequenceInterface seq)
bool getManufacturer(std::string ¶meter) const
bool getHighDoseTechniqueType(std::string ¶meter) const
std::string getTotalBlockTrayFactorTag() const
bool setReferencedPatientSetupNumber(std::string parameter)
bool setTreatmentDeliveryType(std::string parameter)
DcmDRTPlannedVerificationImageSequenceInterface getPlannedVerificationImageSequence() const
bool getReferencedPatientSetupNumber(std::string ¶meter) const
std::string getControlPointSequenceTag() const
std::string getRadiationTypeTag() const
std::string getTreatmentDeliveryTypeTag() const
bool setHighDoseTechniqueType(std::string parameter)
void setBlockSequence(DcmDRTBlockSequenceInRTBeamsModuleInterface seq)
bool setInstitutionName(std::string parameter)
bool getFinalCumulativeMetersetWeight(std::string ¶meter) const
bool setRadiationType(std::string parameter)
bool getNumberOfBoli(std::string ¶meter) const
bool setDeviceSerialNumber(std::string parameter)
DCMTree::TreePtr getTreePtr() const
bool setBeamName(std::string parameter)
std::string getTotalCompensatorTrayFactorTag() const
std::string getNumberOfControlPointsTag() const
bool setFinalCumulativeMetersetWeight(std::string parameter)
std::string getTreatmentMachineNameTag() const
bool setPrimaryDosimeterUnit(std::string parameter)
bool getBeamNumber(std::string ¶meter) const
std::string getApplicatorSequenceTag() const
bool setBeamNumber(std::string parameter)
std::string getDeviceSerialNumberTag() const
DcmDRTBlockSequenceInRTBeamsModuleInterface getBlockSequence() const
DcmDRTCompensatorSequenceInterface getCompensatorSequence() const
bool getNumberOfWedges(std::string ¶meter) const
bool getTreatmentDeliveryType(std::string ¶meter) const
bool getTotalBlockTrayFactor(std::string ¶meter) const
std::string getReferencedToleranceTableNumberTag() const
std::string getBeamTypeTag() const
bool setSourceAxisDistance(std::string parameter)
DcmDRTApplicatorSequenceInRTBeamsModuleInterface getApplicatorSequence() const
std::string getBeamLimitingDeviceSequenceTag() const
bool setBeamType(std::string parameter)
void setApplicatorSequence(DcmDRTApplicatorSequenceInRTBeamsModuleInterface seq)
bool setBeamDescription(std::string parameter)
DcmDRTReferencedBolusSequenceInRTBeamsModuleInterface getReferencedBolusSequence() const
std::string getCompensatorSequenceTag() const
std::string getBeamNameTag() const
std::string getNumberOfWedgesTag() const
bool getInstitutionName(std::string ¶meter) const
std::string getPrimaryDosimeterUnitTag() const
std::string getWedgeSequenceTag() const
bool getSourceAxisDistance(std::string ¶meter) const
bool getBeamDescription(std::string ¶meter) const
bool getNumberOfControlPoints(std::string ¶meter) const
bool getInstitutionAddress(std::string ¶meter) const
DcmDRTBeamLimitingDeviceSequenceInRTBeamsModuleInterface getBeamLimitingDeviceSequence() const
std::string getReferencedDoseSequenceTag() const
bool getManufacturerModelName(std::string ¶meter) const
Item(const Item ©DcmItem)
std::string getBeamDescriptionTag() const
DcmDRTReferencedDoseSequenceInterface getReferencedDoseSequence() const
bool getNumberOfBlocks(std::string ¶meter) const
std::string getInstitutionAddressTag() const
std::string getInstitutionalDepartmentNameTag() const
bool setNumberOfBlocks(std::string parameter)
DcmDRTControlPointSequenceInterface getControlPointSequence() const
bool getReferencedToleranceTableNumber(std::string ¶meter) const
std::string getInstitutionNameTag() const
void setControlPointSequence(DcmDRTControlPointSequenceInterface seq)
bool getTotalCompensatorTrayFactor(std::string ¶meter) const
bool setManufacturerModelName(std::string parameter)
Class to provide access to DRTBeamSequence.
bool getNumberOfBoli(DCMTree::TreePtr item, std::string ¶meter) const
std::string getNumberOfBoliTag() const
bool getBeamName(DCMTree::TreePtr item, std::string ¶meter) const
std::string getTotalCompensatorTrayFactorTag() const
bool getHighDoseTechniqueType(DCMTree::TreePtr item, std::string ¶meter) const
std::string getTreatmentDeliveryTypeTag() const
bool getReferencedToleranceTableNumber(unsigned long idx, std::string ¶meter) const
std::string getApplicatorSequenceTag() const
bool getInstitutionName(DCMTree::TreePtr item, std::string ¶meter) const
DcmDRTPlannedVerificationImageSequenceInterface getPlannedVerificationImageSequence(unsigned long idx) const
DcmDRTCompensatorSequenceInterface getCompensatorSequence(unsigned long idx) const
bool getTotalCompensatorTrayFactor(DCMTree::TreePtr item, std::string ¶meter) const
bool getBeamDescription(unsigned long idx, std::string ¶meter) const
std::string getNumberOfControlPointsTag() const
std::string getTreatmentMachineNameTag() const
bool getBeamDescription(DCMTree::TreePtr item, std::string ¶meter) const
DcmDRTBeamSequenceInterface(std::vector< DcmDRTBeamSequenceInterface::Item > dcmSequence)
Default Constructor.
std::string getHighDoseTechniqueTypeTag() const
void setApplicatorSequence(DcmDRTApplicatorSequenceInRTBeamsModuleInterface seq, unsigned long idx)
std::string getBeamLimitingDeviceSequenceTag() const
std::string getReferencedToleranceTableNumberTag() const
std::string getFinalCumulativeMetersetWeightTag() const
bool getBeamType(unsigned long idx, std::string ¶meter) const
std::string getNumberOfBlocksTag() const
bool getInstitutionalDepartmentName(DCMTree::TreePtr item, std::string ¶meter) const
bool getManufacturerModelName(DCMTree::TreePtr item, std::string ¶meter) const
bool getNumberOfWedges(DCMTree::TreePtr item, std::string ¶meter) const
std::string getBeamDescriptionTag() const
bool getTreatmentDeliveryType(DCMTree::TreePtr item, std::string ¶meter) const
bool setInstitutionName(unsigned long idx, std::string parameter)
DcmDRTReferencedBolusSequenceInRTBeamsModuleInterface getReferencedBolusSequence(unsigned long idx) const
bool setNumberOfBoli(unsigned long idx, std::string parameter)
bool setTotalBlockTrayFactor(unsigned long idx, std::string parameter)
bool getInstitutionName(unsigned long idx, std::string ¶meter) const
bool getSourceAxisDistance(unsigned long idx, std::string ¶meter) const
void setReferencedDoseSequence(DcmDRTReferencedDoseSequenceInterface seq, unsigned long idx)
bool getManufacturer(DCMTree::TreePtr item, std::string ¶meter) const
DcmDRTApplicatorSequenceInRTBeamsModuleInterface getApplicatorSequence(unsigned long idx) const
std::string getInstitutionNameTag() const
void setBlockSequence(DcmDRTBlockSequenceInRTBeamsModuleInterface seq, unsigned long idx)
DcmDRTReferencedReferenceImageSequenceInRTBeamsModuleInterface getReferencedReferenceImageSequence(unsigned long idx) const
bool setRadiationType(unsigned long idx, std::string parameter)
std::string getReferencedBolusSequenceTag() const
bool getReferencedPatientSetupNumber(unsigned long idx, std::string ¶meter) const
MLint getNumberOfItems() const
Return number of items the internal sequence consists of.
bool getNumberOfBlocks(DCMTree::TreePtr item, std::string ¶meter) const
bool getNumberOfCompensators(DCMTree::TreePtr item, std::string ¶meter) const
bool getManufacturerModelName(unsigned long idx, std::string ¶meter) const
bool getNumberOfControlPoints(DCMTree::TreePtr item, std::string ¶meter) const
bool getDeviceSerialNumber(unsigned long idx, std::string ¶meter) const
virtual ~DcmDRTBeamSequenceInterface()
Default virtual Destructor.
bool getNumberOfCompensators(unsigned long idx, std::string ¶meter) const
bool getTotalCompensatorTrayFactor(unsigned long idx, std::string ¶meter) const
void setWedgeSequence(DcmDRTWedgeSequenceInterface seq, unsigned long idx)
std::string getCompensatorSequenceTag() const
bool getBeamNumber(DCMTree::TreePtr item, std::string ¶meter) const
void setReferencedBolusSequence(DcmDRTReferencedBolusSequenceInRTBeamsModuleInterface seq, unsigned long idx)
bool setInstitutionalDepartmentName(unsigned long idx, std::string parameter)
bool setNumberOfControlPoints(unsigned long idx, std::string parameter)
bool setNumberOfWedges(unsigned long idx, std::string parameter)
bool setPrimaryDosimeterUnit(unsigned long idx, std::string parameter)
void setBeamLimitingDeviceSequence(DcmDRTBeamLimitingDeviceSequenceInRTBeamsModuleInterface seq, unsigned long idx)
void setCompensatorSequence(DcmDRTCompensatorSequenceInterface seq, unsigned long idx)
bool hasSequence() const
Check if the DRTBeamSequence is set.
void addItem(DcmDRTBeamSequenceInterface::Item newItem)
bool getRadiationType(unsigned long idx, std::string ¶meter) const
bool getNumberOfControlPoints(unsigned long idx, std::string ¶meter) const
bool setReferencedToleranceTableNumber(unsigned long idx, std::string parameter)
bool setManufacturer(unsigned long idx, std::string parameter)
std::string getControlPointSequenceTag() const
bool getNumberOfBoli(unsigned long idx, std::string ¶meter) const
std::string getBeamNameTag() const
std::string getBeamNumberTag() const
bool getFinalCumulativeMetersetWeight(unsigned long idx, std::string ¶meter) const
std::string getSourceAxisDistanceTag() const
DcmDRTControlPointSequenceInterface getControlPointSequence(unsigned long idx) const
std::string getTotalBlockTrayFactorTag() const
bool setDeviceSerialNumber(unsigned long idx, std::string parameter)
bool setBeamName(unsigned long idx, std::string parameter)
std::string getReferencedPatientSetupNumberTag() const
std::string getPrimaryDosimeterUnitTag() const
bool getFinalCumulativeMetersetWeight(DCMTree::TreePtr item, std::string ¶meter) const
std::string getManufacturerTag() const
bool setNumberOfCompensators(unsigned long idx, std::string parameter)
std::string getBeamTypeTag() const
DcmDRTBeamLimitingDeviceSequenceInRTBeamsModuleInterface getBeamLimitingDeviceSequence(unsigned long idx) const
bool setHighDoseTechniqueType(unsigned long idx, std::string parameter)
bool getTreatmentMachineName(unsigned long idx, std::string ¶meter) const
bool getTotalBlockTrayFactor(DCMTree::TreePtr item, std::string ¶meter) const
std::string getManufacturerModelNameTag() const
DcmDRTBlockSequenceInRTBeamsModuleInterface getBlockSequence(unsigned long idx) const
bool getBeamNumber(unsigned long idx, std::string ¶meter) const
bool getReferencedToleranceTableNumber(DCMTree::TreePtr item, std::string ¶meter) const
bool removeItem(const size_t idx)
Removes the indicated item from the sequence.
bool getManufacturer(unsigned long idx, std::string ¶meter) const
bool getReferencedPatientSetupNumber(DCMTree::TreePtr item, std::string ¶meter) const
DcmDRTBeamSequenceInterface(DCMTree::TreePtrVector treePtrSeq)
bool getRadiationType(DCMTree::TreePtr item, std::string ¶meter) const
DcmDRTBeamSequenceInterface::Item getItem(const size_t idx) const
Gets the item at the indicated position.
bool getBeamType(DCMTree::TreePtr item, std::string ¶meter) const
std::vector< DcmDRTBeamSequenceInterface::Item > getSequence() const
Return the DRTBeamSequence this interface class provides access to.
DcmDRTWedgeSequenceInterface getWedgeSequence(unsigned long idx) const
bool getDeviceSerialNumber(DCMTree::TreePtr item, std::string ¶meter) const
std::string getReferencedReferenceImageSequenceTag() const
bool setManufacturerModelName(unsigned long idx, std::string parameter)
bool setInstitutionAddress(unsigned long idx, std::string parameter)
void setSequence(std::vector< DcmDRTBeamSequenceInterface::Item > dcmSequence)
Set the DRTBeamSequence this interface class provides access to.
std::string getBlockSequenceTag() const
bool setSourceAxisDistance(unsigned long idx, std::string parameter)
bool setNumberOfBlocks(unsigned long idx, std::string parameter)
bool getBeamName(unsigned long idx, std::string ¶meter) const
void setControlPointSequence(DcmDRTControlPointSequenceInterface seq, unsigned long idx)
std::string getNumberOfCompensatorsTag() const
std::string getPlannedVerificationImageSequenceTag() const
bool getPrimaryDosimeterUnit(unsigned long idx, std::string ¶meter) const
void setPlannedVerificationImageSequence(DcmDRTPlannedVerificationImageSequenceInterface seq, unsigned long idx)
bool getTreatmentMachineName(DCMTree::TreePtr item, std::string ¶meter) const
std::string getInstitutionalDepartmentNameTag() const
bool getNumberOfWedges(unsigned long idx, std::string ¶meter) const
bool setTreatmentMachineName(unsigned long idx, std::string parameter)
bool setTotalCompensatorTrayFactor(unsigned long idx, std::string parameter)
bool setBeamNumber(unsigned long idx, std::string parameter)
bool setFinalCumulativeMetersetWeight(unsigned long idx, std::string parameter)
bool setBeamDescription(unsigned long idx, std::string parameter)
DcmDRTBeamSequenceInterface::Item & addItem()
Adds a new item to the sequence.
std::string getNumberOfWedgesTag() const
bool getInstitutionAddress(DCMTree::TreePtr item, std::string ¶meter) const
bool getTotalBlockTrayFactor(unsigned long idx, std::string ¶meter) const
bool getNumberOfBlocks(unsigned long idx, std::string ¶meter) const
bool getHighDoseTechniqueType(unsigned long idx, std::string ¶meter) const
std::string getDeviceSerialNumberTag() const
bool getPrimaryDosimeterUnit(DCMTree::TreePtr item, std::string ¶meter) const
std::string getWedgeSequenceTag() const
bool getTreatmentDeliveryType(unsigned long idx, std::string ¶meter) const
std::string getRadiationTypeTag() const
bool getSourceAxisDistance(DCMTree::TreePtr item, std::string ¶meter) const
std::string getInstitutionAddressTag() const
DcmDRTBeamSequenceInterface()
DcmDRTReferencedDoseSequenceInterface getReferencedDoseSequence(unsigned long idx) const
bool setReferencedPatientSetupNumber(unsigned long idx, std::string parameter)
bool setTreatmentDeliveryType(unsigned long idx, std::string parameter)
std::string getReferencedDoseSequenceTag() const
bool getInstitutionalDepartmentName(unsigned long idx, std::string ¶meter) const
std::vector< DcmDRTBeamSequenceInterface::Item > _itemVec
Reference to the wrapped DICOM tree pointer vector.
void setReferencedReferenceImageSequence(DcmDRTReferencedReferenceImageSequenceInRTBeamsModuleInterface seq, unsigned long idx)
bool setBeamType(unsigned long idx, std::string parameter)
bool getInstitutionAddress(unsigned long idx, std::string ¶meter) const
bool insertItem(const size_t idx)
Insert an item at the indicated position.
Class to provide access to DRTBlockSequenceInRTBeamsModule.
Class to provide access to DRTCompensatorSequence.
Class to provide access to DRTControlPointSequence.
Class to provide access to DRTPlannedVerificationImageSequence.
Class to provide access to DRTReferencedBolusSequenceInRTBeamsModule.
Class to provide access to DRTReferencedDoseSequence.
Class to provide access to DRTReferencedReferenceImageSequenceInRTBeamsModule.
Class to provide access to DRTWedgeSequence.
Class to provide access to DRTApplicatorSequenceInRTBeamsModule.
Class to provide access to DRTBeamLimitingDeviceSequenceInRTBeamsModule.
Class to provide access to DRTBlockSequenceInRTBeamsModule.
Class to provide access to DRTCompensatorSequence.
Class to provide access to DRTControlPointSequence.
Class to provide access to DRTPlannedVerificationImageSequence.
Class to provide access to DRTReferencedBolusSequenceInRTBeamsModule.
Class to provide access to DRTReferencedDoseSequence.
Class to provide access to DRTReferencedReferenceImageSequenceInRTBeamsModule.
Class to provide access to DRTWedgeSequence.
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