Record Class MaskProjectorConfig

java.lang.Object
java.lang.Record
cz.fidentis.analyst.engines.interactivemask.MaskProjectorConfig
Record Components:
canvasWidth -
canvasHeight -
panelWidth -
panelHeight -
fov -
cameraPosition -
cameraCenter -
cameraUpDirection -
bboxScale -
scaleFactor -

public record MaskProjectorConfig(int canvasWidth, int canvasHeight, int panelWidth, int panelHeight, int fov, javax.vecmath.Vector3d cameraPosition, javax.vecmath.Vector3d cameraCenter, javax.vecmath.Vector3d cameraUpDirection, double bboxScale, double scaleFactor) extends Record
Configuration for MaskProjector
  • Constructor Details

    • MaskProjectorConfig

      public MaskProjectorConfig(int canvasWidth, int canvasHeight, int panelWidth, int panelHeight, int fov, javax.vecmath.Vector3d cameraPosition, javax.vecmath.Vector3d cameraCenter, javax.vecmath.Vector3d cameraUpDirection, double bboxScale, double scaleFactor)
      Creates an instance of a MaskProjectorConfig record class.
      Parameters:
      canvasWidth - the value for the canvasWidth record component
      canvasHeight - the value for the canvasHeight record component
      panelWidth - the value for the panelWidth record component
      panelHeight - the value for the panelHeight record component
      fov - the value for the fov record component
      cameraPosition - the value for the cameraPosition record component
      cameraCenter - the value for the cameraCenter record component
      cameraUpDirection - the value for the cameraUpDirection record component
      bboxScale - the value for the bboxScale record component
      scaleFactor - the value for the scaleFactor record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • canvasWidth

      public int canvasWidth()
      Returns the value of the canvasWidth record component.
      Returns:
      the value of the canvasWidth record component
    • canvasHeight

      public int canvasHeight()
      Returns the value of the canvasHeight record component.
      Returns:
      the value of the canvasHeight record component
    • panelWidth

      public int panelWidth()
      Returns the value of the panelWidth record component.
      Returns:
      the value of the panelWidth record component
    • panelHeight

      public int panelHeight()
      Returns the value of the panelHeight record component.
      Returns:
      the value of the panelHeight record component
    • fov

      public int fov()
      Returns the value of the fov record component.
      Returns:
      the value of the fov record component
    • cameraPosition

      public javax.vecmath.Vector3d cameraPosition()
      Returns the value of the cameraPosition record component.
      Returns:
      the value of the cameraPosition record component
    • cameraCenter

      public javax.vecmath.Vector3d cameraCenter()
      Returns the value of the cameraCenter record component.
      Returns:
      the value of the cameraCenter record component
    • cameraUpDirection

      public javax.vecmath.Vector3d cameraUpDirection()
      Returns the value of the cameraUpDirection record component.
      Returns:
      the value of the cameraUpDirection record component
    • bboxScale

      public double bboxScale()
      Returns the value of the bboxScale record component.
      Returns:
      the value of the bboxScale record component
    • scaleFactor

      public double scaleFactor()
      Returns the value of the scaleFactor record component.
      Returns:
      the value of the scaleFactor record component