MeVisLab Toolbox Reference
ml::DcmDRTFixationDeviceSequenceInterface Class Reference

Class to provide access to DRTFixationDeviceSequence. More...

#include <mlDcmDRTFixationDeviceSequenceInterface.h>

Classes

class  Item
 

Public Member Functions

 DcmDRTFixationDeviceSequenceInterface ()
 
 DcmDRTFixationDeviceSequenceInterface (std::vector< DcmDRTFixationDeviceSequenceInterface::Item > dcmSequence)
 Default Constructor.
 
 DcmDRTFixationDeviceSequenceInterface (DCMTree::TreePtrVector treePtrSeq)
 
virtual ~DcmDRTFixationDeviceSequenceInterface ()
 Default virtual Destructor.
 
bool getAccessoryCode (unsigned long idx, std::string &parameter) const
 
bool getAccessoryCode (DCMTree::TreePtr item, std::string &parameter) const
 
std::string getAccessoryCodeTag () const
 
bool setAccessoryCode (unsigned long idx, std::string parameter)
 
bool getFixationDeviceDescription (unsigned long idx, std::string &parameter) const
 
bool getFixationDeviceDescription (DCMTree::TreePtr item, std::string &parameter) const
 
std::string getFixationDeviceDescriptionTag () const
 
bool setFixationDeviceDescription (unsigned long idx, std::string parameter)
 
bool getFixationDeviceLabel (unsigned long idx, std::string &parameter) const
 
bool getFixationDeviceLabel (DCMTree::TreePtr item, std::string &parameter) const
 
std::string getFixationDeviceLabelTag () const
 
bool setFixationDeviceLabel (unsigned long idx, std::string parameter)
 
bool getFixationDevicePitchAngle (unsigned long idx, float &parameter) const
 
bool getFixationDevicePitchAngle (DCMTree::TreePtr item, float &parameter) const
 
std::string getFixationDevicePitchAngleTag () const
 
bool setFixationDevicePitchAngle (unsigned long idx, float parameter)
 
bool getFixationDevicePosition (unsigned long idx, std::string &parameter) const
 
bool getFixationDevicePosition (DCMTree::TreePtr item, std::string &parameter) const
 
std::string getFixationDevicePositionTag () const
 
bool setFixationDevicePosition (unsigned long idx, std::string parameter)
 
bool getFixationDeviceRollAngle (unsigned long idx, float &parameter) const
 
bool getFixationDeviceRollAngle (DCMTree::TreePtr item, float &parameter) const
 
std::string getFixationDeviceRollAngleTag () const
 
bool setFixationDeviceRollAngle (unsigned long idx, float parameter)
 
bool getFixationDeviceType (unsigned long idx, std::string &parameter) const
 
bool getFixationDeviceType (DCMTree::TreePtr item, std::string &parameter) const
 
std::string getFixationDeviceTypeTag () const
 
bool setFixationDeviceType (unsigned long idx, std::string parameter)
 
void setSequence (std::vector< DcmDRTFixationDeviceSequenceInterface::Item > dcmSequence)
 Set the DRTFixationDeviceSequence this interface class provides access to.
 
std::vector< DcmDRTFixationDeviceSequenceInterface::ItemgetSequence () const
 Return the DRTFixationDeviceSequence this interface class provides access to.
 
bool hasSequence () const
 Check if the DRTFixationDeviceSequence is set.
 
MLint getNumberOfItems () const
 Return number of items the internal sequence consists of.
 
DcmDRTFixationDeviceSequenceInterface::Item getItem (const size_t idx) const
 Gets the item at the indicated position.
 
DcmDRTFixationDeviceSequenceInterface::ItemaddItem ()
 Adds a new item to the sequence.
 
void addItem (DcmDRTFixationDeviceSequenceInterface::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< DcmDRTFixationDeviceSequenceInterface::Item_itemVec
 Reference to the wrapped DICOM tree pointer vector.
 

Detailed Description

Class to provide access to DRTFixationDeviceSequence.

Definition at line 43 of file mlDcmDRTFixationDeviceSequenceInterface.h.

Constructor & Destructor Documentation

◆ DcmDRTFixationDeviceSequenceInterface() [1/3]

ml::DcmDRTFixationDeviceSequenceInterface::DcmDRTFixationDeviceSequenceInterface ( )
inline

Definition at line 108 of file mlDcmDRTFixationDeviceSequenceInterface.h.

◆ DcmDRTFixationDeviceSequenceInterface() [2/3]

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

Default Constructor.

Definition at line 111 of file mlDcmDRTFixationDeviceSequenceInterface.h.

◆ DcmDRTFixationDeviceSequenceInterface() [3/3]

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

Definition at line 113 of file mlDcmDRTFixationDeviceSequenceInterface.h.

References mlrange_cast().

◆ ~DcmDRTFixationDeviceSequenceInterface()

virtual ml::DcmDRTFixationDeviceSequenceInterface::~DcmDRTFixationDeviceSequenceInterface ( )
inlinevirtual

Default virtual Destructor.

Definition at line 121 of file mlDcmDRTFixationDeviceSequenceInterface.h.

Member Function Documentation

◆ addItem() [1/2]

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

Adds a new item to the sequence.

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

Definition at line 200 of file mlDcmDRTFixationDeviceSequenceInterface.h.

◆ addItem() [2/2]

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

Definition at line 205 of file mlDcmDRTFixationDeviceSequenceInterface.h.

References mlrange_cast().

◆ getAccessoryCode() [1/2]

bool ml::DcmDRTFixationDeviceSequenceInterface::getAccessoryCode ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getAccessoryCode() [2/2]

bool ml::DcmDRTFixationDeviceSequenceInterface::getAccessoryCode ( unsigned long idx,
std::string & parameter ) const

◆ getAccessoryCodeTag()

std::string ml::DcmDRTFixationDeviceSequenceInterface::getAccessoryCodeTag ( ) const
inline

◆ getFixationDeviceDescription() [1/2]

bool ml::DcmDRTFixationDeviceSequenceInterface::getFixationDeviceDescription ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getFixationDeviceDescription() [2/2]

bool ml::DcmDRTFixationDeviceSequenceInterface::getFixationDeviceDescription ( unsigned long idx,
std::string & parameter ) const

◆ getFixationDeviceDescriptionTag()

std::string ml::DcmDRTFixationDeviceSequenceInterface::getFixationDeviceDescriptionTag ( ) const
inline

◆ getFixationDeviceLabel() [1/2]

bool ml::DcmDRTFixationDeviceSequenceInterface::getFixationDeviceLabel ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getFixationDeviceLabel() [2/2]

bool ml::DcmDRTFixationDeviceSequenceInterface::getFixationDeviceLabel ( unsigned long idx,
std::string & parameter ) const

◆ getFixationDeviceLabelTag()

std::string ml::DcmDRTFixationDeviceSequenceInterface::getFixationDeviceLabelTag ( ) const
inline

◆ getFixationDevicePitchAngle() [1/2]

bool ml::DcmDRTFixationDeviceSequenceInterface::getFixationDevicePitchAngle ( DCMTree::TreePtr item,
float & parameter ) const

◆ getFixationDevicePitchAngle() [2/2]

bool ml::DcmDRTFixationDeviceSequenceInterface::getFixationDevicePitchAngle ( unsigned long idx,
float & parameter ) const

◆ getFixationDevicePitchAngleTag()

std::string ml::DcmDRTFixationDeviceSequenceInterface::getFixationDevicePitchAngleTag ( ) const
inline

◆ getFixationDevicePosition() [1/2]

bool ml::DcmDRTFixationDeviceSequenceInterface::getFixationDevicePosition ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getFixationDevicePosition() [2/2]

bool ml::DcmDRTFixationDeviceSequenceInterface::getFixationDevicePosition ( unsigned long idx,
std::string & parameter ) const

◆ getFixationDevicePositionTag()

std::string ml::DcmDRTFixationDeviceSequenceInterface::getFixationDevicePositionTag ( ) const
inline

◆ getFixationDeviceRollAngle() [1/2]

bool ml::DcmDRTFixationDeviceSequenceInterface::getFixationDeviceRollAngle ( DCMTree::TreePtr item,
float & parameter ) const

◆ getFixationDeviceRollAngle() [2/2]

bool ml::DcmDRTFixationDeviceSequenceInterface::getFixationDeviceRollAngle ( unsigned long idx,
float & parameter ) const

◆ getFixationDeviceRollAngleTag()

std::string ml::DcmDRTFixationDeviceSequenceInterface::getFixationDeviceRollAngleTag ( ) const
inline

◆ getFixationDeviceType() [1/2]

bool ml::DcmDRTFixationDeviceSequenceInterface::getFixationDeviceType ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getFixationDeviceType() [2/2]

bool ml::DcmDRTFixationDeviceSequenceInterface::getFixationDeviceType ( unsigned long idx,
std::string & parameter ) const

◆ getFixationDeviceTypeTag()

std::string ml::DcmDRTFixationDeviceSequenceInterface::getFixationDeviceTypeTag ( ) const
inline

◆ getItem()

DcmDRTFixationDeviceSequenceInterface::Item ml::DcmDRTFixationDeviceSequenceInterface::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 191 of file mlDcmDRTFixationDeviceSequenceInterface.h.

References mlrange_cast().

◆ getNumberOfItems()

MLint ml::DcmDRTFixationDeviceSequenceInterface::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 185 of file mlDcmDRTFixationDeviceSequenceInterface.h.

◆ getSequence()

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

Return the DRTFixationDeviceSequence this interface class provides access to.

Parameters
dcmSequencePointer to DRTFixationDeviceSequence

Definition at line 173 of file mlDcmDRTFixationDeviceSequenceInterface.h.

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

◆ hasSequence()

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

Check if the DRTFixationDeviceSequence is set.

Returns
True if internal pointer is set, False else.

Definition at line 179 of file mlDcmDRTFixationDeviceSequenceInterface.h.

◆ insertItem()

bool ml::DcmDRTFixationDeviceSequenceInterface::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 211 of file mlDcmDRTFixationDeviceSequenceInterface.h.

References mlrange_cast().

◆ removeItem()

bool ml::DcmDRTFixationDeviceSequenceInterface::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 223 of file mlDcmDRTFixationDeviceSequenceInterface.h.

References mlrange_cast().

◆ setAccessoryCode()

bool ml::DcmDRTFixationDeviceSequenceInterface::setAccessoryCode ( unsigned long idx,
std::string parameter )

◆ setFixationDeviceDescription()

bool ml::DcmDRTFixationDeviceSequenceInterface::setFixationDeviceDescription ( unsigned long idx,
std::string parameter )

◆ setFixationDeviceLabel()

bool ml::DcmDRTFixationDeviceSequenceInterface::setFixationDeviceLabel ( unsigned long idx,
std::string parameter )

◆ setFixationDevicePitchAngle()

bool ml::DcmDRTFixationDeviceSequenceInterface::setFixationDevicePitchAngle ( unsigned long idx,
float parameter )

◆ setFixationDevicePosition()

bool ml::DcmDRTFixationDeviceSequenceInterface::setFixationDevicePosition ( unsigned long idx,
std::string parameter )

◆ setFixationDeviceRollAngle()

bool ml::DcmDRTFixationDeviceSequenceInterface::setFixationDeviceRollAngle ( unsigned long idx,
float parameter )

◆ setFixationDeviceType()

bool ml::DcmDRTFixationDeviceSequenceInterface::setFixationDeviceType ( unsigned long idx,
std::string parameter )

◆ setSequence()

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

Set the DRTFixationDeviceSequence this interface class provides access to.

Parameters
dcmSequencePointer to DRTFixationDeviceSequence

Definition at line 167 of file mlDcmDRTFixationDeviceSequenceInterface.h.

References mlrange_cast().

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

Member Data Documentation

◆ _itemVec

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

Reference to the wrapped DICOM tree pointer vector.

Definition at line 235 of file mlDcmDRTFixationDeviceSequenceInterface.h.


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