Class LightDirection

All Implemented Interfaces:
AttributesWrapper, DataElementWrapper, BytesDataElementWrapper, DoubleDataElementMultiWrapper, FloatDataElementMultiWrapper, FloatingPointDoubleMultiWrapper

public class LightDirection extends AbstractDataElementWrapper implements FloatingPointDoubleMultiWrapper
Name: Light Direction
Keyword: LightDirection
Tag: (0070,1703)
Value Representation: FD
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.


  • Field Details

  • Constructor Details

    • 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 Details

    • 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.
    • getValueRepresentation

      public org.dcm4che3.data.VR getValueRepresentation()
      Specified by:
      getValueRepresentation in interface DataElementWrapper
      Returns:
      The DICOM Value Representation (VR) of the wrapped DICOM sequence.
    • getTag

      public int getTag()
      Specified by:
      getTag in interface DataElementWrapper
      Returns:
      The DICOM Tag of the wrapped DICOM sequence.