MeVisLab Toolbox Reference
ml::DcmDRTROIContourSequenceInterface Class Reference

Class to provide access to DRTROIContourSequence. More...

#include <mlDcmDRTROIContourSequenceInterface.h>

Classes

class  Item
 

Public Member Functions

 DcmDRTROIContourSequenceInterface ()
 
 DcmDRTROIContourSequenceInterface (std::vector< DcmDRTROIContourSequenceInterface::Item > dcmSequence)
 Default Constructor.
 
 DcmDRTROIContourSequenceInterface (DCMTree::TreePtrVector treePtrSeq)
 
virtual ~DcmDRTROIContourSequenceInterface ()
 Default virtual Destructor.
 
bool getROIDisplayColor (unsigned long idx, std::string &parameter) const
 
bool getROIDisplayColor (DCMTree::TreePtr item, std::string &parameter) const
 
std::string getROIDisplayColorTag () const
 
bool setROIDisplayColor (unsigned long idx, std::string parameter)
 
bool getReferencedROINumber (unsigned long idx, std::string &parameter) const
 
bool getReferencedROINumber (DCMTree::TreePtr item, std::string &parameter) const
 
std::string getReferencedROINumberTag () const
 
bool setReferencedROINumber (unsigned long idx, std::string parameter)
 
DcmDRTContourSequenceInterface getContourSequence (unsigned long idx) const
 
std::string getContourSequenceTag () const
 
void setContourSequence (DcmDRTContourSequenceInterface seq, unsigned long idx)
 
void setSequence (std::vector< DcmDRTROIContourSequenceInterface::Item > dcmSequence)
 Set the DRTROIContourSequence this interface class provides access to.
 
std::vector< DcmDRTROIContourSequenceInterface::ItemgetSequence () const
 Return the DRTROIContourSequence this interface class provides access to.
 
bool hasSequence () const
 Check if the DRTROIContourSequence is set.
 
MLint getNumberOfItems () const
 Return number of items the internal sequence consists of.
 
DcmDRTROIContourSequenceInterface::Item getItem (const size_t idx) const
 Gets the item at the indicated position.
 
DcmDRTROIContourSequenceInterface::ItemaddItem ()
 Adds a new item to the sequence.
 
void addItem (DcmDRTROIContourSequenceInterface::Item newItem)
 
bool insertItem (const size_t idx)
 Insert an item at the indicated position.
 
bool removeItem (const size_t idx)
 Removes the indicated item from the sequence.
 

Protected Attributes

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

Detailed Description

Class to provide access to DRTROIContourSequence.

Definition at line 44 of file mlDcmDRTROIContourSequenceInterface.h.

Constructor & Destructor Documentation

◆ DcmDRTROIContourSequenceInterface() [1/3]

ml::DcmDRTROIContourSequenceInterface::DcmDRTROIContourSequenceInterface ( )
inline

Definition at line 89 of file mlDcmDRTROIContourSequenceInterface.h.

◆ DcmDRTROIContourSequenceInterface() [2/3]

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

Default Constructor.

Definition at line 92 of file mlDcmDRTROIContourSequenceInterface.h.

◆ DcmDRTROIContourSequenceInterface() [3/3]

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

Definition at line 94 of file mlDcmDRTROIContourSequenceInterface.h.

References mlrange_cast().

◆ ~DcmDRTROIContourSequenceInterface()

virtual ml::DcmDRTROIContourSequenceInterface::~DcmDRTROIContourSequenceInterface ( )
inlinevirtual

Default virtual Destructor.

Definition at line 102 of file mlDcmDRTROIContourSequenceInterface.h.

Member Function Documentation

◆ addItem() [1/2]

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

Adds a new item to the sequence.

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

Definition at line 156 of file mlDcmDRTROIContourSequenceInterface.h.

◆ addItem() [2/2]

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

Definition at line 161 of file mlDcmDRTROIContourSequenceInterface.h.

References mlrange_cast().

◆ getContourSequence()

DcmDRTContourSequenceInterface ml::DcmDRTROIContourSequenceInterface::getContourSequence ( unsigned long idx) const

◆ getContourSequenceTag()

std::string ml::DcmDRTROIContourSequenceInterface::getContourSequenceTag ( ) const
inline

◆ getItem()

DcmDRTROIContourSequenceInterface::Item ml::DcmDRTROIContourSequenceInterface::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 147 of file mlDcmDRTROIContourSequenceInterface.h.

References mlrange_cast().

◆ getNumberOfItems()

MLint ml::DcmDRTROIContourSequenceInterface::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 141 of file mlDcmDRTROIContourSequenceInterface.h.

◆ getReferencedROINumber() [1/2]

bool ml::DcmDRTROIContourSequenceInterface::getReferencedROINumber ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getReferencedROINumber() [2/2]

bool ml::DcmDRTROIContourSequenceInterface::getReferencedROINumber ( unsigned long idx,
std::string & parameter ) const

◆ getReferencedROINumberTag()

std::string ml::DcmDRTROIContourSequenceInterface::getReferencedROINumberTag ( ) const
inline

◆ getROIDisplayColor() [1/2]

bool ml::DcmDRTROIContourSequenceInterface::getROIDisplayColor ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getROIDisplayColor() [2/2]

bool ml::DcmDRTROIContourSequenceInterface::getROIDisplayColor ( unsigned long idx,
std::string & parameter ) const

◆ getROIDisplayColorTag()

std::string ml::DcmDRTROIContourSequenceInterface::getROIDisplayColorTag ( ) const
inline

◆ getSequence()

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

Return the DRTROIContourSequence this interface class provides access to.

Parameters
dcmSequencePointer to DRTROIContourSequence

Definition at line 129 of file mlDcmDRTROIContourSequenceInterface.h.

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

◆ hasSequence()

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

Check if the DRTROIContourSequence is set.

Returns
True if internal pointer is set, False else.

Definition at line 135 of file mlDcmDRTROIContourSequenceInterface.h.

◆ insertItem()

bool ml::DcmDRTROIContourSequenceInterface::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 167 of file mlDcmDRTROIContourSequenceInterface.h.

References mlrange_cast().

◆ removeItem()

bool ml::DcmDRTROIContourSequenceInterface::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 179 of file mlDcmDRTROIContourSequenceInterface.h.

References mlrange_cast().

◆ setContourSequence()

void ml::DcmDRTROIContourSequenceInterface::setContourSequence ( DcmDRTContourSequenceInterface seq,
unsigned long idx )

◆ setReferencedROINumber()

bool ml::DcmDRTROIContourSequenceInterface::setReferencedROINumber ( unsigned long idx,
std::string parameter )

◆ setROIDisplayColor()

bool ml::DcmDRTROIContourSequenceInterface::setROIDisplayColor ( unsigned long idx,
std::string parameter )

◆ setSequence()

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

Set the DRTROIContourSequence this interface class provides access to.

Parameters
dcmSequencePointer to DRTROIContourSequence

Definition at line 123 of file mlDcmDRTROIContourSequenceInterface.h.

References mlrange_cast().

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

Member Data Documentation

◆ _itemVec

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

Reference to the wrapped DICOM tree pointer vector.

Definition at line 191 of file mlDcmDRTROIContourSequenceInterface.h.


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