Class Camera.LookFrom

java.lang.Object
com.luciad.cameras.Camera.LookFrom
Enclosing class:
Camera

public static final class Camera.LookFrom extends Object
Structure describing the position and orientation of the camera.
  • Constructor Summary Link icon

    Constructors
    Constructor
    Description
    LookFrom(Coordinate eye, Azimuth yaw, double pitch, double roll)
    Constructs the LookFrom.
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    The location of the camera, expressed in the map reference.
    double
    The pitch angle of the viewer in degrees, defined with respected to a local coordinate system based on the eye point.
    double
    The roll angle of the viewer in degrees, defined with respected to a local coordinate system based on the eye point.
    The yaw angle of the viewer, defined with respected to a local coordinate system based on the eye point.

    Methods inherited from class java.lang.Object Link icon

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details Link icon

    • LookFrom Link icon

      public LookFrom(@NotNull Coordinate eye, @NotNull Azimuth yaw, double pitch, double roll)
      Constructs the LookFrom.
      Parameters:
      eye - The location of the camera, expressed in the map reference.
      yaw - The yaw angle of the viewer, defined with respected to a local coordinate system based on the eye point.
      pitch - The pitch angle of the viewer in degrees, defined with respected to a local coordinate system based on the eye point.
      roll - The roll angle of the viewer in degrees, defined with respected to a local coordinate system based on the eye point.
  • Method Details Link icon

    • getEye Link icon

      @NotNull public Coordinate getEye()
      The location of the camera, expressed in the map reference.

      This location maps to the center of the camera plane.

    • getYaw Link icon

      @NotNull public Azimuth getYaw()
      The yaw angle of the viewer, defined with respected to a local coordinate system based on the eye point.

      It represents the viewing angle with respect to the north. I.e. a value of 0 means that the camera is faced to the north.

    • getPitch Link icon

      public double getPitch()
      The pitch angle of the viewer in degrees, defined with respected to a local coordinate system based on the eye point.

      A value of zero represents a horizontal viewer (i.e. looking towards the horizon). Positive angles look up and negative angles look down.

    • getRoll Link icon

      public double getRoll()
      The roll angle of the viewer in degrees, defined with respected to a local coordinate system based on the eye point.

      Positive angles bank the viewer to the right; negative angles bank to the left. This value is typically 0.