|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--iicm.utils3d.Camera | +--iicm.vrml.vrwave.ViewCamera
ViewCamera - VRML viewpoint (Camera) Copyright 1998 IICM, Graz University of Technology.
Fields inherited from class iicm.utils3d.Camera |
orientation_,
position_ |
Constructor Summary | |
ViewCamera()
|
Method Summary | |
void |
approachNormal(float[] poi,
float[] normal,
float krot)
approach target normal vector by a faction of k |
void |
approachPosition(float[] poi,
float ktran,
float hither)
approach target position by a fraction of k |
void |
clear()
clear Viewpoint stack. |
float |
getFarClip()
get far clipping plane (yon) |
float |
getNearClip()
get near clipping plane (hither) |
void |
initialViewpoint(Viewpoint vp)
set the initial viewpoint. has no effect when there is already a viewpoint bound |
void |
printValues(java.io.PrintStream os)
print camera values |
void |
reset()
reset to initial (relative) view |
void |
rotateXYcenter(float l2r,
float t2b,
float[] center)
rotate horicontally/vertically. center transformed by current Viewpoint |
void |
setActivViewPoint(Viewpoint vp)
|
void |
setCamera(float winaspect)
set camera via GE3D |
void |
setFarClip(float yon)
|
void |
setNearClip(float hither)
|
protected float[] |
transformPointVCS(float[] point)
transform point into Viewpoint coordinate system. i.e. into the coordinate system the Camera is defined in. |
protected float[] |
transformVectorVCS(float[] vector)
transform vector into Viewpoint coordinate system. like transformPointVCS, but consider orientation only. |
Ray |
viewingRay(float fx,
float fy,
float winaspect)
get a viewing ray (for picking). |
Methods inherited from class iicm.utils3d.Camera |
getDistance,
interpolateViews,
interpolateViews,
levelize,
rotateXYposition,
setCamera,
translateVec,
translateVP,
untilt,
viewingRay,
zoomOut |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public ViewCamera()
Method Detail |
public void clear()
reset()
public void reset()
public float getNearClip()
public float getFarClip()
public void setNearClip(float hither)
public void setFarClip(float yon)
public void setCamera(float winaspect)
public void initialViewpoint(Viewpoint vp)
protected float[] transformPointVCS(float[] point)
protected float[] transformVectorVCS(float[] vector)
public void rotateXYcenter(float l2r, float t2b, float[] center)
public void approachPosition(float[] poi, float ktran, float hither)
public void approachNormal(float[] poi, float[] normal, float krot)
Camera.interpolateViews(iicm.utils3d.Camera, iicm.utils3d.Camera, float)
public Ray viewingRay(float fx, float fy, float winaspect)
public void printValues(java.io.PrintStream os)
public void setActivViewPoint(Viewpoint vp)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |