This class implement the localization on a FixedRepresentation, as a local position.
More...
#include <SurgSim/Physics/FixedRepresentationLocalization.h>
This class implement the localization on a FixedRepresentation, as a local position.
SurgSim::Physics::FixedRepresentationLocalization::FixedRepresentationLocalization |
( |
| ) |
|
|
inline |
SurgSim::Physics::FixedRepresentationLocalization::FixedRepresentationLocalization |
( |
std::shared_ptr< Representation > |
representation | ) |
|
|
inlineexplicit |
Constructor.
- Parameters
-
representation | The representation to assign to this localization |
virtual SurgSim::Physics::FixedRepresentationLocalization::~FixedRepresentationLocalization |
( |
| ) |
|
|
inlinevirtual |
Calculates the global position of this localization.
- Parameters
-
time | The time in [0..1] at which the position should be calculated |
- Returns
- The global position of the localization at the requested time
- Note
- time can useful when dealing with CCD
Implements SurgSim::Physics::Localization.
Gets the local position.
- Returns
- The local position set for this localization
Sets the local position.
- Parameters
-
p | The local position to set the localization at |
3D position in local coordinates
The documentation for this class was generated from the following file: