#include <Constraint.h>
Inheritance diagram for PlaneConstraint:
Definition at line 53 of file Constraint.h.
Public Member Functions | |
PlaneConstraint (const gutz::planef &pl) | |
virtual | ~PlaneConstraint () |
virtual gutz::vec3f | getMoveBy (gutz::vec3f pos, const gutz::MouseMoveEvent &mme) |
void | setPlane (const gutz::planef &pl) |
gutz::planef | getPlane () const |
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. | |
Protected Attributes | |
gutz::planef | _plane |
Friends | |
class | SmartPtr |
class | SmartPtrRef |
|
Definition at line 55 of file Constraint.h. References _plane. |
|
Definition at line 58 of file Constraint.h. |
|
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(). |
|
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. |
|
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(). |
|
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(). |
|
Definition at line 60 of file Constraint.h. References gutz::MouseMoveEvent::getWorldDel(). |
|
Definition at line 64 of file Constraint.h. References _plane. |
|
Definition at line 63 of file Constraint.h. References _plane. |
|
Definition at line 40 of file smartptr.h. Referenced by Nrro::NrroIter< T >::NrroIter(). |
|
Definition at line 41 of file smartptr.h. |
|
Definition at line 67 of file Constraint.h. Referenced by getPlane(), PlaneConstraint(), and setPlane(). |