Go to the documentation of this file.
16 #ifndef SURGSIM_PHYSICS_MASSSPRINGLOCALIZATION_H
17 #define SURGSIM_PHYSICS_MASSSPRINGLOCALIZATION_H
83 #endif // SURGSIM_PHYSICS_MASSSPRINGLOCALIZATION_H
virtual ~MassSpringLocalization()
Destructor.
Definition: MassSpringLocalization.cpp:36
bool isValidRepresentation(std::shared_ptr< Representation > representation) override
Queries whether Representation can be assigned to this class.
Definition: MassSpringLocalization.cpp:97
const size_t & getLocalNode() const
Gets the local node.
Definition: MassSpringLocalization.cpp:46
This class localize a point on a representation (representation specific)
Definition: Localization.h:39
Eigen::Matrix< double, 3, 1 > Vector3d
A 3D vector of doubles.
Definition: Vector.h:57
Definition: CompoundShapeToGraphics.cpp:29
SurgSim::Math::Vector3d doCalculatePosition(double time) const override
Calculates the global position of this localization.
Definition: MassSpringLocalization.cpp:51
MassSpringLocalization()
Default constructor.
Definition: MassSpringLocalization.cpp:24
SurgSim::Math::Vector3d doCalculateVelocity(double time) const override
Calculates the global velocity of this localization.
Definition: MassSpringLocalization.cpp:74
void setLocalNode(size_t nodeID)
Sets the local node.
Definition: MassSpringLocalization.cpp:41
size_t m_nodeID
Node defining the localization.
Definition: MassSpringLocalization.h:76
Implementation of Localization for MassSpringRepresentation.
Definition: MassSpringLocalization.h:39