Open Inventor Release 2024.2.0
 
Loading...
Searching...
No Matches
SoDicomTag Class Reference

VolumeViz 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.
 

Detailed Description

VolumeViz DICOM data.

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).

SEE ALSO

SoVRDicomFileReader, SoVRDicomData, SiDicomDataSet, SiDicomElement, SiDicomValue, SiDicomSequence

Definition at line 27 of file SoDicomTag.h.

Member Enumeration Documentation

◆ VR

VRs (Visual Representations) defined in the DICOM standard.

See also
ftp://dicom.nema.org/medical/DICOM/2013/output/chtml/part05/sect_6.2.html
Enumerator
AE 

Application Entity.

AS 

Age String (Duration)

AT 

Attribute Tag.

CS 

Code String.

DA 

Date String.

DS 

Decimal String.

DT 

Date Time String.

FL 

Floating point single precision.

FD 

Floating point double precision.

IS 

Integer String.

LO 

Long String (vector of 32bits signed integers)

LT 

Long Text.

OB 

Other Byte String (byte vector)

OD 

Other Double String (vector of double)

OF 

Other Float String (vector of float)

OL 

Other Long String (vector of int)

OV 

Other 64 bit very long.

OW 

Other Word String (16 bits integers vector)

PN 

Person Name.

SH 

Short String.

SL 

Signed 32 bits integer.

SQ 

Sequence.

SS 

Signed 16 bits integer.

ST 

Short Text.

SV 

Signed 64 bit very long.

TM 

Time String.

UC 

Unlimited Characters.

UI 

Unique Identifier.

UL 

Unsigned 32 bits integer.

UN 

Unknown.

UR 

Universal Resource Identifier.

US 

Unsigned 16 bits integer.

UT 

Unlimited Text.

UV 

Unsigned 64 bit very long.

Definition at line 35 of file SoDicomTag.h.

Constructor & Destructor Documentation

◆ SoDicomTag() [1/4]

SoDicomTag::SoDicomTag ( )
inline

Definition at line 83 of file SoDicomTag.h.

◆ SoDicomTag() [2/4]

SoDicomTag::SoDicomTag ( unsigned int  id)

Create a DICOM tag from its 32 bit id.

◆ SoDicomTag() [3/4]

SoDicomTag::SoDicomTag ( unsigned short  group,
unsigned short  element 
)

Create a DICOM from its group and element values.

◆ SoDicomTag() [4/4]

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

Member Function Documentation

◆ exitClass()

static void SoDicomTag::exitClass ( )
static

Free the space allocated to store the DICOM dictionnary.

◆ getElement()

unsigned short SoDicomTag::getElement ( ) const

Get the tag's element.

◆ getGroup()

unsigned short SoDicomTag::getGroup ( ) const

Get the tag's group.

◆ getId()

unsigned int SoDicomTag::getId ( ) const

Get the tag's id ( group and element combined ).

◆ getKeyword()

SbString SoDicomTag::getKeyword ( ) const

Returns the tag's keyword in the dictionary or "Unknown" if not found.

◆ getName()

SbString SoDicomTag::getName ( ) const

Returns the tag's name in the dictionary or "Unknown" if not found.

◆ getVR()

VR SoDicomTag::getVR ( ) const

Get the VR (Visual Representation) associated with this tag in the specification, returning "UN" if the tag is not found.

◆ initClass()

static void SoDicomTag::initClass ( )
static

Initialize the DICOM dictionnary.


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