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

OrthographicProjection Class Reference

#include <projection.h>

Inheritance diagram for OrthographicProjection:

Inheritance graph
[legend]
Collaboration diagram for OrthographicProjection:

Collaboration graph
[legend]
List of all members.

Detailed Description

Data describing orthographic 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

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

Public Attributes

float m_fLeft
float m_fTop
float m_fRight
float m_fBottom
float m_fZNear
float m_fZFar
PROJECTIONMODE m_eMode
Matrix m_kMatrix


Member Enumeration Documentation

enum PROJECTIONMODE [inherited]
 

Projection modes.

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


Constructor & Destructor Documentation

OrthographicProjection  ) 
 

Set default values


Member Function Documentation

virtual void BuildProjection const Viewport rkViewport  )  [virtual]
 

Build projection matrix

Parameters:
rkViewport Current viewport

Reimplemented from Projection.


Member Data Documentation

float m_fLeft
 

Left plane

float m_fTop
 

Top plane

float m_fRight
 

Right plane

float m_fBottom
 

Bottom plane

float m_fZNear
 

Z near plane

Reimplemented from Projection.

float m_fZFar
 

Z far plane

Reimplemented from Projection.

PROJECTIONMODE m_eMode [inherited]
 

Projection mode

Matrix m_kMatrix [inherited]
 

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