OpenSim::ConditionalPathPoint Class Reference
A class implementing a conditional path point, which is a point that is active only for a specified range of a coordinate.
More...
#include <ConditionalPathPoint.h>
List of all members.
Detailed Description
A class implementing a conditional path point, which is a point that is active only for a specified range of a coordinate.
- Author:
- Peter Loan
- Version:
- 1.0
Constructor & Destructor Documentation
ConditionalPathPoint::ConditionalPathPoint |
( |
|
) |
|
Copy constructor.
- Parameters:
-
ConditionalPathPoint::~ConditionalPathPoint |
( |
|
) |
[virtual] |
Member Function Documentation
Object * ConditionalPathPoint::copy |
( |
|
) |
const [virtual] |
Copy this conditional point and return a pointer to the copy.
The copy constructor for this class is used.
- Returns:
- Pointer to a copy of this ConditionalPathPoint.
Reimplemented from OpenSim::PathPoint.
const Coordinate* OpenSim::ConditionalPathPoint::getCoordinate |
( |
|
) |
const [inline] |
const std::string& OpenSim::ConditionalPathPoint::getCoordinateName |
( |
|
) |
const [inline] |
Array<double>& OpenSim::ConditionalPathPoint::getRange |
( |
|
) |
const [inline] |
void ConditionalPathPoint::init |
( |
const PathPoint & |
aPoint |
) |
[virtual] |
Initialize a ConditionalPathPoint with data from a PathPoint.
This function should not do anything to invalidate the path, because the via point may not be added to it.
- Parameters:
-
bool ConditionalPathPoint::isActive |
( |
const SimTK::State & |
s |
) |
const [virtual] |
Determine if this point is active by checking the value of the coordinate that it is linked to.
- Returns:
- Whether or not this point is active.
Reimplemented from OpenSim::PathPoint.
Assignment operator.
- Returns:
- Reference to this object.
Reimplemented from OpenSim::PathPoint.
void ConditionalPathPoint::setCoordinate |
( |
const SimTK::State & |
s, |
|
|
Coordinate & |
aCoordinate | |
|
) |
| | |
Set the coordinate that this point is linked to.
- Returns:
- Whether or not this point is active.
void ConditionalPathPoint::setRangeMax |
( |
const SimTK::State & |
s, |
|
|
double |
aMax | |
|
) |
| | |
Set the range max.
- Parameters:
-
| aRange | range max to change to. |
void ConditionalPathPoint::setRangeMin |
( |
const SimTK::State & |
s, |
|
|
double |
aMin | |
|
) |
| | |
Set the range min.
- Parameters:
-
| aRange | range min to change to. |
void ConditionalPathPoint::setup |
( |
const Model & |
aModel, |
|
|
GeometryPath & |
aPath | |
|
) |
| | [virtual] |
Perform some set up functions that happen after the object has been deserialized or copied.
- Parameters:
-
Reimplemented from OpenSim::PathPoint.
Member Data Documentation
The documentation for this class was generated from the following files:
- OpenSim/Simulation/Model/ConditionalPathPoint.h
- OpenSim/Simulation/Model/ConditionalPathPoint.cpp