23#ifndef __mlDcmDRTChannelSequenceInterface_H
24#define __mlDcmDRTChannelSequenceInterface_H
36#ifndef __mlModuleIncludes_H
53 Item() { _dcmItem = DcmtkAccessories::createNewDicomTree(); }
65 bool isValid()
const {
return _dcmItem.get() !=
nullptr; }
360 std::vector<DcmDRTChannelSequenceInterface::Item>
getSequence()
const {
367 return (_itemVec.size() != 0);
373 return static_cast<MLint>(_itemVec.size());
379 if (_itemVec.size() >
idx) {
380 return _itemVec[
idx];
389 return _itemVec[_itemVec.size()-1];
399 if (_itemVec.size() >
idx) {
400 std::vector<DcmDRTChannelSequenceInterface::Item>::iterator
it = _itemVec.begin();
401 std::advance(
it,
idx);
411 if ( _itemVec.size() >
idx ) {
412 std::vector<DcmDRTChannelSequenceInterface::Item>::iterator
it = _itemVec.begin();
413 std::advance(
it,
idx);
422 std::vector<DcmDRTChannelSequenceInterface::Item>
_itemVec;
#define MLDCMTKACCESSORIES_EXPORT
Class to provide access to DRTBrachyControlPointSequence.
bool setSourceApplicatorNumber(std::string parameter)
std::string getReferencedSourceNumberTag() const
bool setSourceApplicatorType(std::string parameter)
bool setSourceApplicatorWallNominalTransmission(std::string parameter)
std::string getChannelShieldSequenceTag() const
void setBrachyControlPointSequence(DcmDRTBrachyControlPointSequenceInterface seq)
bool getSourceApplicatorWallNominalThickness(std::string ¶meter) const
Item(DCMTree::TreePtr dcmItem)
bool setNumberOfControlPoints(std::string parameter)
bool getTransferTubeLength(std::string ¶meter) const
std::string getReferencedROINumberTag() const
bool getSourceApplicatorWallNominalTransmission(std::string ¶meter) const
bool getSourceApplicatorManufacturer(std::string ¶meter) const
bool setSourceApplicatorLength(std::string parameter)
bool setTransferTubeNumber(std::string parameter)
bool getSourceMovementType(std::string ¶meter) const
DCMTree::TreePtr getTreePtr() const
std::string getMaterialIDTag() const
bool getReferencedROINumber(std::string ¶meter) const
bool setSourceApplicatorID(std::string parameter)
std::string getSourceApplicatorTypeTag() const
void setChannelShieldSequence(DcmDRTChannelShieldSequenceInterface seq)
bool getChannelTotalTime(std::string ¶meter) const
bool setNumberOfPulses(std::string parameter)
bool getSourceApplicatorLength(std::string ¶meter) const
std::string getChannelNumberTag() const
std::string getTransferTubeNumberTag() const
Item(const Item ©DcmItem)
DcmDRTBrachyControlPointSequenceInterface getBrachyControlPointSequence() const
bool getPulseRepetitionInterval(std::string ¶meter) const
std::string getFinalCumulativeTimeWeightTag() const
bool getChannelLength(std::string ¶meter) const
bool setSourceMovementType(std::string parameter)
bool setPulseRepetitionInterval(std::string parameter)
std::string getNumberOfPulsesTag() const
bool getTransferTubeNumber(std::string ¶meter) const
std::string getSourceApplicatorNameTag() const
std::string getNumberOfControlPointsTag() const
bool getSourceApplicatorStepSize(std::string ¶meter) const
bool getSourceApplicatorType(std::string ¶meter) const
Item & operator=(const Item ©DcmItem)
bool getMaterialID(std::string ¶meter) const
bool setChannelNumber(std::string parameter)
bool getSourceApplicatorNumber(std::string ¶meter) const
bool getSourceApplicatorID(std::string ¶meter) const
bool setTransferTubeLength(std::string parameter)
std::string getChannelLengthTag() const
std::string getBrachyControlPointSequenceTag() const
bool setSourceApplicatorManufacturer(std::string parameter)
std::string getSourceApplicatorManufacturerTag() const
std::string getSourceApplicatorNumberTag() const
std::string getSourceApplicatorIDTag() const
bool setReferencedSourceNumber(std::string parameter)
bool getSourceApplicatorName(std::string ¶meter) const
std::string getTransferTubeLengthTag() const
std::string getSourceApplicatorWallNominalThicknessTag() const
bool getNumberOfPulses(std::string ¶meter) const
bool setMaterialID(std::string parameter)
bool setChannelTotalTime(std::string parameter)
std::string getChannelTotalTimeTag() const
bool setFinalCumulativeTimeWeight(std::string parameter)
bool setSourceApplicatorName(std::string parameter)
bool getChannelNumber(std::string ¶meter) const
bool setChannelLength(std::string parameter)
bool setSourceApplicatorStepSize(std::string parameter)
std::string getSourceApplicatorLengthTag() const
bool setSourceApplicatorWallNominalThickness(std::string parameter)
std::string getSourceApplicatorStepSizeTag() const
bool getNumberOfControlPoints(std::string ¶meter) const
bool getReferencedSourceNumber(std::string ¶meter) const
std::string getSourceApplicatorWallNominalTransmissionTag() const
DcmDRTChannelShieldSequenceInterface getChannelShieldSequence() const
std::string getSourceMovementTypeTag() const
bool getFinalCumulativeTimeWeight(std::string ¶meter) const
bool setReferencedROINumber(std::string parameter)
std::string getPulseRepetitionIntervalTag() const
Class to provide access to DRTChannelSequence.
std::vector< DcmDRTChannelSequenceInterface::Item > getSequence() const
Return the DRTChannelSequence this interface class provides access to.
bool getChannelLength(unsigned long idx, std::string ¶meter) const
bool setChannelLength(unsigned long idx, std::string parameter)
bool setSourceApplicatorWallNominalTransmission(unsigned long idx, std::string parameter)
bool getMaterialID(DCMTree::TreePtr item, std::string ¶meter) const
bool getSourceApplicatorWallNominalTransmission(unsigned long idx, std::string ¶meter) const
bool setSourceApplicatorManufacturer(unsigned long idx, std::string parameter)
std::string getBrachyControlPointSequenceTag() const
bool getTransferTubeLength(unsigned long idx, std::string ¶meter) const
std::string getReferencedROINumberTag() const
DcmDRTChannelSequenceInterface()
MLint getNumberOfItems() const
Return number of items the internal sequence consists of.
bool setNumberOfPulses(unsigned long idx, std::string parameter)
bool getSourceApplicatorType(unsigned long idx, std::string ¶meter) const
std::string getNumberOfPulsesTag() const
bool getChannelNumber(DCMTree::TreePtr item, std::string ¶meter) const
bool getSourceMovementType(DCMTree::TreePtr item, std::string ¶meter) const
bool setSourceMovementType(unsigned long idx, std::string parameter)
bool getSourceApplicatorWallNominalTransmission(DCMTree::TreePtr item, std::string ¶meter) const
bool setSourceApplicatorLength(unsigned long idx, std::string parameter)
bool getNumberOfPulses(unsigned long idx, std::string ¶meter) const
DcmDRTBrachyControlPointSequenceInterface getBrachyControlPointSequence(unsigned long idx) const
std::string getSourceApplicatorWallNominalThicknessTag() const
bool setSourceApplicatorStepSize(unsigned long idx, std::string parameter)
std::string getFinalCumulativeTimeWeightTag() const
bool getNumberOfPulses(DCMTree::TreePtr item, std::string ¶meter) const
bool getPulseRepetitionInterval(DCMTree::TreePtr item, std::string ¶meter) const
bool getSourceApplicatorManufacturer(unsigned long idx, std::string ¶meter) const
std::vector< DcmDRTChannelSequenceInterface::Item > _itemVec
Reference to the wrapped DICOM tree pointer vector.
bool setChannelNumber(unsigned long idx, std::string parameter)
DcmDRTChannelSequenceInterface(std::vector< DcmDRTChannelSequenceInterface::Item > dcmSequence)
Default Constructor.
bool setSourceApplicatorType(unsigned long idx, std::string parameter)
std::string getChannelLengthTag() const
bool removeItem(const size_t idx)
Removes the indicated item from the sequence.
bool setReferencedSourceNumber(unsigned long idx, std::string parameter)
bool getFinalCumulativeTimeWeight(DCMTree::TreePtr item, std::string ¶meter) const
bool getSourceApplicatorWallNominalThickness(DCMTree::TreePtr item, std::string ¶meter) const
std::string getSourceApplicatorTypeTag() const
DcmDRTChannelSequenceInterface::Item getItem(const size_t idx) const
Gets the item at the indicated position.
bool setSourceApplicatorID(unsigned long idx, std::string parameter)
virtual ~DcmDRTChannelSequenceInterface()
Default virtual Destructor.
bool getReferencedROINumber(unsigned long idx, std::string ¶meter) const
DcmDRTChannelSequenceInterface::Item & addItem()
Adds a new item to the sequence.
std::string getSourceMovementTypeTag() const
std::string getSourceApplicatorNumberTag() const
bool getFinalCumulativeTimeWeight(unsigned long idx, std::string ¶meter) const
bool getSourceApplicatorID(DCMTree::TreePtr item, std::string ¶meter) const
bool setTransferTubeNumber(unsigned long idx, std::string parameter)
bool getChannelLength(DCMTree::TreePtr item, std::string ¶meter) const
bool setFinalCumulativeTimeWeight(unsigned long idx, std::string parameter)
std::string getMaterialIDTag() const
bool getMaterialID(unsigned long idx, std::string ¶meter) const
bool setSourceApplicatorName(unsigned long idx, std::string parameter)
bool setChannelTotalTime(unsigned long idx, std::string parameter)
bool getTransferTubeNumber(unsigned long idx, std::string ¶meter) const
void setBrachyControlPointSequence(DcmDRTBrachyControlPointSequenceInterface seq, unsigned long idx)
bool setSourceApplicatorNumber(unsigned long idx, std::string parameter)
std::string getSourceApplicatorLengthTag() const
std::string getSourceApplicatorStepSizeTag() const
bool setMaterialID(unsigned long idx, std::string parameter)
std::string getChannelNumberTag() const
DcmDRTChannelShieldSequenceInterface getChannelShieldSequence(unsigned long idx) const
bool getChannelNumber(unsigned long idx, std::string ¶meter) const
std::string getSourceApplicatorIDTag() const
bool getPulseRepetitionInterval(unsigned long idx, std::string ¶meter) const
bool getChannelTotalTime(DCMTree::TreePtr item, std::string ¶meter) const
bool getSourceApplicatorStepSize(DCMTree::TreePtr item, std::string ¶meter) const
bool getTransferTubeNumber(DCMTree::TreePtr item, std::string ¶meter) const
void setChannelShieldSequence(DcmDRTChannelShieldSequenceInterface seq, unsigned long idx)
bool setNumberOfControlPoints(unsigned long idx, std::string parameter)
std::string getChannelTotalTimeTag() const
std::string getSourceApplicatorNameTag() const
bool getNumberOfControlPoints(unsigned long idx, std::string ¶meter) const
bool setReferencedROINumber(unsigned long idx, std::string parameter)
std::string getTransferTubeLengthTag() const
bool getReferencedSourceNumber(unsigned long idx, std::string ¶meter) const
bool getSourceApplicatorType(DCMTree::TreePtr item, std::string ¶meter) const
bool getSourceApplicatorName(DCMTree::TreePtr item, std::string ¶meter) const
bool insertItem(const size_t idx)
Insert an item at the indicated position.
std::string getTransferTubeNumberTag() const
std::string getPulseRepetitionIntervalTag() const
bool setTransferTubeLength(unsigned long idx, std::string parameter)
bool getSourceApplicatorNumber(DCMTree::TreePtr item, std::string ¶meter) const
bool getSourceApplicatorWallNominalThickness(unsigned long idx, std::string ¶meter) const
bool getSourceApplicatorNumber(unsigned long idx, std::string ¶meter) const
bool getSourceApplicatorLength(unsigned long idx, std::string ¶meter) const
std::string getSourceApplicatorManufacturerTag() const
bool getSourceApplicatorStepSize(unsigned long idx, std::string ¶meter) const
void setSequence(std::vector< DcmDRTChannelSequenceInterface::Item > dcmSequence)
Set the DRTChannelSequence this interface class provides access to.
std::string getSourceApplicatorWallNominalTransmissionTag() const
bool getSourceApplicatorLength(DCMTree::TreePtr item, std::string ¶meter) const
void addItem(DcmDRTChannelSequenceInterface::Item newItem)
bool getSourceApplicatorName(unsigned long idx, std::string ¶meter) const
bool getReferencedSourceNumber(DCMTree::TreePtr item, std::string ¶meter) const
bool getTransferTubeLength(DCMTree::TreePtr item, std::string ¶meter) const
std::string getNumberOfControlPointsTag() const
bool getChannelTotalTime(unsigned long idx, std::string ¶meter) const
bool hasSequence() const
Check if the DRTChannelSequence is set.
bool getNumberOfControlPoints(DCMTree::TreePtr item, std::string ¶meter) const
bool getSourceApplicatorManufacturer(DCMTree::TreePtr item, std::string ¶meter) const
bool getReferencedROINumber(DCMTree::TreePtr item, std::string ¶meter) const
std::string getReferencedSourceNumberTag() const
bool getSourceApplicatorID(unsigned long idx, std::string ¶meter) const
std::string getChannelShieldSequenceTag() const
bool setPulseRepetitionInterval(unsigned long idx, std::string parameter)
bool getSourceMovementType(unsigned long idx, std::string ¶meter) const
bool setSourceApplicatorWallNominalThickness(unsigned long idx, std::string parameter)
DcmDRTChannelSequenceInterface(DCMTree::TreePtrVector treePtrSeq)
Class to provide access to DRTChannelShieldSequence.
Class to provide access to DRTBrachyControlPointSequence.
Class to provide access to DRTChannelShieldSequence.
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