23#ifndef __mlDcmDRTReferencedDoseReferenceSequenceInRTFractionSchemeModuleInterface_H
24#define __mlDcmDRTReferencedDoseReferenceSequenceInRTFractionSchemeModuleInterface_H
34#ifndef __mlModuleIncludes_H
51 Item() { _dcmItem = DcmtkAccessories::createNewDicomTree(); }
63 bool isValid()
const {
return _dcmItem.get() !=
nullptr; }
222 void setSequence(std::vector<DcmDRTReferencedDoseReferenceSequenceInRTFractionSchemeModuleInterface::Item>
dcmSequence) {
228 std::vector<DcmDRTReferencedDoseReferenceSequenceInRTFractionSchemeModuleInterface::Item>
getSequence()
const {
235 return (_itemVec.size() != 0);
241 return static_cast<MLint>(_itemVec.size());
247 if (_itemVec.size() >
idx) {
248 return _itemVec[
idx];
257 return _itemVec[_itemVec.size()-1];
267 if (_itemVec.size() >
idx) {
268 std::vector<DcmDRTReferencedDoseReferenceSequenceInRTFractionSchemeModuleInterface::Item>::iterator
it = _itemVec.begin();
269 std::advance(
it,
idx);
279 if ( _itemVec.size() >
idx ) {
280 std::vector<DcmDRTReferencedDoseReferenceSequenceInRTFractionSchemeModuleInterface::Item>::iterator
it = _itemVec.begin();
281 std::advance(
it,
idx);
290 std::vector<DcmDRTReferencedDoseReferenceSequenceInRTFractionSchemeModuleInterface::Item>
_itemVec;
#define MLDCMTKACCESSORIES_EXPORT
std::string getTargetPrescriptionDoseTag() const
bool getTargetUnderdoseVolumeFraction(std::string ¶meter) const
bool getOrganAtRiskMaximumDose(std::string ¶meter) const
bool getReferencedDoseReferenceNumber(std::string ¶meter) const
std::string getReferencedDoseReferenceNumberTag() const
bool setTargetMinimumDose(std::string parameter)
bool setConstraintWeight(std::string parameter)
bool setDeliveryWarningDose(std::string parameter)
bool getTargetPrescriptionDose(std::string ¶meter) const
bool setOrganAtRiskLimitDose(std::string parameter)
bool getDeliveryMaximumDose(std::string ¶meter) const
Item & operator=(const Item ©DcmItem)
std::string getConstraintWeightTag() const
bool setOrganAtRiskOverdoseVolumeFraction(std::string parameter)
bool getOrganAtRiskOverdoseVolumeFraction(std::string ¶meter) const
bool getOrganAtRiskFullVolumeDose(std::string ¶meter) const
Item(DCMTree::TreePtr dcmItem)
std::string getOrganAtRiskOverdoseVolumeFractionTag() const
std::string getOrganAtRiskMaximumDoseTag() const
bool setTargetPrescriptionDose(std::string parameter)
bool getTargetMinimumDose(std::string ¶meter) const
bool getOrganAtRiskLimitDose(std::string ¶meter) const
std::string getDeliveryWarningDoseTag() const
Item(const Item ©DcmItem)
std::string getDeliveryMaximumDoseTag() const
bool setOrganAtRiskFullVolumeDose(std::string parameter)
bool setTargetMaximumDose(std::string parameter)
bool getTargetMaximumDose(std::string ¶meter) const
bool setDeliveryMaximumDose(std::string parameter)
bool setTargetUnderdoseVolumeFraction(std::string parameter)
DCMTree::TreePtr getTreePtr() const
std::string getTargetMinimumDoseTag() const
std::string getTargetUnderdoseVolumeFractionTag() const
std::string getTargetMaximumDoseTag() const
bool setOrganAtRiskMaximumDose(std::string parameter)
std::string getOrganAtRiskLimitDoseTag() const
std::string getOrganAtRiskFullVolumeDoseTag() const
bool getConstraintWeight(std::string ¶meter) const
bool setReferencedDoseReferenceNumber(std::string parameter)
bool getDeliveryWarningDose(std::string ¶meter) const
Class to provide access to DRTReferencedDoseReferenceSequenceInRTFractionSchemeModule.
bool setDeliveryWarningDose(unsigned long idx, std::string parameter)
std::string getDeliveryWarningDoseTag() const
std::string getOrganAtRiskLimitDoseTag() const
bool getConstraintWeight(DCMTree::TreePtr item, std::string ¶meter) const
bool getOrganAtRiskOverdoseVolumeFraction(DCMTree::TreePtr item, std::string ¶meter) const
std::string getTargetUnderdoseVolumeFractionTag() const
bool hasSequence() const
Check if the DRTReferencedDoseReferenceSequenceInRTFractionSchemeModule is set.
std::string getDeliveryMaximumDoseTag() const
bool getConstraintWeight(unsigned long idx, std::string ¶meter) const
bool setReferencedDoseReferenceNumber(unsigned long idx, std::string parameter)
bool getOrganAtRiskLimitDose(DCMTree::TreePtr item, std::string ¶meter) const
std::string getOrganAtRiskFullVolumeDoseTag() const
bool getTargetMinimumDose(DCMTree::TreePtr item, std::string ¶meter) const
bool getOrganAtRiskFullVolumeDose(DCMTree::TreePtr item, std::string ¶meter) const
bool setTargetUnderdoseVolumeFraction(unsigned long idx, std::string parameter)
MLint getNumberOfItems() const
Return number of items the internal sequence consists of.
bool getDeliveryMaximumDose(DCMTree::TreePtr item, std::string ¶meter) const
std::string getOrganAtRiskMaximumDoseTag() const
std::string getReferencedDoseReferenceNumberTag() const
void addItem(DcmDRTReferencedDoseReferenceSequenceInRTFractionSchemeModuleInterface::Item newItem)
bool insertItem(const size_t idx)
Insert an item at the indicated position.
bool getTargetUnderdoseVolumeFraction(DCMTree::TreePtr item, std::string ¶meter) const
DcmDRTReferencedDoseReferenceSequenceInRTFractionSchemeModuleInterface(DCMTree::TreePtrVector treePtrSeq)
bool setOrganAtRiskFullVolumeDose(unsigned long idx, std::string parameter)
bool setTargetMaximumDose(unsigned long idx, std::string parameter)
bool getReferencedDoseReferenceNumber(unsigned long idx, std::string ¶meter) const
std::string getTargetPrescriptionDoseTag() const
bool getDeliveryWarningDose(DCMTree::TreePtr item, std::string ¶meter) const
DcmDRTReferencedDoseReferenceSequenceInRTFractionSchemeModuleInterface::Item getItem(const size_t idx) const
Gets the item at the indicated position.
bool getTargetPrescriptionDose(unsigned long idx, std::string ¶meter) const
bool getOrganAtRiskMaximumDose(unsigned long idx, std::string ¶meter) const
std::vector< DcmDRTReferencedDoseReferenceSequenceInRTFractionSchemeModuleInterface::Item > getSequence() const
Return the DRTReferencedDoseReferenceSequenceInRTFractionSchemeModule this interface class provides a...
bool getOrganAtRiskOverdoseVolumeFraction(unsigned long idx, std::string ¶meter) const
bool getTargetMaximumDose(unsigned long idx, std::string ¶meter) const
bool getTargetPrescriptionDose(DCMTree::TreePtr item, std::string ¶meter) const
void setSequence(std::vector< DcmDRTReferencedDoseReferenceSequenceInRTFractionSchemeModuleInterface::Item > dcmSequence)
Set the DRTReferencedDoseReferenceSequenceInRTFractionSchemeModule this interface class provides acce...
std::string getTargetMaximumDoseTag() const
std::string getConstraintWeightTag() const
bool getDeliveryMaximumDose(unsigned long idx, std::string ¶meter) const
bool setDeliveryMaximumDose(unsigned long idx, std::string parameter)
bool setOrganAtRiskLimitDose(unsigned long idx, std::string parameter)
bool getOrganAtRiskMaximumDose(DCMTree::TreePtr item, std::string ¶meter) const
bool setOrganAtRiskOverdoseVolumeFraction(unsigned long idx, std::string parameter)
bool setConstraintWeight(unsigned long idx, std::string parameter)
bool getOrganAtRiskFullVolumeDose(unsigned long idx, std::string ¶meter) const
bool getTargetUnderdoseVolumeFraction(unsigned long idx, std::string ¶meter) const
DcmDRTReferencedDoseReferenceSequenceInRTFractionSchemeModuleInterface()
bool setTargetMinimumDose(unsigned long idx, std::string parameter)
virtual ~DcmDRTReferencedDoseReferenceSequenceInRTFractionSchemeModuleInterface()
Default virtual Destructor.
DcmDRTReferencedDoseReferenceSequenceInRTFractionSchemeModuleInterface(std::vector< DcmDRTReferencedDoseReferenceSequenceInRTFractionSchemeModuleInterface::Item > dcmSequence)
Default Constructor.
bool getReferencedDoseReferenceNumber(DCMTree::TreePtr item, std::string ¶meter) const
DcmDRTReferencedDoseReferenceSequenceInRTFractionSchemeModuleInterface::Item & addItem()
Adds a new item to the sequence.
std::string getOrganAtRiskOverdoseVolumeFractionTag() const
std::string getTargetMinimumDoseTag() const
bool setTargetPrescriptionDose(unsigned long idx, std::string parameter)
bool removeItem(const size_t idx)
Removes the indicated item from the sequence.
bool getOrganAtRiskLimitDose(unsigned long idx, std::string ¶meter) const
bool getDeliveryWarningDose(unsigned long idx, std::string ¶meter) const
bool getTargetMaximumDose(DCMTree::TreePtr item, std::string ¶meter) const
std::vector< DcmDRTReferencedDoseReferenceSequenceInRTFractionSchemeModuleInterface::Item > _itemVec
Reference to the wrapped DICOM tree pointer vector.
bool setOrganAtRiskMaximumDose(unsigned long idx, std::string parameter)
bool getTargetMinimumDose(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