#include <Elastoid.h>
Inheritance diagram for Elastoid:
|
Definition at line 13 of file Elastoid.cpp. |
|
Definition at line 16 of file Elastoid.cpp. References objects, and purgeContainer(). |
|
Definition at line 18 of file Elastoid.h. References objects. Referenced by Pac::Pac(). |
|
Computes the derivatives, given the contact forces. The globalContacts pointer is needed for contact processing for articulated agents. Reimplemented from PhysicalObject. Definition at line 35 of file Elastoid.cpp. References objects. |
|
Computes the derivatives (velocity, angular velocity) of the object, ignoring any eventual contact forces. Reimplemented from PhysicalObject. Definition at line 27 of file Elastoid.cpp. |
|
Delete the contacts of the object. Reimplemented from PhysicalObject. Definition at line 67 of file Elastoid.cpp. References objects. |
|
Contact handling. Implements PhysicalObject. Definition at line 52 of file Elastoid.cpp. References objects. |
|
Detects internal contacts. Does nothing for primitive objects or composed objects. To be overriden by complex objects that have parts that move relative to each other, such as articulated objects. Reimplemented from PhysicalObject. Definition at line 60 of file Elastoid.cpp. References objects. |
|
Detects whether a click of the mouse at rMouse has touched the object. In case of contact, returns true and sets p to the relative vector between the center of the object and the contact point; p is expressed in the object reference frame because it rotates with the object while the object is dragged. The object needs to be set by the function because, for articulated objects, the dragged object is an articulation and not the whole articulated object. To be overriden by the various object primitives. Reimplemented from PhysicalObject. Definition at line 73 of file Elastoid.cpp. References objects. |
|
Draw the object to the graphical user interface. Implements GraphicalObject. Definition at line 84 of file Elastoid.cpp. References links, objects, and GUI::setPenColor(). |
|
Advances the time to the next timestep. Reimplemented from PhysicalObject. Definition at line 41 of file Elastoid.cpp. References objects, Vector2::setXY(), Vector2::updateMax(), and Vector2::updateMin(). |
|
Registers all composing primitives of the object with the simulator. Reimplemented from PhysicalObject. Definition at line 20 of file Elastoid.cpp. References objects, and Simulator::registerPrimitive(). |
|
Definition at line 16 of file Elastoid.h. Referenced by computeDerivativesWithoutContacts(), and draw(). |
|
Definition at line 15 of file Elastoid.h. Referenced by addObject(), computeDerivatives(), computeDerivativesWithoutContacts(), deleteContacts(), detectContacts(), detectInternalContacts(), detectMouseContact(), draw(), integrate(), registerPrimitives(), and ~Elastoid(). |
Thyrix homepage Users' guide
(C) Arxia 2004-2005