public class Viewpoint
extends java.lang.Object
Constructor and Description |
---|
Viewpoint() |
Modifier and Type | Method and Description |
---|---|
double |
getAngle()
Camera vertical field of view in degrees.
|
int |
getCx()
OpenGL window width.
|
int |
getCy()
OpenGL window height.
|
Vector |
getO()
Center of orbit.
|
Matrix |
getR()
Camera rotation matrix.
|
double |
getScale()
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(Vector value)
Center of orbit.
|
void |
setR(Matrix value)
Camera rotation matrix.
|
void |
setScale(double value)
Camera magnification defined by distance to the center of rotation.
|
public void setCx(int value)
public int getCx()
public void setCy(int value)
public int getCy()
public void setO(Vector value)
public Vector getO()
public void setR(Matrix value)
public Matrix getR()
public void setScale(double value)
public double getScale()
public void setAngle(double value)
public double getAngle()