Class dnx.geom.OrthographicProjection
All Packages Class Hierarchy This Package Previous Next Index
Class dnx.geom.OrthographicProjection
java.lang.Object
|
+----dnx.geom.Projection
|
+----dnx.geom.OrthographicProjection
- public class OrthographicProjection
- extends Projection
-
OrthographicProjection()
-
-
boundingBoxIntersection(BoundingBox3)
- Determine whether a bounding box lies completely inside,
completely outside, or partially outside the view
volume defined by the projection.
-
boundingBoxOutside(BoundingBox3)
-
-
clone()
-
-
copy(Copyable)
-
-
getHeight()
- Get the height of the orthographic view volume.
-
getNDCToViewerMatrix(Matrix4)
- Get the matrix to convert to normalized screen space coordinates
to viewer coordinates.
-
getRay(float, float, Ray3)
- Convert a point in normalized screen coordinates to a
ray.
-
getViewerToNDCMatrix(Matrix4)
- Get the matrix to convert viewer space coordinates to normalized
screen space coordinates.
OrthographicProjection
public OrthographicProjection()
getRay
public void getRay(float x,
float y,
Ray3 ray)
- Convert a point in normalized screen coordinates to a
ray. (Normalized screen coordinates range from -1 to +1
in X and Y, and from 0 to 1 in Z.)
- Overrides:
- getRay in class Projection
getHeight
public float getHeight()
- Get the height of the orthographic view volume.
getViewerToNDCMatrix
public void getViewerToNDCMatrix(Matrix4 m)
- Get the matrix to convert viewer space coordinates to normalized
screen space coordinates.
- Overrides:
- getViewerToNDCMatrix in class Projection
getNDCToViewerMatrix
public void getNDCToViewerMatrix(Matrix4 m)
- Get the matrix to convert to normalized screen space coordinates
to viewer coordinates.
- Overrides:
- getNDCToViewerMatrix in class Projection
boundingBoxIntersection
public int boundingBoxIntersection(BoundingBox3 bbox)
- Determine whether a bounding box lies completely inside,
completely outside, or partially outside the view
volume defined by the projection.
- Overrides:
- boundingBoxIntersection in class Projection
boundingBoxOutside
public boolean boundingBoxOutside(BoundingBox3 bbox)
- Overrides:
- boundingBoxOutside in class Projection
clone
public Object clone()
- Overrides:
- clone in class Projection
copy
public void copy(Copyable c)
- Overrides:
- copy in class Projection
All Packages Class Hierarchy This Package Previous Next Index