Class LightDirection

  • All Implemented Interfaces:
    org.dcm4che.typeddicom.AttributesWrapper, org.dcm4che.typeddicom.DataElementWrapper, org.dcm4che.typeddicom.valuerepresentations.BytesDataElementWrapper, org.dcm4che.typeddicom.valuerepresentations.DoubleDataElementMultiWrapper, org.dcm4che.typeddicom.valuerepresentations.FloatDataElementMultiWrapper, FloatingPointDoubleMultiWrapper

    public class LightDirection
    extends org.dcm4che.typeddicom.AbstractDataElementWrapper
    implements FloatingPointDoubleMultiWrapper
    Name: Light Direction
    Keyword: LightDirection
    Tag: (0070,1703)
    Value Representation: FloatingPointDouble
    Value Multiplicity: 3
    • Described in the contexts: as follows:
      Attribute Name: Light Direction
      Type: 1C
      Attribute Description:

      The direction light is traveling from a single white light source at infinity. Represented as a unit vector encoded as three coordinates (x,y,z) in the VPS-RCS.

      Required if Diffuse Reflection Intensity (0070,1704) or Specular Reflection Intensity (0070,1705) is present.


    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      LightDirection copy()
      Returns a new Light Direction which wraps a copy of the Attributes wrapped in this Light Direction.
      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, 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.DoubleDataElementMultiWrapper

        getDouble, getDoubles, setDoubles
      • Methods inherited from interface org.dcm4che.typeddicom.valuerepresentations.FloatDataElementMultiWrapper

        getFloat, getFloats, setFloats
    • Constructor Detail

      • LightDirection

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

        public LightDirection()
        Creates a new Light Direction object which wraps a new and empty Attributes object.
    • Method Detail

      • copy

        public LightDirection copy()
        Returns a new Light Direction which wraps a copy of the Attributes wrapped in this Light Direction. (see Attributes(Attributes)
        Returns:
        a new Light Direction which wraps a copy of the Attributes wrapped in this Light Direction.
      • 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