OSG  3.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Attributes | List of all members
osg::AnimationPath::ControlPoint Class Reference

#include <AnimationPath.h>

Collaboration diagram for osg::AnimationPath::ControlPoint:
Collaboration graph
[legend]

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
 

Detailed Description

Definition at line 46 of file AnimationPath.h.

Constructor & Destructor Documentation

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

Definition at line 49 of file AnimationPath.h.

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

Definition at line 52 of file AnimationPath.h.

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

Definition at line 57 of file AnimationPath.h.

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

Definition at line 62 of file AnimationPath.h.

Member Function Documentation

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

Definition at line 106 of file AnimationPath.h.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 113 of file AnimationPath.h.

Here is the call graph for this function:

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

Definition at line 92 of file AnimationPath.h.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 99 of file AnimationPath.h.

Here is the call graph for this function:

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

Definition at line 68 of file AnimationPath.h.

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

Definition at line 71 of file AnimationPath.h.

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

Definition at line 74 of file AnimationPath.h.

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

Definition at line 76 of file AnimationPath.h.

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

Definition at line 84 of file AnimationPath.h.

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

Definition at line 67 of file AnimationPath.h.

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

Definition at line 70 of file AnimationPath.h.

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

Definition at line 73 of file AnimationPath.h.

Member Data Documentation

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

Definition at line 122 of file AnimationPath.h.

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

Definition at line 123 of file AnimationPath.h.

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

Definition at line 124 of file AnimationPath.h.


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