|
OSG
3.4.0
|
#include <Constraint.h>


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 |
Public Member Functions inherited from osgManipulator::Constraint | |
| virtual bool | constrain (MotionCommand &) const |
| virtual bool | constrain (Rotate3DCommand &command) const |
Public Member Functions inherited from osg::Referenced | |
| Referenced () | |
| Referenced (bool threadSafeRefUnref) | |
| Referenced (const Referenced &) | |
| Referenced & | operator= (const Referenced &) |
| virtual void | setThreadSafeRefUnref (bool threadSafe) |
| bool | getThreadSafeRefUnref () const |
| OpenThreads::Mutex * | getRefMutex () const |
| int | ref () const |
| int | unref () const |
| int | unref_nodelete () const |
| int | referenceCount () const |
| ObserverSet * | getObserverSet () const |
| ObserverSet * | getOrCreateObserverSet () const |
| void | addObserver (Observer *observer) const |
| void | removeObserver (Observer *observer) const |
Protected Member Functions | |
| virtual | ~GridConstraint () |
Protected Member Functions inherited from osgManipulator::Constraint | |
| Constraint () | |
| Constraint (osg::Node &refNode) | |
| virtual | ~Constraint () |
| osg::Node & | getReferenceNode () |
| const osg::Node & | getReferenceNode () const |
| const osg::Matrix & | getLocalToWorld () const |
| const osg::Matrix & | getWorldToLocal () const |
| void | computeLocalToWorldAndWorldToLocal () const |
Protected Member Functions inherited from osg::Referenced | |
| virtual | ~Referenced () |
| void | signalObserversAndDelete (bool signalDelete, bool doDelete) const |
| void | deleteUsingDeleteHandler () const |
Additional Inherited Members | |
Static Public Member Functions inherited from osg::Referenced | |
| static OpenThreads::Mutex * | getGlobalReferencedMutex () |
| static void | setThreadSafeReferenceCounting (bool enableThreadSafeReferenceCounting) |
| static bool | getThreadSafeReferenceCounting () |
| static void | setDeleteHandler (DeleteHandler *handler) |
| static DeleteHandler * | getDeleteHandler () |
Protected Attributes inherited from osg::Referenced | |
| OpenThreads::AtomicPtr | _observerSet |
| OpenThreads::Atomic | _refCount |
Constraint to snap motion commands to a sugar cube grid.
Definition at line 95 of file Constraint.h.
| osgManipulator::GridConstraint::GridConstraint | ( | osg::Node & | refNode, |
| const osg::Vec3d & | origin, | ||
| const osg::Vec3d & | spacing | ||
| ) |
|
inlineprotectedvirtual |
Definition at line 115 of file Constraint.h.
|
virtual |
Reimplemented from osgManipulator::Constraint.
|
virtual |
Reimplemented from osgManipulator::Constraint.
|
virtual |
Reimplemented from osgManipulator::Constraint.
|
virtual |
Reimplemented from osgManipulator::Constraint.
|
virtual |
Reimplemented from osgManipulator::Constraint.
|
inline |
Definition at line 102 of file Constraint.h.
|
inline |
Definition at line 105 of file Constraint.h.
|
inline |
Definition at line 101 of file Constraint.h.
|
inline |
Definition at line 104 of file Constraint.h.
1.8.8