MeVisLab Toolbox Reference
ml::DcmDRTFrameOfReferenceRelationshipSequenceInterface Class Reference

Class to provide access to DRTFrameOfReferenceRelationshipSequence. More...

#include <mlDcmDRTFrameOfReferenceRelationshipSequenceInterface.h>

Classes

class  Item
 

Public Member Functions

 DcmDRTFrameOfReferenceRelationshipSequenceInterface ()
 
 DcmDRTFrameOfReferenceRelationshipSequenceInterface (std::vector< DcmDRTFrameOfReferenceRelationshipSequenceInterface::Item > dcmSequence)
 Default Constructor. More...
 
 DcmDRTFrameOfReferenceRelationshipSequenceInterface (DCMTree::TreePtrVector treePtrSeq)
 
virtual ~DcmDRTFrameOfReferenceRelationshipSequenceInterface ()
 Default virtual Destructor. More...
 
bool getFrameOfReferenceTransformationComment (unsigned long idx, std::string &parameter) const
 
bool getFrameOfReferenceTransformationComment (DCMTree::TreePtr item, std::string &parameter) const
 
std::string getFrameOfReferenceTransformationCommentTag () const
 
bool setFrameOfReferenceTransformationComment (unsigned long idx, std::string parameter)
 
bool getFrameOfReferenceTransformationMatrix (unsigned long idx, std::string &parameter) const
 
bool getFrameOfReferenceTransformationMatrix (DCMTree::TreePtr item, std::string &parameter) const
 
std::string getFrameOfReferenceTransformationMatrixTag () const
 
bool setFrameOfReferenceTransformationMatrix (unsigned long idx, std::string parameter)
 
bool getFrameOfReferenceTransformationType (unsigned long idx, std::string &parameter) const
 
bool getFrameOfReferenceTransformationType (DCMTree::TreePtr item, std::string &parameter) const
 
std::string getFrameOfReferenceTransformationTypeTag () const
 
bool setFrameOfReferenceTransformationType (unsigned long idx, std::string parameter)
 
bool getRelatedFrameOfReferenceUID (unsigned long idx, std::string &parameter) const
 
bool getRelatedFrameOfReferenceUID (DCMTree::TreePtr item, std::string &parameter) const
 
std::string getRelatedFrameOfReferenceUIDTag () const
 
bool setRelatedFrameOfReferenceUID (unsigned long idx, std::string parameter)
 
void setSequence (std::vector< DcmDRTFrameOfReferenceRelationshipSequenceInterface::Item > dcmSequence)
 Set the DRTFrameOfReferenceRelationshipSequence this interface class provides access to. More...
 
std::vector< DcmDRTFrameOfReferenceRelationshipSequenceInterface::ItemgetSequence () const
 Return the DRTFrameOfReferenceRelationshipSequence this interface class provides access to. More...
 
bool hasSequence () const
 Check if the DRTFrameOfReferenceRelationshipSequence is set. More...
 
MLint getNumberOfItems () const
 Return number of items the internal sequence consists of. More...
 
DcmDRTFrameOfReferenceRelationshipSequenceInterface::Item getItem (const size_t idx) const
 Gets the item at the indicated position. More...
 
DcmDRTFrameOfReferenceRelationshipSequenceInterface::ItemaddItem ()
 Adds a new item to the sequence. More...
 
void addItem (DcmDRTFrameOfReferenceRelationshipSequenceInterface::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< DcmDRTFrameOfReferenceRelationshipSequenceInterface::Item_itemVec
 Reference to the wrapped DICOM tree pointer vector. More...
 

Detailed Description

Class to provide access to DRTFrameOfReferenceRelationshipSequence.

Definition at line 43 of file mlDcmDRTFrameOfReferenceRelationshipSequenceInterface.h.

Constructor & Destructor Documentation

◆ DcmDRTFrameOfReferenceRelationshipSequenceInterface() [1/3]

ml::DcmDRTFrameOfReferenceRelationshipSequenceInterface::DcmDRTFrameOfReferenceRelationshipSequenceInterface ( )
inline

◆ DcmDRTFrameOfReferenceRelationshipSequenceInterface() [2/3]

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

Default Constructor.

Definition at line 96 of file mlDcmDRTFrameOfReferenceRelationshipSequenceInterface.h.

◆ DcmDRTFrameOfReferenceRelationshipSequenceInterface() [3/3]

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

◆ ~DcmDRTFrameOfReferenceRelationshipSequenceInterface()

virtual ml::DcmDRTFrameOfReferenceRelationshipSequenceInterface::~DcmDRTFrameOfReferenceRelationshipSequenceInterface ( )
inlinevirtual

Default virtual Destructor.

Definition at line 106 of file mlDcmDRTFrameOfReferenceRelationshipSequenceInterface.h.

Member Function Documentation

◆ addItem() [1/2]

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

Adds a new item to the sequence.

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

Definition at line 167 of file mlDcmDRTFrameOfReferenceRelationshipSequenceInterface.h.

◆ addItem() [2/2]

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

◆ getFrameOfReferenceTransformationComment() [1/2]

bool ml::DcmDRTFrameOfReferenceRelationshipSequenceInterface::getFrameOfReferenceTransformationComment ( DCMTree::TreePtr  item,
std::string &  parameter 
) const

◆ getFrameOfReferenceTransformationComment() [2/2]

bool ml::DcmDRTFrameOfReferenceRelationshipSequenceInterface::getFrameOfReferenceTransformationComment ( unsigned long  idx,
std::string &  parameter 
) const

◆ getFrameOfReferenceTransformationCommentTag()

std::string ml::DcmDRTFrameOfReferenceRelationshipSequenceInterface::getFrameOfReferenceTransformationCommentTag ( ) const
inline

◆ getFrameOfReferenceTransformationMatrix() [1/2]

bool ml::DcmDRTFrameOfReferenceRelationshipSequenceInterface::getFrameOfReferenceTransformationMatrix ( DCMTree::TreePtr  item,
std::string &  parameter 
) const

◆ getFrameOfReferenceTransformationMatrix() [2/2]

bool ml::DcmDRTFrameOfReferenceRelationshipSequenceInterface::getFrameOfReferenceTransformationMatrix ( unsigned long  idx,
std::string &  parameter 
) const

◆ getFrameOfReferenceTransformationMatrixTag()

std::string ml::DcmDRTFrameOfReferenceRelationshipSequenceInterface::getFrameOfReferenceTransformationMatrixTag ( ) const
inline

◆ getFrameOfReferenceTransformationType() [1/2]

bool ml::DcmDRTFrameOfReferenceRelationshipSequenceInterface::getFrameOfReferenceTransformationType ( DCMTree::TreePtr  item,
std::string &  parameter 
) const

◆ getFrameOfReferenceTransformationType() [2/2]

bool ml::DcmDRTFrameOfReferenceRelationshipSequenceInterface::getFrameOfReferenceTransformationType ( unsigned long  idx,
std::string &  parameter 
) const

◆ getFrameOfReferenceTransformationTypeTag()

std::string ml::DcmDRTFrameOfReferenceRelationshipSequenceInterface::getFrameOfReferenceTransformationTypeTag ( ) const
inline

◆ getItem()

DcmDRTFrameOfReferenceRelationshipSequenceInterface::Item ml::DcmDRTFrameOfReferenceRelationshipSequenceInterface::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 158 of file mlDcmDRTFrameOfReferenceRelationshipSequenceInterface.h.

◆ getNumberOfItems()

MLint ml::DcmDRTFrameOfReferenceRelationshipSequenceInterface::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 152 of file mlDcmDRTFrameOfReferenceRelationshipSequenceInterface.h.

◆ getRelatedFrameOfReferenceUID() [1/2]

bool ml::DcmDRTFrameOfReferenceRelationshipSequenceInterface::getRelatedFrameOfReferenceUID ( DCMTree::TreePtr  item,
std::string &  parameter 
) const

◆ getRelatedFrameOfReferenceUID() [2/2]

bool ml::DcmDRTFrameOfReferenceRelationshipSequenceInterface::getRelatedFrameOfReferenceUID ( unsigned long  idx,
std::string &  parameter 
) const

◆ getRelatedFrameOfReferenceUIDTag()

std::string ml::DcmDRTFrameOfReferenceRelationshipSequenceInterface::getRelatedFrameOfReferenceUIDTag ( ) const
inline

◆ getSequence()

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

Return the DRTFrameOfReferenceRelationshipSequence this interface class provides access to.

Parameters
dcmSequencePointer to DRTFrameOfReferenceRelationshipSequence

Definition at line 140 of file mlDcmDRTFrameOfReferenceRelationshipSequenceInterface.h.

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

◆ hasSequence()

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

Check if the DRTFrameOfReferenceRelationshipSequence is set.

Returns
True if internal pointer is set, False else.

Definition at line 146 of file mlDcmDRTFrameOfReferenceRelationshipSequenceInterface.h.

◆ insertItem()

bool ml::DcmDRTFrameOfReferenceRelationshipSequenceInterface::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 178 of file mlDcmDRTFrameOfReferenceRelationshipSequenceInterface.h.

◆ removeItem()

bool ml::DcmDRTFrameOfReferenceRelationshipSequenceInterface::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 190 of file mlDcmDRTFrameOfReferenceRelationshipSequenceInterface.h.

◆ setFrameOfReferenceTransformationComment()

bool ml::DcmDRTFrameOfReferenceRelationshipSequenceInterface::setFrameOfReferenceTransformationComment ( unsigned long  idx,
std::string  parameter 
)

◆ setFrameOfReferenceTransformationMatrix()

bool ml::DcmDRTFrameOfReferenceRelationshipSequenceInterface::setFrameOfReferenceTransformationMatrix ( unsigned long  idx,
std::string  parameter 
)

◆ setFrameOfReferenceTransformationType()

bool ml::DcmDRTFrameOfReferenceRelationshipSequenceInterface::setFrameOfReferenceTransformationType ( unsigned long  idx,
std::string  parameter 
)

◆ setRelatedFrameOfReferenceUID()

bool ml::DcmDRTFrameOfReferenceRelationshipSequenceInterface::setRelatedFrameOfReferenceUID ( unsigned long  idx,
std::string  parameter 
)

◆ setSequence()

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

Set the DRTFrameOfReferenceRelationshipSequence this interface class provides access to.

Parameters
dcmSequencePointer to DRTFrameOfReferenceRelationshipSequence

Definition at line 134 of file mlDcmDRTFrameOfReferenceRelationshipSequenceInterface.h.

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

Member Data Documentation

◆ _itemVec

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

Reference to the wrapped DICOM tree pointer vector.

Definition at line 202 of file mlDcmDRTFrameOfReferenceRelationshipSequenceInterface.h.


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