PositionAttitideTransform - is Transfrom the set the coordinates transform up via a Vec3 position and Quat attitude
Inheritance:
Public Methods
-
PositionAttitudeTransform()
-
PositionAttitudeTransform(const PositionAttitudeTransform& pat, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
-
META_Node(PositionAttitudeTransform)
-
void setPosition(const Vec3& pos)
-
const Vec3& getPosition() const
-
void setAttitude(const Quat& quat)
-
const Quat& getAttitude() const
Protected Fields
-
Vec3 _position
-
Quat _attitude
Protected Methods
-
virtual const bool computeLocalToWorldMatrix(Matrix& matrix, NodeVisitor* nv) const
-
virtual const bool computeWorldToLocalMatrix(Matrix& matrix, NodeVisitor* nv) const
Public Methods
-
inline void setType(Type type)
-
inline const Type getType() const
-
inline void setMatrixMode(MatrixMode mode)
-
inline const MatrixMode getMatrixMode() 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
-
void setMatrix(const Matrix& mat)
-
inline const Matrix& getMatrix() const
-
void preMult(const Matrix& mat)
-
void postMult(const Matrix& mat)
Public Members
-
enum Type
-
struct ComputeTransformCallback: public osg::Referenced
Protected Fields
-
Type _type
-
MatrixMode _mode
-
ref_ptr<ComputeTransformCallback> _computeTransformCallback
-
ref_ptr<Matrix> _matrix
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 int getNumChildren() const
-
inline Node* getChild( const int i )
-
inline const Node* getChild( const 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
Inherited from Node:
Public Methods
-
virtual Object* cloneType() const
-
virtual Object* clone(const CopyOp& copyop) const
-
virtual bool isSameKindAs(const Object* obj) const
-
virtual const char* className() const
-
virtual void accept(NodeVisitor& nv)
-
virtual void ascend(NodeVisitor& nv)
-
inline void setName( const std::string& name )
-
inline void setName( const char* name )
-
inline const std::string& getName() const
-
inline const ParentList& getParents() const
-
inline ParentList getParents()
-
inline Group* getParent(const int i)
-
inline const Group* getParent(const int i) const
-
inline const int getNumParents() const
-
void setAppCallback(NodeCallback* nc)
-
inline NodeCallback* getAppCallback()
-
inline const NodeCallback* getAppCallback() const
-
inline const int getNumChildrenRequiringAppTraversal() const
-
void setCullingActive(const bool active)
-
inline const bool getCullingActive() const
-
inline const int getNumChildrenWithCullingDisabled() const
-
inline void setUserData(osg::Referenced* obj)
-
inline Referenced* getUserData()
-
inline const Referenced* getUserData() const
-
inline void setNodeMask(const NodeMask nm)
-
inline const NodeMask getNodeMask() const
-
inline const DescriptionList& getDescriptions() const
-
inline DescriptionList& getDescriptions()
-
inline const std::string& getDescription(const int i) const
-
inline std::string& getDescription(const int i)
-
inline const int getNumDescriptions() const
-
void addDescription(const std::string& desc)
-
inline void setStateSet(osg::StateSet* dstate)
-
inline osg::StateSet* getStateSet()
-
inline const osg::StateSet* getStateSet() const
-
inline const BoundingSphere& getBound() const
-
void dirtyBound()
Public Members
-
typedef std::vector<Group*> ParentList
-
typedef std::vector<std::string> DescriptionList
Protected Fields
-
mutable BoundingSphere _bsphere
-
mutable bool _bsphere_computed
-
std::string _name
-
ParentList _parents
-
ref_ptr<NodeCallback> _appCallback
-
int _numChildrenRequiringAppTraversal
-
bool _cullingActive
-
int _numChildrenWithCullingDisabled
-
osg::ref_ptr<Referenced> _userData
-
NodeMask _nodeMask
-
DescriptionList _descriptions
-
ref_ptr<StateSet> _dstate
Protected Methods
-
void addParent(osg::Group* node)
-
void removeParent(osg::Group* node)
-
void setNumChildrenRequiringAppTraversal(const int num)
-
void setNumChildrenWithCullingDisabled(const int num)
Inherited from Object:
Public Methods
-
inline Referenced& operator = (Referenced&)
-
inline void ref() const
-
inline void unref() const
-
inline const int referenceCount() const
Protected Fields
-
mutable int _refCount
Documentation
PositionAttitideTransform - is Transfrom the set the coordinates transform
up via a Vec3 position and Quat attitude
- PositionAttitudeTransform()
- PositionAttitudeTransform(const PositionAttitudeTransform& pat, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
- META_Node(PositionAttitudeTransform)
- void setPosition(const Vec3& pos)
- const Vec3& getPosition() const
- void setAttitude(const Quat& quat)
- const Quat& getAttitude() const
- virtual const bool computeLocalToWorldMatrix(Matrix& matrix, NodeVisitor* nv) const
- virtual const bool computeWorldToLocalMatrix(Matrix& matrix, NodeVisitor* nv) const
- Vec3 _position
- Quat _attitude
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.