OpenSceneGraph 2.8.3

osg::Projection Class Reference

Projection nodes set up the frustum/orthographic projection used when rendering the scene. More...

Inheritance diagram for osg::Projection:

List of all members.

Public Member Functions

 Projection ()
 Projection (const Projection &, const CopyOp &copyop=CopyOp::SHALLOW_COPY)
 Copy constructor using CopyOp to manage deep vs shallow copy.
 Projection (const Matrix &matix)
 META_Node (osg, Projection)
void setMatrix (const Matrix &mat)
 Set the transform's matrix.
const MatrixgetMatrix () const
 Get the transform's matrix.
void preMult (const Matrix &mat)
 preMult transform.
void postMult (const Matrix &mat)
 postMult transform.

Protected Member Functions

virtual ~Projection ()

Protected Attributes

Matrix _matrix

Detailed Description

Projection nodes set up the frustum/orthographic projection used when rendering the scene.


Constructor & Destructor Documentation

osg::Projection::Projection ( )
osg::Projection::Projection ( const Projection ,
const CopyOp copyop = CopyOp::SHALLOW_COPY 
)

Copy constructor using CopyOp to manage deep vs shallow copy.

osg::Projection::Projection ( const Matrix matix)
virtual osg::Projection::~Projection ( ) [protected, virtual]

Member Function Documentation

const Matrix& osg::Projection::getMatrix ( ) const [inline]

Get the transform's matrix.

osg::Projection::META_Node ( osg  ,
Projection   
)
void osg::Projection::postMult ( const Matrix mat) [inline]

postMult transform.

void osg::Projection::preMult ( const Matrix mat) [inline]

preMult transform.

void osg::Projection::setMatrix ( const Matrix mat) [inline]

Set the transform's matrix.


Member Data Documentation


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

osg logo
Generated at Tue Mar 22 2011 13:20:23 for the OpenSceneGraph by doxygen 1.7.3.