16 #ifndef SURGSIM_PHYSICS_PREUPDATE_H 17 #define SURGSIM_PHYSICS_PREUPDATE_H 35 explicit PreUpdate(
bool doCopyState =
false);
44 std::shared_ptr<PhysicsManagerState>
doUpdate(
const double& dt,
const std::shared_ptr<PhysicsManagerState>& state)
51 #endif // SURGSIM_PHYSICS_PREUPDATE_H Definition: CompoundShapeToGraphics.cpp:29
PreUpdate(bool doCopyState=false)
Constructor.
Definition: PreUpdate.cpp:28
SURGSIM_CLASSNAME(SurgSim::Physics::PreUpdate)
std::shared_ptr< PhysicsManagerState > doUpdate(const double &dt, const std::shared_ptr< PhysicsManagerState > &state) override
Override doUpdate from superclass.
Definition: PreUpdate.cpp:38
Encapsulates a calculation over a selection of objects, needs to be subclassed to be used...
Definition: Computation.h:32
virtual ~PreUpdate()
Destructor.
Definition: PreUpdate.cpp:33
Pre Update is called after everything else is done in the physics time step.
Definition: PreUpdate.h:30