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, OW, PN, SH, SL, SQ, SS, ST, TM, UC, UI, UL, UN, UR, US, UT } |
Public Member Functions | |
SoDicomTag () | |
SoDicomTag (unsigned int id) | |
SoDicomTag (unsigned short group, unsigned short element) | |
SoDicomTag (const SbString &name) | |
unsigned int | getId () const |
unsigned short | getGroup () const |
unsigned short | getElement () const |
SbString | getName () const |
VR | getVR () const |
Static Public Member Functions | |
static void | initClass () |
static void | exitClass () |
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
enum SoDicomTag::VR |
VRs (Visual Representations) defined in the DICOM standard.
SoDicomTag::SoDicomTag | ( | ) | [inline] |
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 | ) |
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.
static void SoDicomTag::exitClass | ( | ) | [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::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 void SoDicomTag::initClass | ( | ) | [static] |
Initialize the DICOM dictionnary.