public class JoglCamera
extends java.lang.Object
Constructor and Description |
---|
JoglCamera() |
Modifier and Type | Method and Description |
---|---|
JoglVectord2 |
calcDepthRange(JoglAABB aabb) |
JoglVectord2 |
calcDepthRange(java.util.Vector<JoglAABB> lst) |
void |
DrawCamera(GraphicsPipeline pipe) |
JoglCameraLens |
getCameraLens() |
JoglMatrixd4x4 |
GetCameraMatrix() |
JoglVectord3 |
GetLeftDir() |
JoglVectord3 |
GetLookAt() |
JoglVectord3 |
GetLookDir() |
double |
GetPitch() |
JoglVectord3 |
GetPosition() |
JoglRay |
GetRay(JoglVectord2 p) |
JoglVectord3 |
GetUpDir() |
double |
GetYaw() |
void |
logCameraMatrix() |
void |
logProjectionMatrix() |
JoglVectord3 |
ProjectToScreen(JoglVectord3 v,
double aspect) |
void |
setCameraLens(JoglCameraLens jcl) |
void |
SetCameraMatrix(GraphicsPipeline pipe) |
void |
SetLookAt(JoglVectord3 v) |
void |
SetLookAt(JoglVectord3 v,
JoglVectord3 u) |
void |
SetLookDir(JoglVectord3 v) |
void |
SetLookDir(JoglVectord3 v,
JoglVectord3 u) |
void |
SetPitchYawRoll(double p,
double y,
double r) |
void |
SetPosition(JoglVectord3 v) |
void |
SetProjectionMatrix(GraphicsPipeline pipe) |
void |
SetUpDir(JoglVectord3 v) |
public JoglVectord3 GetPosition()
public void SetPosition(JoglVectord3 v)
public JoglVectord3 GetLookAt()
public JoglVectord3 GetLookDir()
public JoglVectord3 GetLeftDir()
public void SetLookAt(JoglVectord3 v)
public void SetLookAt(JoglVectord3 v, JoglVectord3 u)
public void SetLookDir(JoglVectord3 v)
public void SetLookDir(JoglVectord3 v, JoglVectord3 u)
public JoglVectord3 GetUpDir()
public void SetUpDir(JoglVectord3 v)
public double GetPitch()
public double GetYaw()
public void SetPitchYawRoll(double p, double y, double r)
public JoglMatrixd4x4 GetCameraMatrix()
public JoglCameraLens getCameraLens()
public void setCameraLens(JoglCameraLens jcl)
public void DrawCamera(GraphicsPipeline pipe)
public void SetCameraMatrix(GraphicsPipeline pipe)
public void SetProjectionMatrix(GraphicsPipeline pipe)
public JoglVectord2 calcDepthRange(JoglAABB aabb)
public JoglVectord2 calcDepthRange(java.util.Vector<JoglAABB> lst)
public JoglVectord3 ProjectToScreen(JoglVectord3 v, double aspect)
public JoglRay GetRay(JoglVectord2 p)
public void logCameraMatrix()
public void logProjectionMatrix()