OpenSceneGraph  3.0.1
Public Member Functions | Protected Attributes
osg::AnimationPath::ControlPoint Class Reference

List of all members.

Public Member Functions

 ControlPoint ()
 ControlPoint (const osg::Vec3d &position)
 ControlPoint (const osg::Vec3d &position, const osg::Quat &rotation)
 ControlPoint (const osg::Vec3d &position, const osg::Quat &rotation, const osg::Vec3d &scale)
void setPosition (const osg::Vec3d &position)
const osg::Vec3dgetPosition () const
void setRotation (const osg::Quat &rotation)
const osg::QuatgetRotation () const
void setScale (const osg::Vec3d &scale)
const osg::Vec3dgetScale () const
void interpolate (float ratio, const ControlPoint &first, const ControlPoint &second)
void interpolate (double ratio, const ControlPoint &first, const ControlPoint &second)
void getMatrix (Matrixf &matrix) const
void getMatrix (Matrixd &matrix) const
void getInverse (Matrixf &matrix) const
void getInverse (Matrixd &matrix) const

Protected Attributes

osg::Vec3d _position
osg::Quat _rotation
osg::Vec3d _scale

Constructor & Destructor Documentation

osg::AnimationPath::ControlPoint::ControlPoint ( )
inline
osg::AnimationPath::ControlPoint::ControlPoint ( const osg::Vec3d position)
inline
osg::AnimationPath::ControlPoint::ControlPoint ( const osg::Vec3d position,
const osg::Quat rotation 
)
inline
osg::AnimationPath::ControlPoint::ControlPoint ( const osg::Vec3d position,
const osg::Quat rotation,
const osg::Vec3d scale 
)
inline

Member Function Documentation

void osg::AnimationPath::ControlPoint::getInverse ( Matrixf matrix) const
inline
void osg::AnimationPath::ControlPoint::getInverse ( Matrixd matrix) const
inline
void osg::AnimationPath::ControlPoint::getMatrix ( Matrixf matrix) const
inline
void osg::AnimationPath::ControlPoint::getMatrix ( Matrixd matrix) const
inline
const osg::Vec3d& osg::AnimationPath::ControlPoint::getPosition ( ) const
inline
const osg::Quat& osg::AnimationPath::ControlPoint::getRotation ( ) const
inline
const osg::Vec3d& osg::AnimationPath::ControlPoint::getScale ( ) const
inline
void osg::AnimationPath::ControlPoint::interpolate ( float  ratio,
const ControlPoint first,
const ControlPoint second 
)
inline

References _position, _rotation, and _scale.

void osg::AnimationPath::ControlPoint::interpolate ( double  ratio,
const ControlPoint first,
const ControlPoint second 
)
inline

References _position, _rotation, and _scale.

void osg::AnimationPath::ControlPoint::setPosition ( const osg::Vec3d position)
inline
void osg::AnimationPath::ControlPoint::setRotation ( const osg::Quat rotation)
inline
void osg::AnimationPath::ControlPoint::setScale ( const osg::Vec3d scale)
inline

Member Data Documentation

osg::Vec3d osg::AnimationPath::ControlPoint::_position
protected

Referenced by interpolate().

osg::Quat osg::AnimationPath::ControlPoint::_rotation
protected

Referenced by interpolate().

osg::Vec3d osg::AnimationPath::ControlPoint::_scale
protected

Referenced by interpolate().


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

osg logo
Generated at Fri Nov 2 2012 21:39:25 for the OpenSceneGraph by doxygen 1.8.1.1.