All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
SurgSim::Physics::UpdateCollisionRepresentations Class Reference

Computation that calls the CollisionRepresentations update() function. More...

#include <SurgSim/Physics/UpdateCollisionRepresentations.h>

Inheritance diagram for SurgSim::Physics::UpdateCollisionRepresentations:
Inheritance graph
Collaboration diagram for SurgSim::Physics::UpdateCollisionRepresentations:
Collaboration graph

Public Member Functions

 UpdateCollisionRepresentations (bool doCopyState)
 Constructor. More...
virtual ~UpdateCollisionRepresentations ()
 Destructor. More...
virtual 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...
< 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...

Additional Inherited Members

Detailed Description

Computation that calls the CollisionRepresentations update() function.

Constructor & Destructor Documentation

SurgSim::Physics::UpdateCollisionRepresentations::UpdateCollisionRepresentations ( bool  doCopyState)


doCopyStatewhether to copy the PhysicsManagerState on update
SurgSim::Physics::UpdateCollisionRepresentations::~UpdateCollisionRepresentations ( )


Member Function Documentation

std::shared_ptr< PhysicsManagerState > SurgSim::Physics::UpdateCollisionRepresentations::doUpdate ( const double &  dt,
const std::shared_ptr< PhysicsManagerState > &  state 

Override this function to implement the computations specific behavior.

Implements SurgSim::Physics::Computation.

The documentation for this class was generated from the following files: