|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.java.joglutils.msg.nodes.Node
net.java.joglutils.msg.nodes.Camera
net.java.joglutils.msg.nodes.OrthographicCamera
public class OrthographicCamera
Field Summary |
---|
Fields inherited from class net.java.joglutils.msg.nodes.Camera |
---|
projDirty, projMatrix, viewDirty, viewMatrix |
Constructor Summary | |
---|---|
OrthographicCamera()
|
Method Summary | |
---|---|
float |
getHeight()
Returns the height, in units, of the volume this orthographic camera views. |
Mat4f |
getProjectionMatrix()
Returns the projection matrix associated with this camera's parameters. |
protected Vec3f |
getRayStartPoint(Vec2f point,
Vec3f unprojectedPoint)
Computes the start point of a ray for picking, given a point in normalized screen coordinates ((0, 0) to (1, 1)) and a 3D point which that point unprojects to. |
float |
getWidth()
Returns the width, in units, of the volume this orthographic camera views, assuming the camera's currently-set aspect ratio. |
float |
getWidth(float aspectRatio)
Returns the width, in units, of the volume this orthographic camera views, assuming the passed-in aspect ratio. |
void |
render(GLRenderAction action)
Support for the built-in GLRenderAction. |
void |
setHeight(float height)
Sets the height, in units, of the volume this orthographic camera views. |
Methods inherited from class net.java.joglutils.msg.nodes.Camera |
---|
doAction, getAspectRatio, getFarDistance, getFocalDistance, getNearDistance, getOrientation, getPosition, getViewingMatrix, rayPick, setAspectRatio, setFarDistance, setFocalDistance, setNearDistance, setOrientation, setPosition, unproject, unproject |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OrthographicCamera()
Method Detail |
---|
public Mat4f getProjectionMatrix()
Camera
getProjectionMatrix
in class Camera
public void setHeight(float height)
public float getHeight()
public float getWidth(float aspectRatio)
public float getWidth()
protected Vec3f getRayStartPoint(Vec2f point, Vec3f unprojectedPoint)
Camera
getRayStartPoint
in class Camera
public void render(GLRenderAction action)
Node
render
in class Node
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |