Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

OrthographicSpace Class Reference

#include <OrthographicSpace.h>

Inheritance diagram for OrthographicSpace:

OrthographicCamera GuiComponent List of all members.

Public Member Functions

 OrthographicSpace ()
 OrthographicSpace (int left, int right, int bottom, int top)
void setBorders (int left, int right, int bottom, int top)
void setOrthographicProjection ()
void resetProjection ()

Public Attributes

int left
int right
int bottom
int top

Detailed Description

This class encapsulates an orthographic view. To get a orthographic projection, simply derive from this class and call setOrthographicPorjection() before rendering the content. At the end of the render method, resetProjection should be called.

Version:
0.3


Constructor & Destructor Documentation

OrthographicSpace::OrthographicSpace  ) 
 

The default constructor creates an orthographic with the default values defined in LifeVariables.h

OrthographicSpace::OrthographicSpace int  left,
int  right,
int  bottom,
int  top
 

The constructor sets up the orthogonal projection and stores the left, right, bottom and top border into the locale member variables

Parameters:
left plane of the object space
right plane of the object space
bottom plane of the object space
top plane of the object space
near plane of the object space
far plane of the object space


Member Function Documentation

void OrthographicSpace::resetProjection  ) 
 

Deinitialise the orthographic projection

void OrthographicSpace::setBorders int  left,
int  right,
int  bottom,
int  top
 

Change or setup the orthographic object space.

Parameters:
left plane of the object space
right plane of the object space
bottom plane of the object space
top plane of the object space
near plane of the object space
far plane of the object space

void OrthographicSpace::setOrthographicProjection  ) 
 

Initialise the orthographic projection


Member Data Documentation

int OrthographicSpace::bottom
 

The bottom border of the viewport

int OrthographicSpace::left
 

The left border of the viewport

int OrthographicSpace::right
 

The right border of the viewport

int OrthographicSpace::top
 

The upper border of the viewport


The documentation for this class was generated from the following files:
Generated on Tue Jan 24 00:36:47 2006 for ZVis by  doxygen 1.4.1