23#ifndef __mlDcmDRTContourSequenceInterface_H
24#define __mlDcmDRTContourSequenceInterface_H
35#ifndef __mlModuleIncludes_H
64 bool isValid()
const {
return _dcmItem.get() !=
nullptr; }
120 for(
size_t i=0; i < treePtrSeq.size(); i++)
178 void setSequence(std::vector<DcmDRTContourSequenceInterface::Item> dcmSequence) {
184 std::vector<DcmDRTContourSequenceInterface::Item>
getSequence()
const {
224 std::vector<DcmDRTContourSequenceInterface::Item>::iterator it =
_itemVec.begin();
225 std::advance(it, idx);
236 std::vector<DcmDRTContourSequenceInterface::Item>::iterator it =
_itemVec.begin();
237 std::advance(it, idx);
246 std::vector<DcmDRTContourSequenceInterface::Item>
_itemVec;
#define MLDCMTKACCESSORIES_EXPORT
Class to provide access to DRTContourImageSequence.
std::string getContourOffsetVectorTag() const
std::string getContourNumberTag() const
bool setAttachedContours(std::string parameter)
bool getContourSlabThickness(std::string ¶meter) const
bool setContourSlabThickness(std::string parameter)
std::string getAttachedContoursTag() const
bool setContourData(std::string parameter)
std::string getContourGeometricTypeTag() const
Item & operator=(const Item ©DcmItem)
bool getContourOffsetVector(std::string ¶meter) const
std::string getContourDataTag() const
bool setContourNumber(std::string parameter)
void setContourImageSequence(DcmDRTContourImageSequenceInterface seq)
std::string getNumberOfContourPointsTag() const
bool getNumberOfContourPoints(std::string ¶meter) const
std::string getContourImageSequenceTag() const
bool getContourNumber(std::string ¶meter) const
bool setNumberOfContourPoints(std::string parameter)
bool setContourGeometricType(std::string parameter)
std::string getContourSlabThicknessTag() const
bool getContourGeometricType(std::string ¶meter) const
bool setContourOffsetVector(std::string parameter)
DCMTree::TreePtr getTreePtr() const
bool getAttachedContours(std::string ¶meter) const
bool getContourData(std::string ¶meter) const
Item(DCMTree::TreePtr dcmItem)
DcmDRTContourImageSequenceInterface getContourImageSequence() const
Item(const Item ©DcmItem)
bool getContourOffsetVector(DCMTree::TreePtr item, std::string ¶meter) const
std::string getContourOffsetVectorTag() const
void addItem(DcmDRTContourSequenceInterface::Item newItem)
bool setContourNumber(unsigned long idx, std::string parameter)
std::string getContourImageSequenceTag() const
DcmDRTContourSequenceInterface()
bool getContourData(unsigned long idx, std::string ¶meter) const
std::string getContourDataTag() const
bool removeItem(const size_t idx)
bool getContourOffsetVector(unsigned long idx, std::string ¶meter) const
bool setContourGeometricType(unsigned long idx, std::string parameter)
bool setContourData(unsigned long idx, std::string parameter)
DcmDRTContourSequenceInterface::Item & addItem()
std::string getContourNumberTag() const
bool getContourSlabThickness(DCMTree::TreePtr item, std::string ¶meter) const
bool setAttachedContours(unsigned long idx, std::string parameter)
DcmDRTContourImageSequenceInterface getContourImageSequence(unsigned long idx) const
virtual ~DcmDRTContourSequenceInterface()
Default virtual Destructor.
std::string getAttachedContoursTag() const
bool getContourGeometricType(DCMTree::TreePtr item, std::string ¶meter) const
bool getContourSlabThickness(unsigned long idx, std::string ¶meter) const
void setContourImageSequence(DcmDRTContourImageSequenceInterface seq, unsigned long idx)
bool setContourOffsetVector(unsigned long idx, std::string parameter)
bool setContourSlabThickness(unsigned long idx, std::string parameter)
bool getNumberOfContourPoints(unsigned long idx, std::string ¶meter) const
std::vector< DcmDRTContourSequenceInterface::Item > _itemVec
Reference to the wrapped DICOM tree pointer vector.
bool insertItem(const size_t idx)
DcmDRTContourSequenceInterface(std::vector< DcmDRTContourSequenceInterface::Item > dcmSequence)
Default Constructor.
DcmDRTContourSequenceInterface(DCMTree::TreePtrVector treePtrSeq)
bool getContourData(DCMTree::TreePtr item, std::string ¶meter) const
std::vector< DcmDRTContourSequenceInterface::Item > getSequence() const
std::string getContourGeometricTypeTag() const
bool getContourNumber(unsigned long idx, std::string ¶meter) const
bool getContourGeometricType(unsigned long idx, std::string ¶meter) const
bool getNumberOfContourPoints(DCMTree::TreePtr item, std::string ¶meter) const
bool setNumberOfContourPoints(unsigned long idx, std::string parameter)
bool getAttachedContours(DCMTree::TreePtr item, std::string ¶meter) const
void setSequence(std::vector< DcmDRTContourSequenceInterface::Item > dcmSequence)
MLint getNumberOfItems() const
std::string getNumberOfContourPointsTag() const
bool getAttachedContours(unsigned long idx, std::string ¶meter) const
DcmDRTContourSequenceInterface::Item getItem(const size_t idx) const
bool getContourNumber(DCMTree::TreePtr item, std::string ¶meter) const
std::string getContourSlabThicknessTag() const
static DCMTree::TreePtr createNewDicomTree()
Class to provide access to DRTContourImageSequence.
Class collecting some DICOM helper functionality explicitly for dcmtk.
std::vector< TreePtr > TreePtrVector
A vector of TreePtr - used for sequences.
boost::shared_ptr< Tree > TreePtr
Shared pointer to a DCMTree::Tree.