16 #ifndef SURGSIM_PHYSICS_RIGIDREPRESENTATIONSTATE_H
17 #define SURGSIM_PHYSICS_RIGIDREPRESENTATIONSTATE_H
108 #endif // SURGSIM_PHYSICS_RIGIDREPRESENTATIONSTATE_H
Definition: DriveElementFromInputBehavior.cpp:27
bool operator!=(const RigidRepresentationState &rhs) const
Comparison operator.
Definition: RigidRepresentationState.cpp:71
const SurgSim::Math::RigidTransform3d & getPose() const
Get the rigid representation pose.
Definition: RigidRepresentationState.cpp:108
void addSerializableProperty()
Register accessors of serializable properties.
Definition: RigidRepresentationState.cpp:41
const SurgSim::Math::Vector3d & getLinearVelocity() const
Get the linear velocity.
Definition: RigidRepresentationState.cpp:83
virtual ~RigidRepresentationState()
Destructor.
Definition: RigidRepresentationState.cpp:62
SurgSim::Math::Vector3d m_v
Linear velocity.
Definition: RigidRepresentationState.h:96
SURGSIM_CLASSNAME(SurgSim::Physics::RigidRepresentationState)
bool operator==(const RigidRepresentationState &rhs) const
Comparison operator.
Definition: RigidRepresentationState.cpp:66
const SurgSim::Math::Vector3d & getAngularVelocity() const
Get the angular velocity.
Definition: RigidRepresentationState.cpp:88
RigidRepresentationState()
Default constructor.
Definition: RigidRepresentationState.cpp:25
SurgSim::Math::Vector3d m_w
Angular velocity.
Definition: RigidRepresentationState.h:99
Eigen::Transform< double, 3, Eigen::Isometry > RigidTransform3d
A 3D rigid (isometric) transform, represented as doubles.
Definition: RigidTransform.h:46
Definitions of small fixed-size vector types.
RigidRepresentationState & operator=(const RigidRepresentationState &rhs)
Copy assignment.
Definition: RigidRepresentationState.cpp:52
Mixin class for enabling a property system on OSS classes, the instance still needs to initialize pro...
Definition: Accessible.h:36
void setAngularVelocity(const SurgSim::Math::Vector3d &w)
Set the angular velocity.
Definition: RigidRepresentationState.cpp:98
SurgSim::Math::RigidTransform3d m_pose
Rigid representation pose (translation + rotation)
Definition: RigidRepresentationState.h:102
void reset()
Reset the state to default values Vectors will be filled with 0 Rotations will be set to identity (qu...
Definition: RigidRepresentationState.cpp:76
Eigen::Matrix< double, 3, 1 > Vector3d
A 3D vector of doubles.
Definition: Vector.h:56
The RigidRepresentationState class describes a state (position and velocity information).
Definition: RigidRepresentationState.h:31
void setLinearVelocity(const SurgSim::Math::Vector3d &v)
Set the linear velocity.
Definition: RigidRepresentationState.cpp:93
void setPose(const SurgSim::Math::RigidTransform3d &pose)
Set the rigid representation pose.
Definition: RigidRepresentationState.cpp:103