MeVisLab Toolbox Reference
ml::DcmDRTBrachyControlPointSequenceInterface Class Reference

Class to provide access to DRTBrachyControlPointSequence. More...

#include <mlDcmDRTBrachyControlPointSequenceInterface.h>

Classes

class  Item
 

Public Member Functions

 DcmDRTBrachyControlPointSequenceInterface ()
 
 DcmDRTBrachyControlPointSequenceInterface (std::vector< DcmDRTBrachyControlPointSequenceInterface::Item > dcmSequence)
 Default Constructor. More...
 
 DcmDRTBrachyControlPointSequenceInterface (DCMTree::TreePtrVector treePtrSeq)
 
virtual ~DcmDRTBrachyControlPointSequenceInterface ()
 Default virtual Destructor. More...
 
bool getControlPoint3DPosition (unsigned long idx, std::string &parameter) const
 
bool getControlPoint3DPosition (DCMTree::TreePtr item, std::string &parameter) const
 
std::string getControlPoint3DPositionTag () const
 
bool setControlPoint3DPosition (unsigned long idx, std::string parameter)
 
bool getControlPointIndex (unsigned long idx, std::string &parameter) const
 
bool getControlPointIndex (DCMTree::TreePtr item, std::string &parameter) const
 
std::string getControlPointIndexTag () const
 
bool setControlPointIndex (unsigned long idx, std::string parameter)
 
bool getControlPointRelativePosition (unsigned long idx, std::string &parameter) const
 
bool getControlPointRelativePosition (DCMTree::TreePtr item, std::string &parameter) const
 
std::string getControlPointRelativePositionTag () const
 
bool setControlPointRelativePosition (unsigned long idx, std::string parameter)
 
bool getCumulativeTimeWeight (unsigned long idx, std::string &parameter) const
 
bool getCumulativeTimeWeight (DCMTree::TreePtr item, std::string &parameter) const
 
std::string getCumulativeTimeWeightTag () const
 
bool setCumulativeTimeWeight (unsigned long idx, std::string parameter)
 
DcmDRTBrachyReferencedDoseReferenceSequenceInterface getBrachyReferencedDoseReferenceSequence (unsigned long idx) const
 
std::string getBrachyReferencedDoseReferenceSequenceTag () const
 
void setBrachyReferencedDoseReferenceSequence (DcmDRTBrachyReferencedDoseReferenceSequenceInterface seq, unsigned long idx)
 
void setSequence (std::vector< DcmDRTBrachyControlPointSequenceInterface::Item > dcmSequence)
 Set the DRTBrachyControlPointSequence this interface class provides access to. More...
 
std::vector< DcmDRTBrachyControlPointSequenceInterface::ItemgetSequence () const
 Return the DRTBrachyControlPointSequence this interface class provides access to. More...
 
bool hasSequence () const
 Check if the DRTBrachyControlPointSequence is set. More...
 
MLint getNumberOfItems () const
 Return number of items the internal sequence consists of. More...
 
DcmDRTBrachyControlPointSequenceInterface::Item getItem (const size_t idx) const
 Gets the item at the indicated position. More...
 
DcmDRTBrachyControlPointSequenceInterface::ItemaddItem ()
 Adds a new item to the sequence. More...
 
void addItem (DcmDRTBrachyControlPointSequenceInterface::Item newItem)
 
bool insertItem (const size_t idx)
 Insert an item at the indicated position. More...
 
bool removeItem (const size_t idx)
 Removes the indicated item from the sequence. More...
 

Protected Attributes

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

Detailed Description

Class to provide access to DRTBrachyControlPointSequence.

Definition at line 44 of file mlDcmDRTBrachyControlPointSequenceInterface.h.

Constructor & Destructor Documentation

◆ DcmDRTBrachyControlPointSequenceInterface() [1/3]

ml::DcmDRTBrachyControlPointSequenceInterface::DcmDRTBrachyControlPointSequenceInterface ( )
inline

◆ DcmDRTBrachyControlPointSequenceInterface() [2/3]

ml::DcmDRTBrachyControlPointSequenceInterface::DcmDRTBrachyControlPointSequenceInterface ( std::vector< DcmDRTBrachyControlPointSequenceInterface::Item dcmSequence)
inline

Default Constructor.

Definition at line 102 of file mlDcmDRTBrachyControlPointSequenceInterface.h.

◆ DcmDRTBrachyControlPointSequenceInterface() [3/3]

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

◆ ~DcmDRTBrachyControlPointSequenceInterface()

virtual ml::DcmDRTBrachyControlPointSequenceInterface::~DcmDRTBrachyControlPointSequenceInterface ( )
inlinevirtual

Default virtual Destructor.

Definition at line 112 of file mlDcmDRTBrachyControlPointSequenceInterface.h.

Member Function Documentation

◆ addItem() [1/2]

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

Adds a new item to the sequence.

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

Definition at line 178 of file mlDcmDRTBrachyControlPointSequenceInterface.h.

◆ addItem() [2/2]

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

◆ getBrachyReferencedDoseReferenceSequence()

DcmDRTBrachyReferencedDoseReferenceSequenceInterface ml::DcmDRTBrachyControlPointSequenceInterface::getBrachyReferencedDoseReferenceSequence ( unsigned long  idx) const

◆ getBrachyReferencedDoseReferenceSequenceTag()

std::string ml::DcmDRTBrachyControlPointSequenceInterface::getBrachyReferencedDoseReferenceSequenceTag ( ) const
inline

◆ getControlPoint3DPosition() [1/2]

bool ml::DcmDRTBrachyControlPointSequenceInterface::getControlPoint3DPosition ( DCMTree::TreePtr  item,
std::string &  parameter 
) const

◆ getControlPoint3DPosition() [2/2]

bool ml::DcmDRTBrachyControlPointSequenceInterface::getControlPoint3DPosition ( unsigned long  idx,
std::string &  parameter 
) const

◆ getControlPoint3DPositionTag()

std::string ml::DcmDRTBrachyControlPointSequenceInterface::getControlPoint3DPositionTag ( ) const
inline

◆ getControlPointIndex() [1/2]

bool ml::DcmDRTBrachyControlPointSequenceInterface::getControlPointIndex ( DCMTree::TreePtr  item,
std::string &  parameter 
) const

◆ getControlPointIndex() [2/2]

bool ml::DcmDRTBrachyControlPointSequenceInterface::getControlPointIndex ( unsigned long  idx,
std::string &  parameter 
) const

◆ getControlPointIndexTag()

std::string ml::DcmDRTBrachyControlPointSequenceInterface::getControlPointIndexTag ( ) const
inline

◆ getControlPointRelativePosition() [1/2]

bool ml::DcmDRTBrachyControlPointSequenceInterface::getControlPointRelativePosition ( DCMTree::TreePtr  item,
std::string &  parameter 
) const

◆ getControlPointRelativePosition() [2/2]

bool ml::DcmDRTBrachyControlPointSequenceInterface::getControlPointRelativePosition ( unsigned long  idx,
std::string &  parameter 
) const

◆ getControlPointRelativePositionTag()

std::string ml::DcmDRTBrachyControlPointSequenceInterface::getControlPointRelativePositionTag ( ) const
inline

◆ getCumulativeTimeWeight() [1/2]

bool ml::DcmDRTBrachyControlPointSequenceInterface::getCumulativeTimeWeight ( DCMTree::TreePtr  item,
std::string &  parameter 
) const

◆ getCumulativeTimeWeight() [2/2]

bool ml::DcmDRTBrachyControlPointSequenceInterface::getCumulativeTimeWeight ( unsigned long  idx,
std::string &  parameter 
) const

◆ getCumulativeTimeWeightTag()

std::string ml::DcmDRTBrachyControlPointSequenceInterface::getCumulativeTimeWeightTag ( ) const
inline

◆ getItem()

DcmDRTBrachyControlPointSequenceInterface::Item ml::DcmDRTBrachyControlPointSequenceInterface::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 169 of file mlDcmDRTBrachyControlPointSequenceInterface.h.

◆ getNumberOfItems()

MLint ml::DcmDRTBrachyControlPointSequenceInterface::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 163 of file mlDcmDRTBrachyControlPointSequenceInterface.h.

◆ getSequence()

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

Return the DRTBrachyControlPointSequence this interface class provides access to.

Parameters
dcmSequencePointer to DRTBrachyControlPointSequence

Definition at line 151 of file mlDcmDRTBrachyControlPointSequenceInterface.h.

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

◆ hasSequence()

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

Check if the DRTBrachyControlPointSequence is set.

Returns
True if internal pointer is set, False else.

Definition at line 157 of file mlDcmDRTBrachyControlPointSequenceInterface.h.

◆ insertItem()

bool ml::DcmDRTBrachyControlPointSequenceInterface::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 189 of file mlDcmDRTBrachyControlPointSequenceInterface.h.

◆ removeItem()

bool ml::DcmDRTBrachyControlPointSequenceInterface::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 201 of file mlDcmDRTBrachyControlPointSequenceInterface.h.

◆ setBrachyReferencedDoseReferenceSequence()

void ml::DcmDRTBrachyControlPointSequenceInterface::setBrachyReferencedDoseReferenceSequence ( DcmDRTBrachyReferencedDoseReferenceSequenceInterface  seq,
unsigned long  idx 
)

◆ setControlPoint3DPosition()

bool ml::DcmDRTBrachyControlPointSequenceInterface::setControlPoint3DPosition ( unsigned long  idx,
std::string  parameter 
)

◆ setControlPointIndex()

bool ml::DcmDRTBrachyControlPointSequenceInterface::setControlPointIndex ( unsigned long  idx,
std::string  parameter 
)

◆ setControlPointRelativePosition()

bool ml::DcmDRTBrachyControlPointSequenceInterface::setControlPointRelativePosition ( unsigned long  idx,
std::string  parameter 
)

◆ setCumulativeTimeWeight()

bool ml::DcmDRTBrachyControlPointSequenceInterface::setCumulativeTimeWeight ( unsigned long  idx,
std::string  parameter 
)

◆ setSequence()

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

Set the DRTBrachyControlPointSequence this interface class provides access to.

Parameters
dcmSequencePointer to DRTBrachyControlPointSequence

Definition at line 145 of file mlDcmDRTBrachyControlPointSequenceInterface.h.

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

Member Data Documentation

◆ _itemVec

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

Reference to the wrapped DICOM tree pointer vector.

Definition at line 213 of file mlDcmDRTBrachyControlPointSequenceInterface.h.


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