OpenSceneGraph 2.8.3
|
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::Vec3d & | getPosition () const |
void | setRotation (const osg::Quat &rotation) |
const osg::Quat & | getRotation () const |
void | setScale (const osg::Vec3d &scale) |
const osg::Vec3d & | getScale () 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 |
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] |
void osg::AnimationPath::ControlPoint::getInverse | ( | Matrixf & | matrix | ) | const [inline] |
References osg::Matrixf::makeRotate(), osg::Matrixf::postMultScale(), and osg::Matrixf::preMultTranslate().
Referenced by osg::AnimationPath::getInverse().
void osg::AnimationPath::ControlPoint::getInverse | ( | Matrixd & | matrix | ) | const [inline] |
void osg::AnimationPath::ControlPoint::getMatrix | ( | Matrixf & | matrix | ) | const [inline] |
References osg::Matrixf::makeRotate(), osg::Matrixf::postMultTranslate(), and osg::Matrixf::preMultScale().
Referenced by osg::AnimationPath::getMatrix().
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 | ( | double | ratio, |
const ControlPoint & | first, | ||
const ControlPoint & | second | ||
) | [inline] |
void osg::AnimationPath::ControlPoint::interpolate | ( | float | ratio, |
const ControlPoint & | first, | ||
const ControlPoint & | second | ||
) | [inline] |
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] |
Referenced by interpolate().
osg::Quat osg::AnimationPath::ControlPoint::_rotation [protected] |
Referenced by interpolate().
osg::Vec3d osg::AnimationPath::ControlPoint::_scale [protected] |
Referenced by interpolate().
![]() | Generated at Tue Mar 22 2011 13:20:20 for the OpenSceneGraph by doxygen 1.7.3. |