class SG_EXPORT osg::Projection

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

Inheritance:


Public Methods

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

Protected Fields

[more]ref_ptr<Matrix> _matrix

Protected Methods

[more]virtual ~Projection()


Inherited from Group:

Public Methods

ovirtual void traverse(NodeVisitor& nv)
ovirtual bool addChild( Node* child )
ovirtual bool removeChild( Node* child )
ovirtual bool replaceChild( Node* origChild, Node* newChild )
oinline const unsigned int getNumChildren() const
oinline Node* getChild( const unsigned int i )
oinline const Node* getChild( const unsigned int i ) const
oinline bool containsNode( const Node* node ) const
oinline ChildList::iterator findNode( const Node* node )
oinline ChildList::const_iterator findNode( const Node* node ) const

Protected Fields

oChildList _children

Protected Methods

ovirtual const bool computeBound() const


Documentation

Projection nodes set up the frustum/orthographic projection used when rendering the scene
o Projection()

o Projection(const Projection&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy

o Projection(const Matrix& matix)

o META_Node(osg, Projection)

ovoid setMatrix(const Matrix& mat)
Set the transform's matrix

oinline const Matrix& getMatrix() const
Get the transform's matrix.

ovoid preMult(const Matrix& mat)
preMult transform

ovoid postMult(const Matrix& mat)
postMult transform

ovirtual ~Projection()

oref_ptr<Matrix> _matrix


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.