16 #ifndef SURGSIM_PHYSICS_FREEMOTION_H
17 #define SURGSIM_PHYSICS_FREEMOTION_H
47 virtual std::shared_ptr<PhysicsManagerState>
doUpdate(
49 const std::shared_ptr<PhysicsManagerState>& state)
override;
Definition: DriveElementFromInputBehavior.cpp:27
FreeMotion(bool doCopyState=false)
Constructor.
Definition: FreeMotion.cpp:30
virtual std::shared_ptr< PhysicsManagerState > doUpdate(const double &dt, const std::shared_ptr< PhysicsManagerState > &state) override
Override doUpdate from superclass.
Definition: FreeMotion.cpp:40
Apply the Freemotion calcluation to all physics representations.
Definition: FreeMotion.h:33
~FreeMotion()
Destructor.
Definition: FreeMotion.cpp:35
Encapsulates a calculation over a selection of objects, needs to be subclassed to be used...
Definition: Computation.h:30