arbeit
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

Constraint Class Reference

#include <Constraint.h>

Inheritance diagram for Constraint:

gutz::Counted PlaneConstraint List of all members.

Detailed Description

a base class for widget constraints, also implements the "Free Move" constraint, which is really no constraint at all :)

Definition at line 31 of file Constraint.h.

Public Member Functions

 Constraint ()
virtual ~Constraint ()
virtual gutz::vec3f getMoveBy (gutz::vec3f pos, const gutz::MouseMoveEvent &mme) const
 getMoveBy, returs space delta, takes the current space position (not the pick pos, but the point that needs to be constrained), and the move event.


Protected Member Functions

virtual void _incCount ()
 gutz::Counted interface, increment reference count by one.

virtual void _decCount ()
 gutz::Counted interface, decrement reference count by one.

virtual int _getCount () const
 gutz::Counted interface, get the current reference count.


Friends

class SmartPtr
class SmartPtrRef


Constructor & Destructor Documentation

Constraint::Constraint  )  [inline]
 

Definition at line 33 of file Constraint.h.

virtual Constraint::~Constraint  )  [inline, virtual]
 

Definition at line 34 of file Constraint.h.


Member Function Documentation

virtual void gutz::Counted::_decCount  )  [inline, protected, virtual, inherited]
 

gutz::Counted interface, decrement reference count by one.

Not generaly used by subclasses, mostly for collaboration with gutz::SmartPtr. Sometimes you need to call this though, see the documentation for gutz::SmartPtr

Definition at line 54 of file smartptr.h.

Referenced by TFImage::clear(), NrroImage::fBlendOverRGBA(), and Nrro::updateMinMax().

virtual int gutz::Counted::_getCount  )  const [inline, protected, virtual, inherited]
 

gutz::Counted interface, get the current reference count.

Not generaly used by subclasses, mostly for collaboration with gutz::SmartPtr.

Definition at line 58 of file smartptr.h.

virtual void gutz::Counted::_incCount  )  [inline, protected, virtual, inherited]
 

gutz::Counted interface, increment reference count by one.

Not generaly used by subclasses, mostly for collaboration with gutz::SmartPtr. Sometimes you need to call this though, see the documentation for gutz::SmartPtr

Definition at line 48 of file smartptr.h.

Referenced by TFImage::clear(), NrroImage::fBlendOverRGBA(), and Nrro::updateMinMax().

virtual gutz::vec3f Constraint::getMoveBy gutz::vec3f  pos,
const gutz::MouseMoveEvent mme
const [inline, virtual]
 

getMoveBy, returs space delta, takes the current space position (not the pick pos, but the point that needs to be constrained), and the move event.

Definition at line 39 of file Constraint.h.

References gutz::MouseMoveEvent::getWorldDel().


Friends And Related Function Documentation

friend class SmartPtr [friend, inherited]
 

Definition at line 40 of file smartptr.h.

Referenced by Nrro::NrroIter< T >::NrroIter().

friend class SmartPtrRef [friend, inherited]
 

Definition at line 41 of file smartptr.h.


The documentation for this class was generated from the following file:
Send questions, comments, and bug reports to:
jmk