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

Constructor Index

 o OrthographicProjection()

Method Index

 o boundingBoxIntersection(BoundingBox3)
Determine whether a bounding box lies completely inside, completely outside, or partially outside the view volume defined by the projection.
 o boundingBoxOutside(BoundingBox3)
 o clone()
 o copy(Copyable)
 o getHeight()
Get the height of the orthographic view volume.
 o getNDCToViewerMatrix(Matrix4)
Get the matrix to convert to normalized screen space coordinates to viewer coordinates.
 o getRay(float, float, Ray3)
Convert a point in normalized screen coordinates to a ray.
 o getViewerToNDCMatrix(Matrix4)
Get the matrix to convert viewer space coordinates to normalized screen space coordinates.

Constructors

 o OrthographicProjection
  public OrthographicProjection()

Methods

 o 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
 o getHeight
  public float getHeight()
Get the height of the orthographic view volume.
 o getViewerToNDCMatrix
  public void getViewerToNDCMatrix(Matrix4 m)
Get the matrix to convert viewer space coordinates to normalized screen space coordinates.
Overrides:
getViewerToNDCMatrix in class Projection
 o getNDCToViewerMatrix
  public void getNDCToViewerMatrix(Matrix4 m)
Get the matrix to convert to normalized screen space coordinates to viewer coordinates.
Overrides:
getNDCToViewerMatrix in class Projection
 o 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
 o boundingBoxOutside
  public boolean boundingBoxOutside(BoundingBox3 bbox)
Overrides:
boundingBoxOutside in class Projection
 o clone
  public Object clone()
Overrides:
clone in class Projection
 o copy
  public void copy(Copyable c)
Overrides:
copy in class Projection

All Packages  Class Hierarchy  This Package  Previous  Next  Index