MeVisLab Toolbox Reference
ml::DcmDRTCorrectedParameterSequenceInterface Class Reference

Class to provide access to DRTCorrectedParameterSequence. More...

#include <mlDcmDRTCorrectedParameterSequenceInterface.h>

Classes

class  Item
 

Public Member Functions

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

Detailed Description

Class to provide access to DRTCorrectedParameterSequence.

Definition at line 43 of file mlDcmDRTCorrectedParameterSequenceInterface.h.

Constructor & Destructor Documentation

◆ DcmDRTCorrectedParameterSequenceInterface() [1/3]

ml::DcmDRTCorrectedParameterSequenceInterface::DcmDRTCorrectedParameterSequenceInterface ( )
inline

◆ DcmDRTCorrectedParameterSequenceInterface() [2/3]

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

Default Constructor.

Definition at line 86 of file mlDcmDRTCorrectedParameterSequenceInterface.h.

◆ DcmDRTCorrectedParameterSequenceInterface() [3/3]

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

Definition at line 88 of file mlDcmDRTCorrectedParameterSequenceInterface.h.

References mlrange_cast().

◆ ~DcmDRTCorrectedParameterSequenceInterface()

virtual ml::DcmDRTCorrectedParameterSequenceInterface::~DcmDRTCorrectedParameterSequenceInterface ( )
inlinevirtual

Default virtual Destructor.

Definition at line 96 of file mlDcmDRTCorrectedParameterSequenceInterface.h.

Member Function Documentation

◆ addItem() [1/2]

DcmDRTCorrectedParameterSequenceInterface::Item & ml::DcmDRTCorrectedParameterSequenceInterface::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 mlDcmDRTCorrectedParameterSequenceInterface.h.

◆ addItem() [2/2]

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

Definition at line 150 of file mlDcmDRTCorrectedParameterSequenceInterface.h.

References mlrange_cast().

◆ getCorrectionValue() [1/2]

bool ml::DcmDRTCorrectedParameterSequenceInterface::getCorrectionValue ( DCMTree::TreePtr item,
float & parameter ) const

◆ getCorrectionValue() [2/2]

bool ml::DcmDRTCorrectedParameterSequenceInterface::getCorrectionValue ( unsigned long idx,
float & parameter ) const

◆ getCorrectionValueTag()

std::string ml::DcmDRTCorrectedParameterSequenceInterface::getCorrectionValueTag ( ) const
inline

◆ getItem()

DcmDRTCorrectedParameterSequenceInterface::Item ml::DcmDRTCorrectedParameterSequenceInterface::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 mlDcmDRTCorrectedParameterSequenceInterface.h.

References mlrange_cast().

◆ getNumberOfItems()

MLint ml::DcmDRTCorrectedParameterSequenceInterface::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 mlDcmDRTCorrectedParameterSequenceInterface.h.

◆ getParameterItemIndex() [1/2]

bool ml::DcmDRTCorrectedParameterSequenceInterface::getParameterItemIndex ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getParameterItemIndex() [2/2]

bool ml::DcmDRTCorrectedParameterSequenceInterface::getParameterItemIndex ( unsigned long idx,
std::string & parameter ) const

◆ getParameterItemIndexTag()

std::string ml::DcmDRTCorrectedParameterSequenceInterface::getParameterItemIndexTag ( ) const
inline

◆ getSequence()

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

Return the DRTCorrectedParameterSequence this interface class provides access to.

Parameters
dcmSequencePointer to DRTCorrectedParameterSequence

Definition at line 118 of file mlDcmDRTCorrectedParameterSequenceInterface.h.

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

◆ hasSequence()

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

Check if the DRTCorrectedParameterSequence is set.

Returns
True if internal pointer is set, False else.

Definition at line 124 of file mlDcmDRTCorrectedParameterSequenceInterface.h.

◆ insertItem()

bool ml::DcmDRTCorrectedParameterSequenceInterface::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 mlDcmDRTCorrectedParameterSequenceInterface.h.

References mlrange_cast().

◆ removeItem()

bool ml::DcmDRTCorrectedParameterSequenceInterface::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 mlDcmDRTCorrectedParameterSequenceInterface.h.

References mlrange_cast().

◆ setCorrectionValue()

bool ml::DcmDRTCorrectedParameterSequenceInterface::setCorrectionValue ( unsigned long idx,
float parameter )

◆ setParameterItemIndex()

bool ml::DcmDRTCorrectedParameterSequenceInterface::setParameterItemIndex ( unsigned long idx,
std::string parameter )

◆ setSequence()

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

Set the DRTCorrectedParameterSequence this interface class provides access to.

Parameters
dcmSequencePointer to DRTCorrectedParameterSequence

Definition at line 112 of file mlDcmDRTCorrectedParameterSequenceInterface.h.

References mlrange_cast().

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

Member Data Documentation

◆ _itemVec

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

Reference to the wrapped DICOM tree pointer vector.

Definition at line 180 of file mlDcmDRTCorrectedParameterSequenceInterface.h.


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