|
Computation that calls the CollisionRepresentations update() function. More...
#include <SurgSim/Physics/UpdateCollisionRepresentations.h>
Public Member Functions | |
| UpdateCollisionRepresentations (bool doCopyState) | |
| Constructor. More... | |
| SURGSIM_CLASSNAME (SurgSim::Physics::UpdateCollisionRepresentations) | |
| virtual | ~UpdateCollisionRepresentations () |
| Destructor. More... | |
| std::shared_ptr< PhysicsManagerState > | doUpdate (const double &dt, const std::shared_ptr< PhysicsManagerState > &state) override |
| Override this function to implement the computations specific behavior. More... | |
Public Member Functions inherited from SurgSim::Physics::Computation | |
| Computation (bool doCopyState) | |
| Constructor. More... | |
| virtual | ~Computation () |
| Destructor. More... | |
| std::shared_ptr< PhysicsManagerState > | update (double dt, const std::shared_ptr< PhysicsManagerState > &state) |
| Public Interface execute this objects computations, dt is the time from the last update call in seconds. More... | |
| void | setDoCopyState (bool val) |
| Sets up whether the computation will copy the state of PhysicsManagerState before executing. More... | |
| bool | isCopyingState () |
| Query if this object is copying the PhysicsManagerState. More... | |
| virtual std::string | getClassName () const =0 |
| The class name for this class. More... | |
| Framework::Timer & | getTimer () |
| Provides access to the update timer. More... | |
Additional Inherited Members |
Computation that calls the CollisionRepresentations update() function.
|
explicit |
Constructor.
| doCopyState | whether to copy the PhysicsManagerState on update |
|
virtual |
Destructor.
|
overridevirtual |
Override this function to implement the computations specific behavior.
Implements SurgSim::Physics::Computation.
| SurgSim::Physics::UpdateCollisionRepresentations::SURGSIM_CLASSNAME | ( | SurgSim::Physics::UpdateCollisionRepresentations | ) |
1.8.13