Class Viewpoint

java.lang.Object
com.agisoft.metashape.Viewpoint

public class Viewpoint extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected boolean
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    Viewpoint(long cPtr, boolean cMemoryOwn)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    protected void
     
    double
    Camera vertical field of view in degrees.
    static long
     
    int
    OpenGL window width.
    int
    OpenGL window height.
    Center of orbit.
    Camera rotation matrix.
    double
    Camera magnification defined by distance to the center of rotation.
    void
    setAngle(double value)
    Camera vertical field of view in degrees.
    void
    setCx(int value)
    OpenGL window width.
    void
    setCy(int value)
    OpenGL window height.
    void
    setO(Vector3d value)
    Center of orbit.
    void
    Camera rotation matrix.
    void
    setScale(double value)
    Camera magnification defined by distance to the center of rotation.

    Methods inherited from class java.lang.Object

    clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • swigCMemOwn

      protected transient boolean swigCMemOwn
  • Constructor Details

    • Viewpoint

      public Viewpoint(long cPtr, boolean cMemoryOwn)
    • Viewpoint

      public Viewpoint()
  • Method Details

    • getCPtr

      public static long getCPtr(Viewpoint obj)
    • finalize

      protected void finalize()
      Overrides:
      finalize in class Object
    • delete

      public void delete()
    • setCx

      public void setCx(int value)
      OpenGL window width.
    • getCx

      public int getCx()
      OpenGL window width.
    • setCy

      public void setCy(int value)
      OpenGL window height.
    • getCy

      public int getCy()
      OpenGL window height.
    • setO

      public void setO(Vector3d value)
      Center of orbit.
    • getO

      public Vector3d getO()
      Center of orbit.
    • setR

      public void setR(Matrix3x3d value)
      Camera rotation matrix.
    • getR

      public Matrix3x3d getR()
      Camera rotation matrix.
    • setScale

      public void setScale(double value)
      Camera magnification defined by distance to the center of rotation.
    • getScale

      public double getScale()
      Camera magnification defined by distance to the center of rotation.
    • setAngle

      public void setAngle(double value)
      Camera vertical field of view in degrees.
    • getAngle

      public double getAngle()
      Camera vertical field of view in degrees.