16 #ifndef SURGSIM_PHYSICS_RIGIDSTATE_H 17 #define SURGSIM_PHYSICS_RIGIDSTATE_H 19 #include "SurgSim/Framework/Accessible.h" 20 #include "SurgSim/Framework/Macros.h" 93 void addSerializableProperty();
108 #endif // SURGSIM_PHYSICS_RIGIDSTATE_H Wraps glewInit() to separate the glew opengl definitions from the osg opengl definitions only imgui n...
Definition: AddRandomSphereBehavior.cpp:36
void reset()
Reset the state to default values Vectors will be filled with 0 Rotations will be set to identity (qu...
Definition: RigidState.cpp:76
virtual ~RigidState()
Destructor.
Definition: RigidState.cpp:62
const SurgSim::Math::Vector3d & getAngularVelocity() const
Get the angular velocity.
Definition: RigidState.cpp:88
RigidState()
Default constructor.
Definition: RigidState.cpp:25
bool operator==(const RigidState &rhs) const
Comparison operator.
Definition: RigidState.cpp:66
Eigen::Matrix< double, 3, 1 > Vector3d
A 3D vector of doubles.
Definition: Vector.h:57
void setAngularVelocity(const SurgSim::Math::Vector3d &w)
Set the angular velocity.
Definition: RigidState.cpp:98
const SurgSim::Math::RigidTransform3d & getPose() const
Get the rigid representation pose.
Definition: RigidState.cpp:108
The RigidState class describes a state (position and velocity information).
Definition: RigidState.h:31
const SurgSim::Math::Vector3d & getLinearVelocity() const
Get the linear velocity.
Definition: RigidState.cpp:83
Definitions of small fixed-size vector types.
void setPose(const SurgSim::Math::RigidTransform3d &pose)
Set the rigid representation pose.
Definition: RigidState.cpp:103
Mixin class for enabling a property system on OSS classes, the instance still needs to initialize pro...
Definition: Accessible.h:37
bool operator!=(const RigidState &rhs) const
Comparison operator.
Definition: RigidState.cpp:71
void setLinearVelocity(const SurgSim::Math::Vector3d &v)
Set the linear velocity.
Definition: RigidState.cpp:93
RigidState & operator=(const RigidState &rhs)
Copy assignment.
Definition: RigidState.cpp:52