Maven module :un.engine : engine-opengl :
Class :
un.engine.opengl.scenegraph.AbstractCamera
Extends/Implements :
un.engine.opengl.scenegraph.Camera
Subclasses : -
Variables :
renderRectangle,
right,
up,
rightHanded,
autoResize,
cameraType,
fieldOfView,
nearPlane,
farPlane,
projectionMatrix,
context
Functions :
AbstractCamera,
AbstractCamera,
copy,
getContext,
getRenderArea,
setRenderArea,
getForward,
isDirty,
setDirty,
getUpAxis,
setUpAxis,
getRightAxis,
setRightAxis,
getFieldOfView,
setFieldOfView,
getNearPlane,
setNearPlane,
getFarPlane,
setFarPlane,
setCameraType,
getProjectionMatrix,
calculateRayWorldCS,
calculateRayCameraCS,
calculateFrustrumCorners,
calculateFrustrumCorners,
update,
calculateMatrices
protected Rectangle
renderRectangle
protected Vector
right
protected Vector
up
protected boolean
rightHanded
protected boolean
autoResize
protected int
cameraType
protected double
fieldOfView
protected double
nearPlane
protected double
farPlane
protected Matrix4
projectionMatrix
protected GLProcessContext
context
public void
AbstractCamera ()
public void
AbstractCamera (boolean rightHanded, boolean autoResize)
public void
copy (AbstractCamera camera)
public GLProcessContext
getContext ()
public Rectangle
getRenderArea ()
public void
setRenderArea (Rectangle paintArea)
public Vector
getForward ()
protected boolean
isDirty ()
protected void
setDirty (boolean dirty)
public Vector
getUpAxis ()
public void
setUpAxis (Vector value)
public Vector
getRightAxis ()
public void
setRightAxis (Vector value)
public double
getFieldOfView ()
public void
setFieldOfView (double fieldOfView)
public double
getNearPlane ()
public void
setNearPlane (double nearPlane)
public double
getFarPlane ()
public void
setFarPlane (double farPlane)
public void
setCameraType (int cameraType)
public Matrix4
getProjectionMatrix ()
public Ray
calculateRayWorldCS (int mouse_x, int mouse_y)
public Ray
calculateRayCameraCS (int mouse_x, int mouse_y)
public Vector[]
calculateFrustrumCorners ()
public Vector[]
calculateFrustrumCorners (double maxDistance)
public void
update (RenderContext context, long nanotime, Rectangle renderSize)
protected void
calculateMatrices ()