MatrixTransform - is a subclass of Transform which has an osg::Matrix which represent a 4x4 transformation of its children from local cordinates into the Transform's parent coordinates
Inheritance:
Public Methods
-
MatrixTransform()
-
MatrixTransform(const MatrixTransform&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
- Copy constructor using CopyOp to manage deep vs shallow copy
-
MatrixTransform(const Matrix& matix)
-
META_Node(osg, MatrixTransform)
-
void setMatrix(const Matrix& mat)
- Set the transform's matrix
-
inline const Matrix& getMatrix() const
- Get the matrix.
-
void preMult(const Matrix& mat)
- pre multiply the transforms matrix
-
void postMult(const Matrix& mat)
- post multiply the transforms matrix
-
inline const Matrix& getInverseMatrix() const
- Get the inverse matrix.
-
virtual const bool computeLocalToWorldMatrix(Matrix& matrix, NodeVisitor*) const
-
virtual const bool computeWorldToLocalMatrix(Matrix& matrix, NodeVisitor*) const
Public Members
-
class SG_EXPORT AnimationPathCallback: public NodeCallback
- Callback which can be attached to a MatrixTransform as an app callback to allow it to follow the path defined by a AnimationPath
Protected Fields
-
ref_ptr<Matrix> _matrix
-
mutable ref_ptr<Matrix> _inverse
-
mutable bool _inverseDirty
Protected Methods
-
virtual ~MatrixTransform()
Public Methods
-
void setReferenceFrame(ReferenceFrame rf)
-
const ReferenceFrame getReferenceFrame() const
-
void setComputeTransformCallback(ComputeTransformCallback* ctc)
-
ComputeTransformCallback* getComputeTransformCallback()
-
const ComputeTransformCallback* getComputeTransformCallback() const
-
inline const bool getLocalToWorldMatrix(Matrix& matrix, NodeVisitor* nv) const
-
inline const bool getWorldToLocalMatrix(Matrix& matrix, NodeVisitor* nv) const
Public Members
-
enum ReferenceFrame
-
struct ComputeTransformCallback: public osg::Referenced
Protected Fields
-
ref_ptr<ComputeTransformCallback> _computeTransformCallback
-
ReferenceFrame _referenceFrame
Protected Methods
-
virtual const bool computeBound() const
Inherited from Group:
Public Methods
-
virtual void traverse(NodeVisitor& nv)
-
virtual bool addChild( Node* child )
-
virtual bool removeChild( Node* child )
-
virtual bool replaceChild( Node* origChild, Node* newChild )
-
inline const unsigned int getNumChildren() const
-
inline Node* getChild( const unsigned int i )
-
inline const Node* getChild( const unsigned int i ) const
-
inline bool containsNode( const Node* node ) const
-
inline ChildList::iterator findNode( const Node* node )
-
inline ChildList::const_iterator findNode( const Node* node ) const
Protected Fields
-
ChildList _children
Documentation
MatrixTransform - is a subclass of Transform which has an osg::Matrix
which represent a 4x4 transformation of its children from local cordinates
into the Transform's parent coordinates
- MatrixTransform()
- MatrixTransform(const MatrixTransform&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
- Copy constructor using CopyOp to manage deep vs shallow copy
- MatrixTransform(const Matrix& matix)
- META_Node(osg, MatrixTransform)
- void setMatrix(const Matrix& mat)
- Set the transform's matrix
- inline const Matrix& getMatrix() const
- Get the matrix.
- void preMult(const Matrix& mat)
- pre multiply the transforms matrix
- void postMult(const Matrix& mat)
- post multiply the transforms matrix
- inline const Matrix& getInverseMatrix() const
- Get the inverse matrix.
- virtual const bool computeLocalToWorldMatrix(Matrix& matrix, NodeVisitor*) const
- virtual const bool computeWorldToLocalMatrix(Matrix& matrix, NodeVisitor*) const
- virtual ~MatrixTransform()
- ref_ptr<Matrix> _matrix
- mutable ref_ptr<Matrix> _inverse
- mutable bool _inverseDirty
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.