Class SoDicomTag

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  SoDicomTag.VRs
      VRs (Visual Representations) defined in the DICOM standard.
    • 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)
      Calls SoDicomTag(name, (boolean)false).
      SoDicomTag​(java.lang.String name, boolean isKeyword)
      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 getKeyword()
      Returns the tag's keyword in the dictionary or "Unknown" if not found.
      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 java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SoDicomTag

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

        public SoDicomTag​(SoDicomTag copyFrom)
      • SoDicomTag

        public SoDicomTag()
      • SoDicomTag

        public SoDicomTag​(java.lang.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 Detail

      • 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 java.lang.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 java.lang.String getKeyword()
        Returns the tag's keyword in the dictionary or "Unknown" if not found.