AnimaL |
Tutorial |
Documentation |
#include <massSpringEngine.h>
Inheritance diagram for animal::MassSpringEngine< Inv_Masses, Velocities, SpringStiffness, IndexedSprings, Points, Real >::ConstrainedPoint:

A selected point is not allowed to move except using method moveTo(float,float,float).
Definition at line 82 of file massSpringEngine.h.
Public Member Functions | |
| ConstrainedPoint (MassSpringEngine *mse, int index) | |
| Construct given a point. | |
| virtual void | getPoint (float &x, float &y, float &z) const |
| Get point position to x,y,z. | |
| virtual void | moveTo (float x, float y, float z) const |
| Set point position to x,y,z. | |
| virtual | ~ConstrainedPoint () |
| Destructor. | |
| virtual void | print () const |
| print an item | |
| virtual bool | operator== (const ConstrainedItem *) const |
| Comparison operator. True iff both Items point to the same element. | |
Protected Attributes | |
| MassSpringEngine * | _mse |
| int | _index |
| float | invmass |
|
||||||||||||||||
|
Construct given a point.
Definition at line 245 of file massSpringEngine.inl. |
|
|||||||||
|
||||||||||||||||||||
|
Get point position to x,y,z.
Reimplemented from animal::ConstrainedItem. Definition at line 261 of file massSpringEngine.inl. References animal::MassSpringEngine< Inv_Masses, Velocities, SpringStiffness, IndexedSprings, Points, Real >::ConstrainedPoint::_index, animal::MassSpringEngine< Inv_Masses, Velocities, SpringStiffness, IndexedSprings, Points, Real >::ConstrainedPoint::_mse, and animal::MassSpringEngine< Inv_Masses, Velocities, SpringStiffness, IndexedSprings, Points, Real >::_points. |
|
||||||||||||||||||||
|
||||||||||
|
Comparison operator. True iff both Items point to the same element.
Implements animal::ConstrainedItem. Definition at line 322 of file massSpringEngine.inl. References animal::MassSpringEngine< Inv_Masses, Velocities, SpringStiffness, IndexedSprings, Points, Real >::ConstrainedPoint::_index, and animal::MassSpringEngine< Inv_Masses, Velocities, SpringStiffness, IndexedSprings, Points, Real >::ConstrainedPoint::_mse. |
|
|||||||||
|
print an item
Reimplemented from animal::ConstrainedItem. Definition at line 296 of file massSpringEngine.inl. |
|
|||||
|
|||||
|
|||||
|
Definition at line 106 of file massSpringEngine.h. |
1.3.6