MeVisLab Toolbox Reference
ml::DcmDRTContourSequenceInterface Class Reference

Class to provide access to DRTContourSequence. More...

#include <mlDcmDRTContourSequenceInterface.h>

Classes

class  Item

Public Member Functions

 DcmDRTContourSequenceInterface ()
 DcmDRTContourSequenceInterface (std::vector< DcmDRTContourSequenceInterface::Item > dcmSequence)
 Default Constructor.
 DcmDRTContourSequenceInterface (DCMTree::TreePtrVector treePtrSeq)
virtual ~DcmDRTContourSequenceInterface ()
 Default virtual Destructor.
bool getAttachedContours (unsigned long idx, std::string &parameter) const
bool getAttachedContours (DCMTree::TreePtr item, std::string &parameter) const
std::string getAttachedContoursTag () const
bool setAttachedContours (unsigned long idx, std::string parameter)
bool getContourData (unsigned long idx, std::string &parameter) const
bool getContourData (DCMTree::TreePtr item, std::string &parameter) const
std::string getContourDataTag () const
bool setContourData (unsigned long idx, std::string parameter)
bool getContourGeometricType (unsigned long idx, std::string &parameter) const
bool getContourGeometricType (DCMTree::TreePtr item, std::string &parameter) const
std::string getContourGeometricTypeTag () const
bool setContourGeometricType (unsigned long idx, std::string parameter)
bool getContourNumber (unsigned long idx, std::string &parameter) const
bool getContourNumber (DCMTree::TreePtr item, std::string &parameter) const
std::string getContourNumberTag () const
bool setContourNumber (unsigned long idx, std::string parameter)
bool getContourOffsetVector (unsigned long idx, std::string &parameter) const
bool getContourOffsetVector (DCMTree::TreePtr item, std::string &parameter) const
std::string getContourOffsetVectorTag () const
bool setContourOffsetVector (unsigned long idx, std::string parameter)
bool getContourSlabThickness (unsigned long idx, std::string &parameter) const
bool getContourSlabThickness (DCMTree::TreePtr item, std::string &parameter) const
std::string getContourSlabThicknessTag () const
bool setContourSlabThickness (unsigned long idx, std::string parameter)
bool getNumberOfContourPoints (unsigned long idx, std::string &parameter) const
bool getNumberOfContourPoints (DCMTree::TreePtr item, std::string &parameter) const
std::string getNumberOfContourPointsTag () const
bool setNumberOfContourPoints (unsigned long idx, std::string parameter)
DcmDRTContourImageSequenceInterface getContourImageSequence (unsigned long idx) const
std::string getContourImageSequenceTag () const
void setContourImageSequence (DcmDRTContourImageSequenceInterface seq, unsigned long idx)
void setSequence (std::vector< DcmDRTContourSequenceInterface::Item > dcmSequence)
std::vector< DcmDRTContourSequenceInterface::ItemgetSequence () const
bool hasSequence () const
MLint getNumberOfItems () const
DcmDRTContourSequenceInterface::Item getItem (const size_t idx) const
DcmDRTContourSequenceInterface::ItemaddItem ()
void addItem (DcmDRTContourSequenceInterface::Item newItem)
bool insertItem (const size_t idx)
bool removeItem (const size_t idx)

Protected Attributes

std::vector< DcmDRTContourSequenceInterface::Item_itemVec
 Reference to the wrapped DICOM tree pointer vector.

Detailed Description

Class to provide access to DRTContourSequence.

Definition at line 44 of file mlDcmDRTContourSequenceInterface.h.

Constructor & Destructor Documentation

◆ DcmDRTContourSequenceInterface() [1/3]

ml::DcmDRTContourSequenceInterface::DcmDRTContourSequenceInterface ( )
inline

Definition at line 114 of file mlDcmDRTContourSequenceInterface.h.

◆ DcmDRTContourSequenceInterface() [2/3]

ml::DcmDRTContourSequenceInterface::DcmDRTContourSequenceInterface ( std::vector< DcmDRTContourSequenceInterface::Item > dcmSequence)
inline

Default Constructor.

Definition at line 117 of file mlDcmDRTContourSequenceInterface.h.

References _itemVec.

◆ DcmDRTContourSequenceInterface() [3/3]

ml::DcmDRTContourSequenceInterface::DcmDRTContourSequenceInterface ( DCMTree::TreePtrVector treePtrSeq)
inline

Definition at line 119 of file mlDcmDRTContourSequenceInterface.h.

References _itemVec.

◆ ~DcmDRTContourSequenceInterface()

virtual ml::DcmDRTContourSequenceInterface::~DcmDRTContourSequenceInterface ( )
inlinevirtual

Default virtual Destructor.

Definition at line 127 of file mlDcmDRTContourSequenceInterface.h.

Member Function Documentation

◆ addItem() [1/2]

DcmDRTContourSequenceInterface::Item & ml::DcmDRTContourSequenceInterface::addItem ( )
inline

Adds a new item to the sequence

Returns
Return the new item which has been added to the sequence

Definition at line 211 of file mlDcmDRTContourSequenceInterface.h.

References _itemVec.

◆ addItem() [2/2]

void ml::DcmDRTContourSequenceInterface::addItem ( DcmDRTContourSequenceInterface::Item newItem)
inline

Definition at line 216 of file mlDcmDRTContourSequenceInterface.h.

References _itemVec.

◆ getAttachedContours() [1/2]

bool ml::DcmDRTContourSequenceInterface::getAttachedContours ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getAttachedContours() [2/2]

bool ml::DcmDRTContourSequenceInterface::getAttachedContours ( unsigned long idx,
std::string & parameter ) const

◆ getAttachedContoursTag()

std::string ml::DcmDRTContourSequenceInterface::getAttachedContoursTag ( ) const
inline

Definition at line 131 of file mlDcmDRTContourSequenceInterface.h.

◆ getContourData() [1/2]

bool ml::DcmDRTContourSequenceInterface::getContourData ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getContourData() [2/2]

bool ml::DcmDRTContourSequenceInterface::getContourData ( unsigned long idx,
std::string & parameter ) const

◆ getContourDataTag()

std::string ml::DcmDRTContourSequenceInterface::getContourDataTag ( ) const
inline

Definition at line 137 of file mlDcmDRTContourSequenceInterface.h.

◆ getContourGeometricType() [1/2]

bool ml::DcmDRTContourSequenceInterface::getContourGeometricType ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getContourGeometricType() [2/2]

bool ml::DcmDRTContourSequenceInterface::getContourGeometricType ( unsigned long idx,
std::string & parameter ) const

◆ getContourGeometricTypeTag()

std::string ml::DcmDRTContourSequenceInterface::getContourGeometricTypeTag ( ) const
inline

Definition at line 143 of file mlDcmDRTContourSequenceInterface.h.

◆ getContourImageSequence()

DcmDRTContourImageSequenceInterface ml::DcmDRTContourSequenceInterface::getContourImageSequence ( unsigned long idx) const

◆ getContourImageSequenceTag()

std::string ml::DcmDRTContourSequenceInterface::getContourImageSequenceTag ( ) const
inline

Definition at line 172 of file mlDcmDRTContourSequenceInterface.h.

◆ getContourNumber() [1/2]

bool ml::DcmDRTContourSequenceInterface::getContourNumber ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getContourNumber() [2/2]

bool ml::DcmDRTContourSequenceInterface::getContourNumber ( unsigned long idx,
std::string & parameter ) const

◆ getContourNumberTag()

std::string ml::DcmDRTContourSequenceInterface::getContourNumberTag ( ) const
inline

Definition at line 149 of file mlDcmDRTContourSequenceInterface.h.

◆ getContourOffsetVector() [1/2]

bool ml::DcmDRTContourSequenceInterface::getContourOffsetVector ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getContourOffsetVector() [2/2]

bool ml::DcmDRTContourSequenceInterface::getContourOffsetVector ( unsigned long idx,
std::string & parameter ) const

◆ getContourOffsetVectorTag()

std::string ml::DcmDRTContourSequenceInterface::getContourOffsetVectorTag ( ) const
inline

Definition at line 155 of file mlDcmDRTContourSequenceInterface.h.

◆ getContourSlabThickness() [1/2]

bool ml::DcmDRTContourSequenceInterface::getContourSlabThickness ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getContourSlabThickness() [2/2]

bool ml::DcmDRTContourSequenceInterface::getContourSlabThickness ( unsigned long idx,
std::string & parameter ) const

◆ getContourSlabThicknessTag()

std::string ml::DcmDRTContourSequenceInterface::getContourSlabThicknessTag ( ) const
inline

Definition at line 161 of file mlDcmDRTContourSequenceInterface.h.

◆ getItem()

DcmDRTContourSequenceInterface::Item ml::DcmDRTContourSequenceInterface::getItem ( const size_t idx) const
inline

Gets the item at the indicated position.

Returns
The requested item, an empty item when the position is invalid

Definition at line 202 of file mlDcmDRTContourSequenceInterface.h.

References _itemVec.

◆ getNumberOfContourPoints() [1/2]

bool ml::DcmDRTContourSequenceInterface::getNumberOfContourPoints ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getNumberOfContourPoints() [2/2]

bool ml::DcmDRTContourSequenceInterface::getNumberOfContourPoints ( unsigned long idx,
std::string & parameter ) const

◆ getNumberOfContourPointsTag()

std::string ml::DcmDRTContourSequenceInterface::getNumberOfContourPointsTag ( ) const
inline

Definition at line 167 of file mlDcmDRTContourSequenceInterface.h.

◆ getNumberOfItems()

MLint ml::DcmDRTContourSequenceInterface::getNumberOfItems ( ) const
inline

Return number of items the internal sequence consists of.

Returns
Number of items of internal sequence, 0 if internal sequence is NULL.

Definition at line 196 of file mlDcmDRTContourSequenceInterface.h.

References _itemVec.

◆ getSequence()

std::vector< DcmDRTContourSequenceInterface::Item > ml::DcmDRTContourSequenceInterface::getSequence ( ) const
inline

Return the DRTContourSequence this interface class provides access to.

Parameters
dcmSequencePointer to DRTContourSequence

Definition at line 184 of file mlDcmDRTContourSequenceInterface.h.

References _itemVec.

Referenced by DRTContourSequenceWrapper::DRTContourSequenceWrapper(), and DRTContourSequenceWrapper::operator=().

◆ hasSequence()

bool ml::DcmDRTContourSequenceInterface::hasSequence ( ) const
inline

Check if the DRTContourSequence is set.

Returns
True if internal pointer is set, False else.

Definition at line 190 of file mlDcmDRTContourSequenceInterface.h.

References _itemVec.

◆ insertItem()

bool ml::DcmDRTContourSequenceInterface::insertItem ( const size_t idx)
inline

Insert an item at the indicated position

Returns
true is the insertion was successful, false if position is invalid

Definition at line 222 of file mlDcmDRTContourSequenceInterface.h.

References _itemVec.

◆ removeItem()

bool ml::DcmDRTContourSequenceInterface::removeItem ( const size_t idx)
inline

Removes the indicated item from the sequence

Returns
true if the item was deleted successfully, false if the indicated position is invalid

Definition at line 234 of file mlDcmDRTContourSequenceInterface.h.

References _itemVec.

◆ setAttachedContours()

bool ml::DcmDRTContourSequenceInterface::setAttachedContours ( unsigned long idx,
std::string parameter )

◆ setContourData()

bool ml::DcmDRTContourSequenceInterface::setContourData ( unsigned long idx,
std::string parameter )

◆ setContourGeometricType()

bool ml::DcmDRTContourSequenceInterface::setContourGeometricType ( unsigned long idx,
std::string parameter )

◆ setContourImageSequence()

void ml::DcmDRTContourSequenceInterface::setContourImageSequence ( DcmDRTContourImageSequenceInterface seq,
unsigned long idx )

◆ setContourNumber()

bool ml::DcmDRTContourSequenceInterface::setContourNumber ( unsigned long idx,
std::string parameter )

◆ setContourOffsetVector()

bool ml::DcmDRTContourSequenceInterface::setContourOffsetVector ( unsigned long idx,
std::string parameter )

◆ setContourSlabThickness()

bool ml::DcmDRTContourSequenceInterface::setContourSlabThickness ( unsigned long idx,
std::string parameter )

◆ setNumberOfContourPoints()

bool ml::DcmDRTContourSequenceInterface::setNumberOfContourPoints ( unsigned long idx,
std::string parameter )

◆ setSequence()

void ml::DcmDRTContourSequenceInterface::setSequence ( std::vector< DcmDRTContourSequenceInterface::Item > dcmSequence)
inline

Set the DRTContourSequence this interface class provides access to.

Parameters
dcmSequencePointer to DRTContourSequence

Definition at line 178 of file mlDcmDRTContourSequenceInterface.h.

References _itemVec.

Member Data Documentation

◆ _itemVec

std::vector<DcmDRTContourSequenceInterface::Item> ml::DcmDRTContourSequenceInterface::_itemVec
protected

The documentation for this class was generated from the following file: