MeVisLab Toolbox Reference
ml::DcmDRTROIPhysicalPropertiesSequenceInterface Class Reference

Class to provide access to DRTROIPhysicalPropertiesSequence. More...

#include <mlDcmDRTROIPhysicalPropertiesSequenceInterface.h>

Classes

class  Item
 

Public Member Functions

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

Detailed Description

Class to provide access to DRTROIPhysicalPropertiesSequence.

Definition at line 43 of file mlDcmDRTROIPhysicalPropertiesSequenceInterface.h.

Constructor & Destructor Documentation

◆ DcmDRTROIPhysicalPropertiesSequenceInterface() [1/3]

ml::DcmDRTROIPhysicalPropertiesSequenceInterface::DcmDRTROIPhysicalPropertiesSequenceInterface ( )
inline

◆ DcmDRTROIPhysicalPropertiesSequenceInterface() [2/3]

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

Default Constructor.

Definition at line 86 of file mlDcmDRTROIPhysicalPropertiesSequenceInterface.h.

◆ DcmDRTROIPhysicalPropertiesSequenceInterface() [3/3]

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

Definition at line 88 of file mlDcmDRTROIPhysicalPropertiesSequenceInterface.h.

References mlrange_cast().

◆ ~DcmDRTROIPhysicalPropertiesSequenceInterface()

virtual ml::DcmDRTROIPhysicalPropertiesSequenceInterface::~DcmDRTROIPhysicalPropertiesSequenceInterface ( )
inlinevirtual

Default virtual Destructor.

Definition at line 96 of file mlDcmDRTROIPhysicalPropertiesSequenceInterface.h.

Member Function Documentation

◆ addItem() [1/2]

DcmDRTROIPhysicalPropertiesSequenceInterface::Item & ml::DcmDRTROIPhysicalPropertiesSequenceInterface::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 mlDcmDRTROIPhysicalPropertiesSequenceInterface.h.

◆ addItem() [2/2]

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

Definition at line 150 of file mlDcmDRTROIPhysicalPropertiesSequenceInterface.h.

References mlrange_cast().

◆ getItem()

DcmDRTROIPhysicalPropertiesSequenceInterface::Item ml::DcmDRTROIPhysicalPropertiesSequenceInterface::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 mlDcmDRTROIPhysicalPropertiesSequenceInterface.h.

References mlrange_cast().

◆ getNumberOfItems()

MLint ml::DcmDRTROIPhysicalPropertiesSequenceInterface::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 mlDcmDRTROIPhysicalPropertiesSequenceInterface.h.

◆ getROIPhysicalProperty() [1/2]

bool ml::DcmDRTROIPhysicalPropertiesSequenceInterface::getROIPhysicalProperty ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getROIPhysicalProperty() [2/2]

bool ml::DcmDRTROIPhysicalPropertiesSequenceInterface::getROIPhysicalProperty ( unsigned long idx,
std::string & parameter ) const

◆ getROIPhysicalPropertyTag()

std::string ml::DcmDRTROIPhysicalPropertiesSequenceInterface::getROIPhysicalPropertyTag ( ) const
inline

◆ getROIPhysicalPropertyValue() [1/2]

bool ml::DcmDRTROIPhysicalPropertiesSequenceInterface::getROIPhysicalPropertyValue ( DCMTree::TreePtr item,
std::string & parameter ) const

◆ getROIPhysicalPropertyValue() [2/2]

bool ml::DcmDRTROIPhysicalPropertiesSequenceInterface::getROIPhysicalPropertyValue ( unsigned long idx,
std::string & parameter ) const

◆ getROIPhysicalPropertyValueTag()

std::string ml::DcmDRTROIPhysicalPropertiesSequenceInterface::getROIPhysicalPropertyValueTag ( ) const
inline

◆ getSequence()

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

Return the DRTROIPhysicalPropertiesSequence this interface class provides access to.

Parameters
dcmSequencePointer to DRTROIPhysicalPropertiesSequence

Definition at line 118 of file mlDcmDRTROIPhysicalPropertiesSequenceInterface.h.

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

◆ hasSequence()

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

Check if the DRTROIPhysicalPropertiesSequence is set.

Returns
True if internal pointer is set, False else.

Definition at line 124 of file mlDcmDRTROIPhysicalPropertiesSequenceInterface.h.

◆ insertItem()

bool ml::DcmDRTROIPhysicalPropertiesSequenceInterface::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 mlDcmDRTROIPhysicalPropertiesSequenceInterface.h.

References mlrange_cast().

◆ removeItem()

bool ml::DcmDRTROIPhysicalPropertiesSequenceInterface::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 mlDcmDRTROIPhysicalPropertiesSequenceInterface.h.

References mlrange_cast().

◆ setROIPhysicalProperty()

bool ml::DcmDRTROIPhysicalPropertiesSequenceInterface::setROIPhysicalProperty ( unsigned long idx,
std::string parameter )

◆ setROIPhysicalPropertyValue()

bool ml::DcmDRTROIPhysicalPropertiesSequenceInterface::setROIPhysicalPropertyValue ( unsigned long idx,
std::string parameter )

◆ setSequence()

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

Set the DRTROIPhysicalPropertiesSequence this interface class provides access to.

Parameters
dcmSequencePointer to DRTROIPhysicalPropertiesSequence

Definition at line 112 of file mlDcmDRTROIPhysicalPropertiesSequenceInterface.h.

References mlrange_cast().

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

Member Data Documentation

◆ _itemVec

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

Reference to the wrapped DICOM tree pointer vector.

Definition at line 180 of file mlDcmDRTROIPhysicalPropertiesSequenceInterface.h.


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