Class ImageRotation

  • All Implemented Interfaces:
    org.dcm4che.typeddicom.AttributesWrapper, org.dcm4che.typeddicom.DataElementWrapper, org.dcm4che.typeddicom.valuerepresentations.BytesDataElementWrapper, org.dcm4che.typeddicom.valuerepresentations.IntDataElementWrapper, UnsignedShortWrapper

    public class ImageRotation
    extends org.dcm4che.typeddicom.AbstractDataElementWrapper
    implements UnsignedShortWrapper
    Name: Image Rotation
    Keyword: ImageRotation
    Tag: (0070,0042)
    Value Representation: UnsignedShort
    Value Multiplicity: 1
    • Described in the contexts: as follows:
      Attribute Name: Image Rotation
      Type: 1
      Attribute Description:

      How far to rotate the image clockwise in degrees, before any Image Horizontal Flip (0070,0041) is applied.

      Enumerated Values:

      270
      180
      90
      0
      Note

      Negative values are not permitted since the Value Representation is unsigned.


    • Described in the contexts: as follows:
      Attribute Name: Image Rotation
      Type: 3
      Attribute Description:

      Rotation of the image clockwise in degrees, before the Image Horizontal Flip (0070,0041) is applied.

      Enumerated Values:

      270
      180
      90
      0

    • Constructor Summary

      Constructors 
      Constructor Description
      ImageRotation()
      Creates a new Image Rotation object which wraps a new and empty Attributes object.
      ImageRotation​(org.dcm4che3.data.Attributes attributes)
      Creates a new Image Rotation object which wraps the provided attributes.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ImageRotation copy()
      Returns a new Image Rotation which wraps a copy of the Attributes wrapped in this Image Rotation.
      java.lang.String getPrivateCreator()  
      int getTag()  
      • Methods inherited from class org.dcm4che.typeddicom.AbstractDataElementWrapper

        equals, exists, getValue, hashCode, toString
      • Methods inherited from class org.dcm4che.typeddicom.AbstractAttributesWrapper

        getAttributes
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.dcm4che.typeddicom.AttributesWrapper

        copy, getAttributes, getKnownAttributeTags, getUnknownAttributeTags, isEmpty
      • Methods inherited from interface org.dcm4che.typeddicom.valuerepresentations.BytesDataElementWrapper

        getBytes, getSafeBytes, setBytes
      • Methods inherited from interface org.dcm4che.typeddicom.DataElementWrapper

        exists, getValue
      • Methods inherited from interface org.dcm4che.typeddicom.valuerepresentations.IntDataElementWrapper

        getInt, setInt
    • Constructor Detail

      • ImageRotation

        public ImageRotation​(org.dcm4che3.data.Attributes attributes)
        Creates a new Image Rotation object which wraps the provided attributes.
        Parameters:
        attributes - the Attributes object to be wrapped.
      • ImageRotation

        public ImageRotation()
        Creates a new Image Rotation object which wraps a new and empty Attributes object.
    • Method Detail

      • copy

        public ImageRotation copy()
        Returns a new Image Rotation which wraps a copy of the Attributes wrapped in this Image Rotation. (see Attributes(Attributes)
        Returns:
        a new Image Rotation which wraps a copy of the Attributes wrapped in this Image Rotation.
      • getPrivateCreator

        public java.lang.String getPrivateCreator()
        Specified by:
        getPrivateCreator in interface org.dcm4che.typeddicom.DataElementWrapper
      • getTag

        public int getTag()
        Specified by:
        getTag in interface org.dcm4che.typeddicom.DataElementWrapper