OpenSceneGraph
|
Public Member Functions | |
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 |