|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsigmlgen.playerctrl.CameraSettings
public class CameraSettings
A record of the camera settings defined within a SiGML
<player_settings>
element.
Constructor Summary | |
---|---|
CameraSettings(float x,
float y,
float rr,
float tht,
float ph,
float fv)
Constructs a new camera settings record with the given camera (x,y) location, (r,theta,phi) direction and
FoV values. |
Method Summary | |
---|---|
float |
getCamFOV()
Returns the camera's FoV angle value. |
float |
getCamPhi()
Returns the phi -component of the camera location. |
float |
getCamR()
Returns the r -component of the camera direction. |
float |
getCamTheta()
Returns the theta -component of the camera location. |
float |
getCamX()
Returns the x -component of the camera location. |
float |
getCamY()
Returns the y -component of the camera location. |
float[] |
getSettings()
Returns the camera settings as an array-of-float, in the standard order: x, y, r, theta, phi, fov. |
java.lang.String |
toString()
Returns a textual representation of these camera settings. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CameraSettings(float x, float y, float rr, float tht, float ph, float fv)
(x,y)
location, (r,theta,phi)
direction and
FoV values.
Method Detail |
---|
public float getCamX()
x
-component of the camera location.
public float getCamY()
y
-component of the camera location.
public float getCamR()
r
-component of the camera direction.
public float getCamTheta()
theta
-component of the camera location.
public float getCamPhi()
phi
-component of the camera location.
public float getCamFOV()
FoV
angle value.
public float[] getSettings()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |