OpenSceneGraph 3.6.5
osg::AnimationPath::ControlPoint Class Reference

#include <AnimationPath>

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

◆ ControlPoint() [1/4]

osg::AnimationPath::ControlPoint::ControlPoint ( )
inline

References _scale.

Referenced by interpolate(), and interpolate().

◆ ControlPoint() [2/4]

osg::AnimationPath::ControlPoint::ControlPoint ( const osg::Vec3d & position)
inline

References _position, _rotation, and _scale.

◆ ControlPoint() [3/4]

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

References _position, _rotation, and _scale.

◆ ControlPoint() [4/4]

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

References _position, _rotation, and _scale.

Member Function Documentation

◆ getInverse() [1/2]

void osg::AnimationPath::ControlPoint::getInverse ( Matrixd & matrix) const
inline

◆ getInverse() [2/2]

void osg::AnimationPath::ControlPoint::getInverse ( Matrixf & matrix) const
inline

◆ getMatrix() [1/2]

void osg::AnimationPath::ControlPoint::getMatrix ( Matrixd & matrix) const
inline

◆ getMatrix() [2/2]

void osg::AnimationPath::ControlPoint::getMatrix ( Matrixf & matrix) const
inline

◆ getPosition()

const osg::Vec3d & osg::AnimationPath::ControlPoint::getPosition ( ) const
inline

References _position.

◆ getRotation()

const osg::Quat & osg::AnimationPath::ControlPoint::getRotation ( ) const
inline

References _rotation.

◆ getScale()

const osg::Vec3d & osg::AnimationPath::ControlPoint::getScale ( ) const
inline

References _scale.

◆ interpolate() [1/2]

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

◆ interpolate() [2/2]

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

◆ setPosition()

void osg::AnimationPath::ControlPoint::setPosition ( const osg::Vec3d & position)
inline

References _position.

◆ setRotation()

void osg::AnimationPath::ControlPoint::setRotation ( const osg::Quat & rotation)
inline

References _rotation.

◆ setScale()

void osg::AnimationPath::ControlPoint::setScale ( const osg::Vec3d & scale)
inline

References _scale.

Member Data Documentation

◆ _position

◆ _rotation

◆ _scale


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

osg logo
Generated at Sun Jul 20 2025 00:00:00 for the OpenSceneGraph by doxygen 1.14.0.