MeVisLab Toolbox Reference
ml::DcmDRTReferencedControlPointSequenceInterface Class Reference

Class to provide access to DRTReferencedControlPointSequence. More...

#include <mlDcmDRTReferencedControlPointSequenceInterface.h>

Classes

class  Item
 

Public Member Functions

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

Detailed Description

Class to provide access to DRTReferencedControlPointSequence.

Definition at line 43 of file mlDcmDRTReferencedControlPointSequenceInterface.h.

Constructor & Destructor Documentation

◆ DcmDRTReferencedControlPointSequenceInterface() [1/3]

ml::DcmDRTReferencedControlPointSequenceInterface::DcmDRTReferencedControlPointSequenceInterface ( )
inline

◆ DcmDRTReferencedControlPointSequenceInterface() [2/3]

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

Default Constructor.

Definition at line 86 of file mlDcmDRTReferencedControlPointSequenceInterface.h.

◆ DcmDRTReferencedControlPointSequenceInterface() [3/3]

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

Definition at line 88 of file mlDcmDRTReferencedControlPointSequenceInterface.h.

References mlrange_cast().

◆ ~DcmDRTReferencedControlPointSequenceInterface()

virtual ml::DcmDRTReferencedControlPointSequenceInterface::~DcmDRTReferencedControlPointSequenceInterface ( )
inlinevirtual

Default virtual Destructor.

Definition at line 96 of file mlDcmDRTReferencedControlPointSequenceInterface.h.

Member Function Documentation

◆ addItem() [1/2]

DcmDRTReferencedControlPointSequenceInterface::Item & ml::DcmDRTReferencedControlPointSequenceInterface::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 mlDcmDRTReferencedControlPointSequenceInterface.h.

◆ addItem() [2/2]

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

Definition at line 150 of file mlDcmDRTReferencedControlPointSequenceInterface.h.

References mlrange_cast().

◆ getItem()

DcmDRTReferencedControlPointSequenceInterface::Item ml::DcmDRTReferencedControlPointSequenceInterface::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 mlDcmDRTReferencedControlPointSequenceInterface.h.

References mlrange_cast().

◆ getNumberOfItems()

MLint ml::DcmDRTReferencedControlPointSequenceInterface::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 mlDcmDRTReferencedControlPointSequenceInterface.h.

◆ getReferencedStartControlPointIndex() [1/2]

bool ml::DcmDRTReferencedControlPointSequenceInterface::getReferencedStartControlPointIndex ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getReferencedStartControlPointIndex() [2/2]

bool ml::DcmDRTReferencedControlPointSequenceInterface::getReferencedStartControlPointIndex ( unsigned long idx,
std::string & parameter ) const

◆ getReferencedStartControlPointIndexTag()

std::string ml::DcmDRTReferencedControlPointSequenceInterface::getReferencedStartControlPointIndexTag ( ) const
inline

◆ getReferencedStopControlPointIndex() [1/2]

bool ml::DcmDRTReferencedControlPointSequenceInterface::getReferencedStopControlPointIndex ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getReferencedStopControlPointIndex() [2/2]

bool ml::DcmDRTReferencedControlPointSequenceInterface::getReferencedStopControlPointIndex ( unsigned long idx,
std::string & parameter ) const

◆ getReferencedStopControlPointIndexTag()

std::string ml::DcmDRTReferencedControlPointSequenceInterface::getReferencedStopControlPointIndexTag ( ) const
inline

◆ getSequence()

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

Return the DRTReferencedControlPointSequence this interface class provides access to.

Parameters
dcmSequencePointer to DRTReferencedControlPointSequence

Definition at line 118 of file mlDcmDRTReferencedControlPointSequenceInterface.h.

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

◆ hasSequence()

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

Check if the DRTReferencedControlPointSequence is set.

Returns
True if internal pointer is set, False else.

Definition at line 124 of file mlDcmDRTReferencedControlPointSequenceInterface.h.

◆ insertItem()

bool ml::DcmDRTReferencedControlPointSequenceInterface::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 mlDcmDRTReferencedControlPointSequenceInterface.h.

References mlrange_cast().

◆ removeItem()

bool ml::DcmDRTReferencedControlPointSequenceInterface::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 mlDcmDRTReferencedControlPointSequenceInterface.h.

References mlrange_cast().

◆ setReferencedStartControlPointIndex()

bool ml::DcmDRTReferencedControlPointSequenceInterface::setReferencedStartControlPointIndex ( unsigned long idx,
std::string parameter )

◆ setReferencedStopControlPointIndex()

bool ml::DcmDRTReferencedControlPointSequenceInterface::setReferencedStopControlPointIndex ( unsigned long idx,
std::string parameter )

◆ setSequence()

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

Set the DRTReferencedControlPointSequence this interface class provides access to.

Parameters
dcmSequencePointer to DRTReferencedControlPointSequence

Definition at line 112 of file mlDcmDRTReferencedControlPointSequenceInterface.h.

References mlrange_cast().

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

Member Data Documentation

◆ _itemVec

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

Reference to the wrapped DICOM tree pointer vector.

Definition at line 180 of file mlDcmDRTReferencedControlPointSequenceInterface.h.


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