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 bool computeLocalToWorldMatrix(Matrix& matrix, NodeVisitor*) const
-
virtual 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
-
virtual Transform* asTransform()
-
virtual const Transform* asTransform() const
-
void setReferenceFrame(ReferenceFrame rf)
-
ReferenceFrame getReferenceFrame() const
-
void setComputeTransformCallback(ComputeTransformCallback* ctc)
-
ComputeTransformCallback* getComputeTransformCallback()
-
const ComputeTransformCallback* getComputeTransformCallback() const
-
inline bool getLocalToWorldMatrix(Matrix& matrix, NodeVisitor* nv) const
-
inline 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 bool computeBound() const
Inherited from Group:
Public Methods
-
virtual Group* asGroup()
-
virtual const Group* asGroup() const
-
virtual void traverse(NodeVisitor& nv)
-
virtual bool addChild( Node* child )
-
virtual bool removeChild( Node* child )
-
virtual bool replaceChild( Node* origChild, Node* newChild )
-
inline unsigned int getNumChildren() const
-
inline Node* getChild( unsigned int i )
-
inline const Node* getChild( 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
-
inline unsigned int findChildNo( const Node* node ) const
Public Members
-
typedef std::vector<ref_ptr<Node> > ChildList
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 bool computeLocalToWorldMatrix(Matrix& matrix, NodeVisitor*) const
- virtual 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++.