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

Apply the Freemotion calcluation to all physics representations. More...

#include <SurgSim/Physics/FreeMotion.h>

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

Public Member Functions

 FreeMotion (bool doCopyState=false)
 Constructor. More...
 ~FreeMotion ()
 Destructor. 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...

Protected Member Functions

virtual std::shared_ptr
< PhysicsManagerState
doUpdate (const double &dt, const std::shared_ptr< PhysicsManagerState > &state) override
 Override doUpdate from superclass. More...

Detailed Description

Apply the Freemotion calcluation to all physics representations.

Constructor & Destructor Documentation

SurgSim::Physics::FreeMotion::FreeMotion ( bool  doCopyState = false)


doCopyStateSpecify if the output state in Computation::Update() is a copy or not of the input state
SurgSim::Physics::FreeMotion::~FreeMotion ( )


Member Function Documentation

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

Override doUpdate from superclass.

Implements SurgSim::Physics::Computation.

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