23#ifndef __mlDcmDRTDoseReferenceSequenceInterface_H
24#define __mlDcmDRTDoseReferenceSequenceInterface_H
34#ifndef __mlModuleIncludes_H
51 Item() { _dcmItem = DcmtkAccessories::createNewDicomTree(); }
63 bool isValid()
const {
return _dcmItem.get() !=
nullptr; }
305 std::vector<DcmDRTDoseReferenceSequenceInterface::Item>
getSequence()
const {
312 return (_itemVec.size() != 0);
318 return static_cast<MLint>(_itemVec.size());
324 if (_itemVec.size() >
idx) {
325 return _itemVec[
idx];
334 return _itemVec[_itemVec.size()-1];
344 if (_itemVec.size() >
idx) {
345 std::vector<DcmDRTDoseReferenceSequenceInterface::Item>::iterator
it = _itemVec.begin();
346 std::advance(
it,
idx);
356 if ( _itemVec.size() >
idx ) {
357 std::vector<DcmDRTDoseReferenceSequenceInterface::Item>::iterator
it = _itemVec.begin();
358 std::advance(
it,
idx);
367 std::vector<DcmDRTDoseReferenceSequenceInterface::Item>
_itemVec;
#define MLDCMTKACCESSORIES_EXPORT
bool getReferencedROINumber(std::string ¶meter) const
std::string getDoseReferenceNumberTag() const
bool getDoseReferenceDescription(std::string ¶meter) const
bool getDoseReferenceType(std::string ¶meter) const
bool setConstraintWeight(std::string parameter)
std::string getDeliveryMaximumDoseTag() const
bool setDoseReferenceNumber(std::string parameter)
std::string getDoseReferenceStructureTypeTag() const
std::string getTargetMinimumDoseTag() const
std::string getOrganAtRiskFullVolumeDoseTag() const
Item(const Item ©DcmItem)
bool setTargetMinimumDose(std::string parameter)
bool getTargetMinimumDose(std::string ¶meter) const
bool getDoseReferenceNumber(std::string ¶meter) const
bool setDoseReferenceDescription(std::string parameter)
std::string getDoseReferencePointCoordinatesTag() const
bool getConstraintWeight(std::string ¶meter) const
bool getDoseReferenceStructureType(std::string ¶meter) const
DCMTree::TreePtr getTreePtr() const
bool setTargetUnderdoseVolumeFraction(std::string parameter)
bool getDeliveryWarningDose(std::string ¶meter) const
std::string getDoseReferenceDescriptionTag() const
bool setOrganAtRiskFullVolumeDose(std::string parameter)
bool setOrganAtRiskOverdoseVolumeFraction(std::string parameter)
bool setReferencedROINumber(std::string parameter)
Item & operator=(const Item ©DcmItem)
std::string getDoseReferenceTypeTag() const
std::string getDoseReferenceUIDTag() const
bool getOrganAtRiskLimitDose(std::string ¶meter) const
bool setDoseReferenceType(std::string parameter)
bool getNominalPriorDose(std::string ¶meter) const
bool getDoseReferenceUID(std::string ¶meter) const
std::string getTargetPrescriptionDoseTag() const
std::string getTargetMaximumDoseTag() const
std::string getConstraintWeightTag() const
bool getDeliveryMaximumDose(std::string ¶meter) const
std::string getReferencedROINumberTag() const
bool getTargetUnderdoseVolumeFraction(std::string ¶meter) const
std::string getNominalPriorDoseTag() const
std::string getOrganAtRiskOverdoseVolumeFractionTag() const
bool setOrganAtRiskMaximumDose(std::string parameter)
std::string getOrganAtRiskLimitDoseTag() const
bool getOrganAtRiskOverdoseVolumeFraction(std::string ¶meter) const
bool getTargetPrescriptionDose(std::string ¶meter) const
bool setTargetPrescriptionDose(std::string parameter)
bool setDeliveryMaximumDose(std::string parameter)
bool setDeliveryWarningDose(std::string parameter)
bool getOrganAtRiskFullVolumeDose(std::string ¶meter) const
bool setDoseReferencePointCoordinates(std::string parameter)
bool setDoseReferenceStructureType(std::string parameter)
bool getDoseReferencePointCoordinates(std::string ¶meter) const
std::string getDeliveryWarningDoseTag() const
std::string getOrganAtRiskMaximumDoseTag() const
bool setOrganAtRiskLimitDose(std::string parameter)
std::string getTargetUnderdoseVolumeFractionTag() const
bool getOrganAtRiskMaximumDose(std::string ¶meter) const
bool getTargetMaximumDose(std::string ¶meter) const
bool setNominalPriorDose(std::string parameter)
bool setTargetMaximumDose(std::string parameter)
bool setDoseReferenceUID(std::string parameter)
Item(DCMTree::TreePtr dcmItem)
Class to provide access to DRTDoseReferenceSequence.
bool getTargetPrescriptionDose(DCMTree::TreePtr item, std::string ¶meter) const
bool setTargetMaximumDose(unsigned long idx, std::string parameter)
DcmDRTDoseReferenceSequenceInterface(std::vector< DcmDRTDoseReferenceSequenceInterface::Item > dcmSequence)
Default Constructor.
std::string getDoseReferenceDescriptionTag() const
std::string getTargetPrescriptionDoseTag() const
bool getOrganAtRiskLimitDose(unsigned long idx, std::string ¶meter) const
bool insertItem(const size_t idx)
Insert an item at the indicated position.
std::string getDoseReferenceUIDTag() const
MLint getNumberOfItems() const
Return number of items the internal sequence consists of.
bool setDoseReferenceNumber(unsigned long idx, std::string parameter)
bool getTargetMaximumDose(DCMTree::TreePtr item, std::string ¶meter) const
bool getNominalPriorDose(DCMTree::TreePtr item, std::string ¶meter) const
bool getOrganAtRiskFullVolumeDose(unsigned long idx, std::string ¶meter) const
bool getDeliveryWarningDose(DCMTree::TreePtr item, std::string ¶meter) const
bool getDoseReferenceType(DCMTree::TreePtr item, std::string ¶meter) const
bool getNominalPriorDose(unsigned long idx, std::string ¶meter) const
std::string getOrganAtRiskLimitDoseTag() const
bool setOrganAtRiskLimitDose(unsigned long idx, std::string parameter)
bool getDoseReferencePointCoordinates(unsigned long idx, std::string ¶meter) const
virtual ~DcmDRTDoseReferenceSequenceInterface()
Default virtual Destructor.
bool getDoseReferenceNumber(unsigned long idx, std::string ¶meter) const
std::string getOrganAtRiskFullVolumeDoseTag() const
bool getDoseReferenceDescription(DCMTree::TreePtr item, std::string ¶meter) const
bool removeItem(const size_t idx)
Removes the indicated item from the sequence.
bool getConstraintWeight(unsigned long idx, std::string ¶meter) const
bool getOrganAtRiskOverdoseVolumeFraction(unsigned long idx, std::string ¶meter) const
bool getDoseReferenceStructureType(unsigned long idx, std::string ¶meter) const
bool getDoseReferenceStructureType(DCMTree::TreePtr item, std::string ¶meter) const
bool getDoseReferenceType(unsigned long idx, std::string ¶meter) const
bool getOrganAtRiskMaximumDose(DCMTree::TreePtr item, std::string ¶meter) const
std::string getReferencedROINumberTag() const
bool setTargetUnderdoseVolumeFraction(unsigned long idx, std::string parameter)
std::vector< DcmDRTDoseReferenceSequenceInterface::Item > getSequence() const
Return the DRTDoseReferenceSequence this interface class provides access to.
bool setDeliveryMaximumDose(unsigned long idx, std::string parameter)
bool getDeliveryMaximumDose(DCMTree::TreePtr item, std::string ¶meter) const
bool setReferencedROINumber(unsigned long idx, std::string parameter)
bool getDeliveryMaximumDose(unsigned long idx, std::string ¶meter) const
bool getOrganAtRiskOverdoseVolumeFraction(DCMTree::TreePtr item, std::string ¶meter) const
std::string getTargetMaximumDoseTag() const
bool getTargetUnderdoseVolumeFraction(unsigned long idx, std::string ¶meter) const
void addItem(DcmDRTDoseReferenceSequenceInterface::Item newItem)
bool getOrganAtRiskMaximumDose(unsigned long idx, std::string ¶meter) const
bool getDoseReferencePointCoordinates(DCMTree::TreePtr item, std::string ¶meter) const
std::string getTargetMinimumDoseTag() const
bool getTargetMinimumDose(DCMTree::TreePtr item, std::string ¶meter) const
std::string getDeliveryWarningDoseTag() const
bool getReferencedROINumber(unsigned long idx, std::string ¶meter) const
bool getOrganAtRiskFullVolumeDose(DCMTree::TreePtr item, std::string ¶meter) const
bool getTargetMinimumDose(unsigned long idx, std::string ¶meter) const
std::string getDeliveryMaximumDoseTag() const
bool hasSequence() const
Check if the DRTDoseReferenceSequence is set.
bool setNominalPriorDose(unsigned long idx, std::string parameter)
bool getDoseReferenceNumber(DCMTree::TreePtr item, std::string ¶meter) const
bool setDoseReferenceUID(unsigned long idx, std::string parameter)
std::string getNominalPriorDoseTag() const
std::string getDoseReferenceStructureTypeTag() const
bool setDoseReferenceStructureType(unsigned long idx, std::string parameter)
bool getDoseReferenceUID(unsigned long idx, std::string ¶meter) const
bool setOrganAtRiskFullVolumeDose(unsigned long idx, std::string parameter)
bool setDoseReferenceDescription(unsigned long idx, std::string parameter)
std::string getDoseReferencePointCoordinatesTag() const
std::string getDoseReferenceTypeTag() const
std::string getTargetUnderdoseVolumeFractionTag() const
bool getDoseReferenceUID(DCMTree::TreePtr item, std::string ¶meter) const
std::string getConstraintWeightTag() const
bool setDoseReferencePointCoordinates(unsigned long idx, std::string parameter)
bool setTargetPrescriptionDose(unsigned long idx, std::string parameter)
std::string getOrganAtRiskOverdoseVolumeFractionTag() const
DcmDRTDoseReferenceSequenceInterface::Item & addItem()
Adds a new item to the sequence.
bool setDoseReferenceType(unsigned long idx, std::string parameter)
bool getDoseReferenceDescription(unsigned long idx, std::string ¶meter) const
std::vector< DcmDRTDoseReferenceSequenceInterface::Item > _itemVec
Reference to the wrapped DICOM tree pointer vector.
bool getConstraintWeight(DCMTree::TreePtr item, std::string ¶meter) const
void setSequence(std::vector< DcmDRTDoseReferenceSequenceInterface::Item > dcmSequence)
Set the DRTDoseReferenceSequence this interface class provides access to.
bool getTargetMaximumDose(unsigned long idx, std::string ¶meter) const
bool getOrganAtRiskLimitDose(DCMTree::TreePtr item, std::string ¶meter) const
DcmDRTDoseReferenceSequenceInterface(DCMTree::TreePtrVector treePtrSeq)
bool getTargetUnderdoseVolumeFraction(DCMTree::TreePtr item, std::string ¶meter) const
bool setTargetMinimumDose(unsigned long idx, std::string parameter)
std::string getOrganAtRiskMaximumDoseTag() const
bool getReferencedROINumber(DCMTree::TreePtr item, std::string ¶meter) const
DcmDRTDoseReferenceSequenceInterface::Item getItem(const size_t idx) const
Gets the item at the indicated position.
bool setOrganAtRiskMaximumDose(unsigned long idx, std::string parameter)
DcmDRTDoseReferenceSequenceInterface()
bool getTargetPrescriptionDose(unsigned long idx, std::string ¶meter) const
bool setDeliveryWarningDose(unsigned long idx, std::string parameter)
bool setConstraintWeight(unsigned long idx, std::string parameter)
bool setOrganAtRiskOverdoseVolumeFraction(unsigned long idx, std::string parameter)
std::string getDoseReferenceNumberTag() const
bool getDeliveryWarningDose(unsigned long idx, std::string ¶meter) const
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