org.jcae.viewer3d
Class Position
java.lang.Object
org.jcae.viewer3d.Position
public class Position
- extends java.lang.Object
This class describe where the user is in the 3D scene and in which direction
he is watching.
Note:
Zooming is not the same thing than be closer from an object. By being closer
from an object a user can go throught an object, but by zooming this must
not happen.
|
Constructor Summary |
Position(float x,
float y,
float z,
float theta,
float phi,
float zoom)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Position
public Position(float x,
float y,
float z,
float theta,
float phi,
float zoom)
- Parameters:
x - y - z - theta - phi - zoom -
getPhi
public float getPhi()
setPhi
public void setPhi(float phi)
getTheta
public float getTheta()
setTheta
public void setTheta(float theta)
getX
public float getX()
setX
public void setX(float x)
getY
public float getY()
setY
public void setY(float y)
getZ
public float getZ()
setZ
public void setZ(float z)
getZoom
public float getZoom()
setZoom
public void setZoom(float zoom)