OpenSim::DynamicsTool Class Reference
An abstract Tool for defining tools for perfroming a dynamics analysis with a given model.
More...
#include <DynamicsTool.h>
List of all members.
Detailed Description
An abstract Tool for defining tools for perfroming a dynamics analysis with a given model.
For example, InverseDynamics and ForwardDynamics Tools derive from DynamicsTool, which provides convenient method for performing and dynamics analysis over or to produce a trajectory in time.
- Author:
- Ajay Seth
- Version:
- 1.0
Constructor & Destructor Documentation
DynamicsTool::~DynamicsTool |
( |
|
) |
[virtual] |
DynamicsTool::DynamicsTool |
( |
|
) |
|
OpenSim::DynamicsTool::DynamicsTool |
( |
const std::string & |
aFileName, |
|
|
bool |
aLoadModel = true | |
|
) |
| | |
Copy constructor.
- Parameters:
-
Member Function Documentation
virtual OpenSim::Object* OpenSim::DynamicsTool::copy |
( |
|
) |
const [pure virtual] |
Construct and return a copy of this object.
The object is allocated using the new operator, so the caller is responsible for deleting the returned object.
- Returns:
- Copy of this object.
Reimplemented from OpenSim::Object.
Implemented in OpenSim::InverseDynamicsTool.
bool OpenSim::DynamicsTool::createExternalLoads |
( |
const std::string & |
aExternalLoadsFileName, |
|
|
Model & |
aModel, |
|
|
const Storage * |
loadKinematics = NULL | |
|
) |
| | |
void DynamicsTool::disableModelForces |
( |
Model & |
model, |
|
|
SimTK::State & |
s, |
|
|
const Array< std::string > & |
forcesByNameOrGroup | |
|
) |
| | |
Modify model to exclude specified forces by disabling those identified by name or group.
double OpenSim::DynamicsTool::getEndTime |
( |
|
) |
const [inline] |
const ExternalLoads& OpenSim::DynamicsTool::getExternalLoads |
( |
|
) |
const [inline] |
const std::string& OpenSim::DynamicsTool::getExternalLoadsFileName |
( |
|
) |
const [inline] |
double OpenSim::DynamicsTool::getStartTime |
( |
|
) |
const [inline] |
virtual bool OpenSim::DynamicsTool::run |
( |
|
) |
[pure virtual] |
The run() method of a Tool embodies what would be the main() routine for a standalone program.
Therefore, any OpenSim main program can become a Tool executable from the GUI by making it a run() method for a new Tool.
It is expected that the run() method be composed of a sequence of calls to underlying computational and reporting objects and should
Implements OpenSim::Tool.
Implemented in OpenSim::InverseDynamicsTool.
void OpenSim::DynamicsTool::setEndTime |
( |
double |
d |
) |
[inline] |
void OpenSim::DynamicsTool::setExcludedForces |
( |
const Array< std::string > & |
aExcluded |
) |
[inline] |
void OpenSim::DynamicsTool::setExternalLoadsFileName |
( |
const std::string & |
aFileName |
) |
[inline] |
void OpenSim::DynamicsTool::setModel |
( |
Model & |
aModel |
) |
[inline] |
void OpenSim::DynamicsTool::setStartTime |
( |
double |
d |
) |
[inline] |
ExternalLoads& OpenSim::DynamicsTool::updExternalLoads |
( |
|
) |
[inline] |
Member Data Documentation
Idenitify the list of forces to be ignored for computing dynamics.
External loads object that manages loading and applying external forces to the model, including transformations required by the Tool.
Name of the file containing the external loads applied to the model.
Pointer to the model being investigated.
Name of the xml file used to deserialize or construct a model.
The range of time over which to perform the dynamics analysis.
The documentation for this class was generated from the following files:
- OpenSim/Tools/DynamicsTool.h
- OpenSim/Tools/DynamicsTool.cpp