OpenSceneGraph
3.0.1
|
Constraint to snap motion commands to a sugar cube grid. More...
Public Member Functions | |
GridConstraint (osg::Node &refNode, const osg::Vec3d &origin, const osg::Vec3d &spacing) | |
void | setOrigin (const osg::Vec3d &origin) |
const osg::Vec3d & | getOrigin () const |
void | setSpacing (const osg::Vec3d &spacing) |
const osg::Vec3d & | getSpacing () const |
virtual bool | constrain (TranslateInLineCommand &command) const |
virtual bool | constrain (TranslateInPlaneCommand &command) const |
virtual bool | constrain (Scale1DCommand &command) const |
virtual bool | constrain (Scale2DCommand &command) const |
virtual bool | constrain (ScaleUniformCommand &command) const |
Protected Member Functions | |
virtual | ~GridConstraint () |
Constraint to snap motion commands to a sugar cube grid.
osgManipulator::GridConstraint::GridConstraint | ( | osg::Node & | refNode, |
const osg::Vec3d & | origin, | ||
const osg::Vec3d & | spacing | ||
) |
virtual osgManipulator::GridConstraint::~GridConstraint | ( | ) | [inline, protected, virtual] |
virtual bool osgManipulator::GridConstraint::constrain | ( | TranslateInLineCommand & | command | ) | const [virtual] |
Reimplemented from osgManipulator::Constraint.
virtual bool osgManipulator::GridConstraint::constrain | ( | TranslateInPlaneCommand & | command | ) | const [virtual] |
Reimplemented from osgManipulator::Constraint.
virtual bool osgManipulator::GridConstraint::constrain | ( | Scale1DCommand & | command | ) | const [virtual] |
Reimplemented from osgManipulator::Constraint.
virtual bool osgManipulator::GridConstraint::constrain | ( | Scale2DCommand & | command | ) | const [virtual] |
Reimplemented from osgManipulator::Constraint.
virtual bool osgManipulator::GridConstraint::constrain | ( | ScaleUniformCommand & | command | ) | const [virtual] |
Reimplemented from osgManipulator::Constraint.
const osg::Vec3d& osgManipulator::GridConstraint::getOrigin | ( | ) | const [inline] |
const osg::Vec3d& osgManipulator::GridConstraint::getSpacing | ( | ) | const [inline] |
void osgManipulator::GridConstraint::setOrigin | ( | const osg::Vec3d & | origin | ) | [inline] |
void osgManipulator::GridConstraint::setSpacing | ( | const osg::Vec3d & | spacing | ) | [inline] |
![]() | Generated at Mon Oct 3 2011 12:39:47 for the OpenSceneGraph by doxygen 1.7.5. |