MeVisLab Toolbox Reference
ml::DcmDRTRTRelatedROISequenceInterface Class Reference

Class to provide access to DRTRTRelatedROISequence. More...

#include <mlDcmDRTRTRelatedROISequenceInterface.h>

Classes

class  Item
 

Public Member Functions

 DcmDRTRTRelatedROISequenceInterface ()
 
 DcmDRTRTRelatedROISequenceInterface (std::vector< DcmDRTRTRelatedROISequenceInterface::Item > dcmSequence)
 Default Constructor.
 
 DcmDRTRTRelatedROISequenceInterface (DCMTree::TreePtrVector treePtrSeq)
 
virtual ~DcmDRTRTRelatedROISequenceInterface ()
 Default virtual Destructor.
 
bool getRTROIRelationship (unsigned long idx, std::string &parameter) const
 
bool getRTROIRelationship (DCMTree::TreePtr item, std::string &parameter) const
 
std::string getRTROIRelationshipTag () const
 
bool setRTROIRelationship (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)
 
void setSequence (std::vector< DcmDRTRTRelatedROISequenceInterface::Item > dcmSequence)
 Set the DRTRTRelatedROISequence this interface class provides access to.
 
std::vector< DcmDRTRTRelatedROISequenceInterface::ItemgetSequence () const
 Return the DRTRTRelatedROISequence this interface class provides access to.
 
bool hasSequence () const
 Check if the DRTRTRelatedROISequence is set.
 
MLint getNumberOfItems () const
 Return number of items the internal sequence consists of.
 
DcmDRTRTRelatedROISequenceInterface::Item getItem (const size_t idx) const
 Gets the item at the indicated position.
 
DcmDRTRTRelatedROISequenceInterface::ItemaddItem ()
 Adds a new item to the sequence.
 
void addItem (DcmDRTRTRelatedROISequenceInterface::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< DcmDRTRTRelatedROISequenceInterface::Item_itemVec
 Reference to the wrapped DICOM tree pointer vector.
 

Detailed Description

Class to provide access to DRTRTRelatedROISequence.

Definition at line 43 of file mlDcmDRTRTRelatedROISequenceInterface.h.

Constructor & Destructor Documentation

◆ DcmDRTRTRelatedROISequenceInterface() [1/3]

ml::DcmDRTRTRelatedROISequenceInterface::DcmDRTRTRelatedROISequenceInterface ( )
inline

Definition at line 83 of file mlDcmDRTRTRelatedROISequenceInterface.h.

◆ DcmDRTRTRelatedROISequenceInterface() [2/3]

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

Default Constructor.

Definition at line 86 of file mlDcmDRTRTRelatedROISequenceInterface.h.

◆ DcmDRTRTRelatedROISequenceInterface() [3/3]

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

Definition at line 88 of file mlDcmDRTRTRelatedROISequenceInterface.h.

References mlrange_cast().

◆ ~DcmDRTRTRelatedROISequenceInterface()

virtual ml::DcmDRTRTRelatedROISequenceInterface::~DcmDRTRTRelatedROISequenceInterface ( )
inlinevirtual

Default virtual Destructor.

Definition at line 96 of file mlDcmDRTRTRelatedROISequenceInterface.h.

Member Function Documentation

◆ addItem() [1/2]

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

Adds a new item to the sequence.

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

Definition at line 145 of file mlDcmDRTRTRelatedROISequenceInterface.h.

◆ addItem() [2/2]

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

Definition at line 150 of file mlDcmDRTRTRelatedROISequenceInterface.h.

References mlrange_cast().

◆ getItem()

DcmDRTRTRelatedROISequenceInterface::Item ml::DcmDRTRTRelatedROISequenceInterface::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 136 of file mlDcmDRTRTRelatedROISequenceInterface.h.

References mlrange_cast().

◆ getNumberOfItems()

MLint ml::DcmDRTRTRelatedROISequenceInterface::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 130 of file mlDcmDRTRTRelatedROISequenceInterface.h.

◆ getReferencedROINumber() [1/2]

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

◆ getReferencedROINumber() [2/2]

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

◆ getReferencedROINumberTag()

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

◆ getRTROIRelationship() [1/2]

bool ml::DcmDRTRTRelatedROISequenceInterface::getRTROIRelationship ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getRTROIRelationship() [2/2]

bool ml::DcmDRTRTRelatedROISequenceInterface::getRTROIRelationship ( unsigned long idx,
std::string & parameter ) const

◆ getRTROIRelationshipTag()

std::string ml::DcmDRTRTRelatedROISequenceInterface::getRTROIRelationshipTag ( ) const
inline

◆ getSequence()

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

Return the DRTRTRelatedROISequence this interface class provides access to.

Parameters
dcmSequencePointer to DRTRTRelatedROISequence

Definition at line 118 of file mlDcmDRTRTRelatedROISequenceInterface.h.

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

◆ hasSequence()

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

Check if the DRTRTRelatedROISequence is set.

Returns
True if internal pointer is set, False else.

Definition at line 124 of file mlDcmDRTRTRelatedROISequenceInterface.h.

◆ insertItem()

bool ml::DcmDRTRTRelatedROISequenceInterface::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 156 of file mlDcmDRTRTRelatedROISequenceInterface.h.

References mlrange_cast().

◆ removeItem()

bool ml::DcmDRTRTRelatedROISequenceInterface::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 168 of file mlDcmDRTRTRelatedROISequenceInterface.h.

References mlrange_cast().

◆ setReferencedROINumber()

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

◆ setRTROIRelationship()

bool ml::DcmDRTRTRelatedROISequenceInterface::setRTROIRelationship ( unsigned long idx,
std::string parameter )

◆ setSequence()

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

Set the DRTRTRelatedROISequence this interface class provides access to.

Parameters
dcmSequencePointer to DRTRTRelatedROISequence

Definition at line 112 of file mlDcmDRTRTRelatedROISequenceInterface.h.

References mlrange_cast().

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

Member Data Documentation

◆ _itemVec

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

Reference to the wrapped DICOM tree pointer vector.

Definition at line 180 of file mlDcmDRTRTRelatedROISequenceInterface.h.


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