Class SoDicomTag
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.volumeviz.readers.dicom.SoDicomTag
-
public class SoDicomTag extends Inventor
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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SoDicomTag.VRs
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
Constructors Constructor Description SoDicomTag()
SoDicomTag(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(java.lang.String name)
Create a DICOM tag from its name in the dictionnary.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description short
getElement()
Get the tag's element.short
getGroup()
Get the tag's group.int
getId()
Get the tag's id ( group and element combined ).java.lang.String
getName()
Returns the tag's name in the dictionary or "Unknown" if not found.SoDicomTag.VRs
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 Detail
-
SoDicomTag
public SoDicomTag(SoDicomTag copyFrom)
-
SoDicomTag
public SoDicomTag()
-
SoDicomTag
public SoDicomTag(java.lang.String 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.
-
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 Detail
-
getGroup
public short getGroup()
Get the tag's group.
-
toArray
public static SoDicomTag[] toArray(long nativeArray, long length)
-
setValue
public void setValue(SoDicomTag copyFrom)
-
getElement
public short getElement()
Get the tag's element.
-
getId
public int getId()
Get the tag's id ( group and element combined ).
-
getName
public java.lang.String getName()
Returns the tag's name in the dictionary or "Unknown" if not found.
-
getVR
public SoDicomTag.VRs getVR()
Get the VR (Visual Representation) associated with this tag in the specification, returning "UN" if the tag is not found.
-
-