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

See Also:
  • Constructor Details

    • SoDicomTag

      public SoDicomTag(String name)
      Calls SoDicomTag(name, (boolean)false).
    • SoDicomTag

      public SoDicomTag(SoDicomTag copyFrom)
    • SoDicomTag

      public SoDicomTag()
    • SoDicomTag

      public SoDicomTag(String name, boolean isKeyword)
      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

      public static SoDicomTag[] toArray(long nativeArray, long length)
    • setValue

      public void setValue(SoDicomTag copyFrom)
    • getName

      public String 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

      public SoDicomTag.VRs getVR()
      Get the VR (Visual Representation) associated with this tag in the specification, returning "UN" if the tag is not found.
    • getKeyword

      public String getKeyword()
      Returns the tag's keyword in the dictionary or "Unknown" if not found.