|
This class localize a point on a representation (representation specific) More...
#include <SurgSim/Physics/Localization.h>
Public Member Functions | |
| Localization () | |
| Default constructor. More... | |
| Localization (std::shared_ptr< Representation > representation) | |
| Constructor. More... | |
| virtual | ~Localization () |
| Destructor. More... | |
| void | setRepresentation (std::shared_ptr< Representation > representation) |
| Sets the representation. More... | |
| std::shared_ptr< Representation > | getRepresentation () const |
| Gets the representation. More... | |
| SurgSim::Math::Vector3d | calculatePosition (double time=1.0) |
| Calculates the global position of this localization. More... | |
| virtual bool | isValidRepresentation (std::shared_ptr< Representation > representation) |
Private Member Functions | |
| virtual SurgSim::Math::Vector3d | doCalculatePosition (double time)=0 |
| Calculates the global position of this localization. More... | |
Private Attributes | |
| std::shared_ptr< Representation > | m_representation |
| The representation on which the localization is defined. More... | |
This class localize a point on a representation (representation specific)
| Localization::Localization | ( | ) |
Default constructor.
|
explicit |
Constructor.
| representation | The representation on which the localization is defined |
|
virtual |
Destructor.
|
inline |
Calculates the global position of this localization.
| time | The time in [0..1] at which the position should be calculated |
|
privatepure virtual |
Calculates the global position of this localization.
| time | The time in [0..1] at which the position should be calculated |
Implemented in SurgSim::Physics::FixedRepresentationLocalization, SurgSim::Physics::MassSpringRepresentationLocalization, SurgSim::Physics::RigidRepresentationLocalization, SurgSim::Physics::Fem3DRepresentationLocalization, SurgSim::Physics::Fem1DRepresentationLocalization, and SurgSim::Physics::Fem2DRepresentationLocalization.
|
inline |
Gets the representation.
|
virtual |
|
inline |
Sets the representation.
| representation | The representation on which the localization is defined |
|
private |
The representation on which the localization is defined.
1.8.11