openscenegraph
Public Member Functions | Protected Member Functions | List of all members
osgManipulator::Constraint Class Reference

#include <Constraint>

Inheritance diagram for osgManipulator::Constraint:
osg::Referenced osgManipulator::GridConstraint

Public Member Functions

virtual bool constrain (MotionCommand &) 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
 
virtual bool constrain (Rotate3DCommand &command) const
 
- Public Member Functions inherited from osg::Referenced
 Referenced ()
 
 Referenced (bool threadSafeRefUnref)
 
 Referenced (const Referenced &)
 
Referencedoperator= (const Referenced &)
 
virtual void setThreadSafeRefUnref (bool)
 
bool getThreadSafeRefUnref () const
 
OpenThreads::MutexgetRefMutex () const
 
int ref () const
 
int unref () const
 
int unref_nodelete () const
 
int referenceCount () const
 
ObserverSetgetObserverSet () const
 
ObserverSetgetOrCreateObserverSet () const
 
void addObserver (Observer *observer) const
 
void removeObserver (Observer *observer) const
 

Protected Member Functions

 Constraint ()
 
 Constraint (osg::Node &refNode)
 
virtual ~Constraint ()
 
osg::NodegetReferenceNode ()
 
const osg::NodegetReferenceNode () const
 
const osg::MatrixgetLocalToWorld () const
 
const osg::MatrixgetWorldToLocal () 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::MutexgetGlobalReferencedMutex ()
 
static void setDeleteHandler (DeleteHandler *handler)
 
static DeleteHandlergetDeleteHandler ()
 
- Protected Attributes inherited from osg::Referenced
OpenThreads::AtomicPtr _observerSet
 
OpenThreads::Atomic _refCount
 

Constructor & Destructor Documentation

◆ Constraint() [1/2]

osgManipulator::Constraint::Constraint ( )
inlineprotected

◆ Constraint() [2/2]

osgManipulator::Constraint::Constraint ( osg::Node refNode)
inlineprotected

◆ ~Constraint()

virtual osgManipulator::Constraint::~Constraint ( )
inlineprotectedvirtual

Member Function Documentation

◆ computeLocalToWorldAndWorldToLocal()

void osgManipulator::Constraint::computeLocalToWorldAndWorldToLocal ( ) const
protected

◆ constrain() [1/7]

virtual bool osgManipulator::Constraint::constrain ( MotionCommand ) const
inlinevirtual

◆ constrain() [2/7]

virtual bool osgManipulator::Constraint::constrain ( Rotate3DCommand command) const
inlinevirtual

◆ constrain() [3/7]

virtual bool osgManipulator::Constraint::constrain ( Scale1DCommand command) const
inlinevirtual

Reimplemented in osgManipulator::GridConstraint.

◆ constrain() [4/7]

virtual bool osgManipulator::Constraint::constrain ( Scale2DCommand command) const
inlinevirtual

Reimplemented in osgManipulator::GridConstraint.

◆ constrain() [5/7]

virtual bool osgManipulator::Constraint::constrain ( ScaleUniformCommand command) const
inlinevirtual

Reimplemented in osgManipulator::GridConstraint.

◆ constrain() [6/7]

virtual bool osgManipulator::Constraint::constrain ( TranslateInLineCommand command) const
inlinevirtual

Reimplemented in osgManipulator::GridConstraint.

◆ constrain() [7/7]

virtual bool osgManipulator::Constraint::constrain ( TranslateInPlaneCommand command) const
inlinevirtual

Reimplemented in osgManipulator::GridConstraint.

◆ getLocalToWorld()

const osg::Matrix & osgManipulator::Constraint::getLocalToWorld ( ) const
inlineprotected

◆ getReferenceNode() [1/2]

osg::Node & osgManipulator::Constraint::getReferenceNode ( )
inlineprotected

◆ getReferenceNode() [2/2]

const osg::Node & osgManipulator::Constraint::getReferenceNode ( ) const
inlineprotected

◆ getWorldToLocal()

const osg::Matrix & osgManipulator::Constraint::getWorldToLocal ( ) const
inlineprotected

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