#include <PenaltyRestingContact.h>
Inheritance diagram for Physsim::PenaltyRestingContact:

Public Member Functions | |
| virtual void | clone (BasePtr &cloned, bimap< BasePtr, BasePtr > *obj_map=NULL) const |
| Clones this object. | |
| virtual void | load_state (BaseConstPtr object, bimap< BasePtr, BasePtr > *correspondence=NULL) |
| Loads the state of this object. | |
| virtual void | save_state (BasePtr object, bimap< BasePtr, BasePtr > *correspondence=NULL) const |
| Saves the state of this object. | |
| virtual void | process_resting_contacts (const std::list< ContactPtr > &contacts) |
| Processes all resting contacts. | |
| virtual void | load_from_xml (XMLTreeConstPtr node, std::map< std::string, BasePtr > &id_map) |
| Implements Base::load_from_xml(). | |
| virtual void | save_to_xml (XMLTreePtr node, std::list< BaseConstPtr > &shared_objects) const |
| Implements Base::save_to_xml(). | |
| virtual bool | is_global_method () const |
| Indicates that this is not a global method. | |
| void PenaltyRestingContact::load_state | ( | BaseConstPtr | object, | |
| bimap< BasePtr, BasePtr > * | correspondence = NULL | |||
| ) | [virtual] |
Loads the state of this object.
The underlying penalty resting contact method must have identical structure.
Reimplemented from Physsim::Base.
| void PenaltyRestingContact::save_state | ( | BasePtr | object, | |
| bimap< BasePtr, BasePtr > * | correspondence = NULL | |||
| ) | const [virtual] |
Saves the state of this object.
The underlying penalty resting contact method must have identical structure.
Reimplemented from Physsim::Base.
| void PenaltyRestingContact::process_resting_contacts | ( | const std::list< ContactPtr > & | contacts | ) | [virtual] |
Processes all resting contacts.
| contacts | a set of contacts that have been determined to be resting (i.e., the relative normal velocity between the two bodies is less than zero and greater than some tolerance -epsilon. | |
| simulator | a pointer to the ContactSimulator that called this method |
Implements Physsim::RestingContactMethod.
1.5.1