Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | Related Pages

Projection Class Reference

#include <projection.h>

Inheritance diagram for Projection:

Inheritance graph
[legend]
Collaboration diagram for Projection:

Collaboration graph
[legend]
List of all members.

Detailed Description

Data describing a projection mode.

Author:
Mattias Jansson (mattias@realityrift.com)


Public Types

enum  PROJECTIONMODE { INVALIDPROJECTION = -1, PERSPECTIVE = 0, ORTHOGRAPHIC = 1, CUSTOM = 2 }
 Projection modes. More...


Public Member Functions

 Projection ()
virtual void BuildProjection (const Viewport &rkViewport)

Public Attributes

PROJECTIONMODE m_eMode
float m_fZNear
float m_fZFar
Matrix m_kMatrix


Member Enumeration Documentation

enum PROJECTIONMODE
 

Projection modes.

Enumeration values:
INVALIDPROJECTION  Invalid mode
PERSPECTIVE  Perspective projection
ORTHOGRAPHIC  Orthographic projection
CUSTOM  Custom projection


Constructor & Destructor Documentation

Projection  ) 
 


Member Function Documentation

virtual void BuildProjection const Viewport rkViewport  )  [inline, virtual]
 

Build projection matrix

Parameters:
rkViewport Current viewport

Reimplemented in PerspectiveProjection, and OrthographicProjection.


Member Data Documentation

PROJECTIONMODE m_eMode
 

Projection mode

float m_fZNear
 

Z near clipping plane distance

Reimplemented in OrthographicProjection.

float m_fZFar
 

Z far clipping plane distance

Reimplemented in OrthographicProjection.

Matrix m_kMatrix
 

Projection matrix


The documentation for this class was generated from the following file:
Generated on Wed Jan 21 14:21:14 2004 for NeoEngine by doxygen 1.3.5