|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--SimpleCamera | +--Camera
Camera extends simple camera with the ability to specify the VPN, VUV and VRP.
Constructor Summary | |
Camera()
Create a default camera that behaves as a SimpleCamera |
|
Camera(Camera c)
Create a camera by copying an existing camera |
Method Summary | |
Matrix |
getInvViewMatrix()
Get the VC to WC mapping matrix Note the matrix is copied not referenced. |
Matrix |
getViewMatrix()
Get the WC to VC mapping matrix Note the matrix is copied not referenced. |
Vector |
getVPN()
Get the view plane normal. |
Point |
getVRP()
Get the view reference point Note the point is copied not referenced. |
Vector |
getVUV()
Get the view up vector Note the vector is copied not referenced. |
void |
setVPN(Vector v)
Set the view plane normal. |
void |
setVRP(Point p)
Set the view reference point Note the point is copied not referenced. |
void |
setVUV(Vector v)
Set the view up vector. |
Methods inherited from class SimpleCamera |
initBasic,
ray,
setCOP,
setResolution,
setVPWindow |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public Camera()
public Camera(Camera c)
c
- the camera to copyMethod Detail |
public void setVPN(Vector v)
v
- the vector with the VPN valuepublic void setVUV(Vector v)
v
- the vector with the VUV valuepublic void setVRP(Point p)
v
- the point with the VRP valuepublic Vector getVPN()
public Vector getVUV()
public Point getVRP()
public Matrix getViewMatrix()
public Matrix getInvViewMatrix()
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |