OSG  3.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Member Functions | List of all members
osgManipulator::Constraint Class Reference

#include <Constraint.h>

Inheritance diagram for osgManipulator::Constraint:
Inheritance graph
[legend]
Collaboration diagram for osgManipulator::Constraint:
Collaboration graph
[legend]

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 threadSafe)
 
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 setThreadSafeReferenceCounting (bool enableThreadSafeReferenceCounting)
 
static bool getThreadSafeReferenceCounting ()
 
static void setDeleteHandler (DeleteHandler *handler)
 
static DeleteHandlergetDeleteHandler ()
 
- Protected Attributes inherited from osg::Referenced
OpenThreads::AtomicPtr _observerSet
 
OpenThreads::Atomic _refCount
 

Detailed Description

Definition at line 59 of file Constraint.h.

Constructor & Destructor Documentation

osgManipulator::Constraint::Constraint ( )
inlineprotected

Definition at line 73 of file Constraint.h.

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

Definition at line 74 of file Constraint.h.

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

Definition at line 75 of file Constraint.h.

Member Function Documentation

void osgManipulator::Constraint::computeLocalToWorldAndWorldToLocal ( ) const
protected
virtual bool osgManipulator::Constraint::constrain ( MotionCommand ) const
inlinevirtual

Definition at line 63 of file Constraint.h.

Here is the caller graph for this function:

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

Reimplemented in osgManipulator::GridConstraint.

Definition at line 64 of file Constraint.h.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Reimplemented in osgManipulator::GridConstraint.

Definition at line 65 of file Constraint.h.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Reimplemented in osgManipulator::GridConstraint.

Definition at line 66 of file Constraint.h.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Reimplemented in osgManipulator::GridConstraint.

Definition at line 67 of file Constraint.h.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Reimplemented in osgManipulator::GridConstraint.

Definition at line 68 of file Constraint.h.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 69 of file Constraint.h.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 80 of file Constraint.h.

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

Definition at line 77 of file Constraint.h.

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

Definition at line 78 of file Constraint.h.

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

Definition at line 81 of file Constraint.h.


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