Class SoDicomTag
java.lang.Object
com.openinventor.inventor.Inventor
com.openinventor.volumeviz.readers.dicom.SoDicomTag
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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
VRs (Visual Representations) defined in the DICOM standard.Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
Field Summary
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
Constructor Summary
ConstructorsConstructorDescriptionSoDicomTag
(int id) Create a DICOM tag from its 32 bit id.SoDicomTag
(short group, short element) Create a DICOM from its group and element values.SoDicomTag
(SoDicomTag copyFrom) SoDicomTag
(String name) Calls SoDicomTag(name, (boolean)false).SoDicomTag
(String name, boolean isKeyword) Create a DICOM tag from its name in the dictionnary. -
Method Summary
Modifier and TypeMethodDescriptionshort
Get the tag's element.short
getGroup()
Get the tag's group.int
getId()
Get the tag's id ( group and element combined ).Returns the tag's keyword in the dictionary or "Unknown" if not found.getName()
Returns the tag's name in the dictionary or "Unknown" if not found.getVR()
Get the VR (Visual Representation) associated with this tag in the specification, returning "UN" if the tag is not found.void
setValue
(SoDicomTag copyFrom) static SoDicomTag[]
toArray
(long nativeArray, long length) Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
Constructor Details
-
SoDicomTag
Calls SoDicomTag(name, (boolean)false). -
SoDicomTag
-
SoDicomTag
public SoDicomTag() -
SoDicomTag
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 -
SoDicomTag
public SoDicomTag(int id) Create a DICOM tag from its 32 bit id. -
SoDicomTag
public SoDicomTag(short group, short element) Create a DICOM from its group and element values.
-
-
Method Details
-
getElement
public short getElement()Get the tag's element. -
toArray
-
setValue
-
getName
Returns the tag's name in the dictionary or "Unknown" if not found. -
getGroup
public short getGroup()Get the tag's group. -
getId
public int getId()Get the tag's id ( group and element combined ). -
getVR
Get the VR (Visual Representation) associated with this tag in the specification, returning "UN" if the tag is not found. -
getKeyword
Returns the tag's keyword in the dictionary or "Unknown" if not found.
-