version 3.3

VRS::Ortho Class Reference

Orthographic Camera Projection Transformation. More...

#include <vrs/ortho.h>

Inheritance diagram for VRS::Ortho:

VRS::Transform VRS::RenderObj VRS::SharedObj VRS::Visitable

List of all members.

Public Member Functions

 Ortho (double left=-1, double right=1, double bottom=-1, double top=1, double nearDistance=0.1, double farDistance=100)
 Ortho represents parallel projections.
void setLeft (double left)
void setRight (double right)
void setTop (double top)
void setBottom (double bottom)
void setNear (double nearValue)
void setFar (double farValue)
double getLeft () const
double getRight () const
double getTop () const
double getBottom () const
double getNear () const
double getFar () const
 Get/set the parameters that define the projection.
virtual const Matrixmatrix (Engine *engine=0) const
 Returns the orthographic projection matrix.
 VRS_TYPEINFO (Ortho, Transform)
 VRS_SERIALIZABLE (Ortho)


Detailed Description

Orthographic Camera Projection Transformation.

Constructor & Destructor Documentation

VRS::Ortho::Ortho ( double  left = -1,
double  right = 1,
double  bottom = -1,
double  top = 1,
double  nearDistance = 0.1,
double  farDistance = 100 
)

Ortho represents parallel projections.


Member Function Documentation

void VRS::Ortho::setLeft ( double  left  ) 

void VRS::Ortho::setRight ( double  right  ) 

void VRS::Ortho::setTop ( double  top  ) 

void VRS::Ortho::setBottom ( double  bottom  ) 

void VRS::Ortho::setNear ( double  nearValue  ) 

void VRS::Ortho::setFar ( double  farValue  ) 

double VRS::Ortho::getLeft (  )  const [inline]

double VRS::Ortho::getRight (  )  const [inline]

double VRS::Ortho::getTop (  )  const [inline]

double VRS::Ortho::getBottom (  )  const [inline]

double VRS::Ortho::getNear (  )  const [inline]

double VRS::Ortho::getFar (  )  const [inline]

Get/set the parameters that define the projection.

virtual const Matrix& VRS::Ortho::matrix ( Engine engine = 0  )  const [virtual]

Returns the orthographic projection matrix.

Implements VRS::Transform.

VRS::Ortho::VRS_TYPEINFO ( Ortho  ,
Transform   
)

VRS::Ortho::VRS_SERIALIZABLE ( Ortho   ) 


The documentation for this class was generated from the following file:

Generated on Tue May 22 06:00:26 2012 by Doxygen 1.5.6
© 2001-2010 Hasso-Plattner-Institut | Impressum | Contact