DICOM data. More...
#include <VolumeViz/readers/dicom/SoDicomTag.h>
Public Types | |
enum | VR { AE , AS , AT , CS , DA , DS , DT , FL , FD , IS , LO , LT , OB , OD , OF , OL , OV , OW , PN , SH , SL , SQ , SS , ST , SV , TM , UC , UI , UL , UN , UR , US , UT , UV } |
VRs (Visual Representations) defined in the DICOM standard. More... | |
Public Member Functions | |
SoDicomTag () | |
SoDicomTag (unsigned int id) | |
Create a DICOM tag from its 32 bit id. | |
SoDicomTag (unsigned short group, unsigned short element) | |
Create a DICOM from its group and element values. | |
SoDicomTag (const SbString &name, bool isKeyword=false) | |
Create a DICOM tag from its name in the dictionnary. | |
unsigned int | getId () const |
Get the tag's id ( group and element combined ). | |
unsigned short | getGroup () const |
Get the tag's group. | |
unsigned short | getElement () const |
Get the tag's element. | |
SbString | getName () const |
Returns the tag's name in the dictionary or "Unknown" if not found. | |
SbString | getKeyword () const |
Returns the tag's keyword in the dictionary or "Unknown" if not found. | |
VR | getVR () const |
Get the VR (Visual Representation) associated with this tag in the specification, returning "UN" if the tag is not found. | |
Static Public Member Functions | |
static void | initClass () |
Initialize the DICOM dictionnary. | |
static void | exitClass () |
Free the space allocated to store the DICOM dictionnary. | |
Holds data of a DICOM tag (its ID) and associates them with a DICOM dictionary in order to get information from the specification such as the name and Visual Representation (VR).
SoVRDicomFileReader, SoVRDicomData, SiDicomDataSet, SiDicomElement, SiDicomValue, SiDicomSequence
Definition at line 27 of file SoDicomTag.h.
enum SoDicomTag::VR |
VRs (Visual Representations) defined in the DICOM standard.
Definition at line 35 of file SoDicomTag.h.
|
inline |
Definition at line 83 of file SoDicomTag.h.
SoDicomTag::SoDicomTag | ( | unsigned int | id | ) |
Create a DICOM tag from its 32 bit id.
SoDicomTag::SoDicomTag | ( | unsigned short | group, |
unsigned short | element | ||
) |
Create a DICOM from its group and element values.
SoDicomTag::SoDicomTag | ( | const SbString & | name, |
bool | isKeyword = false |
||
) |
Create a DICOM tag from its name in the dictionnary.
If the name is not in the dictionnary, return a tag with an id of zero. isKeyword could be an enum
|
static |
Free the space allocated to store the DICOM dictionnary.
unsigned short SoDicomTag::getElement | ( | ) | const |
Get the tag's element.
unsigned short SoDicomTag::getGroup | ( | ) | const |
Get the tag's group.
unsigned int SoDicomTag::getId | ( | ) | const |
Get the tag's id ( group and element combined ).
SbString SoDicomTag::getKeyword | ( | ) | const |
Returns the tag's keyword in the dictionary or "Unknown" if not found.
SbString SoDicomTag::getName | ( | ) | const |
Returns the tag's name in the dictionary or "Unknown" if not found.
VR SoDicomTag::getVR | ( | ) | const |
Get the VR (Visual Representation) associated with this tag in the specification, returning "UN" if the tag is not found.
|
static |
Initialize the DICOM dictionnary.