8 #error This class is not to be included by the user directly. Use SingleBodyd.h or SingleBodyf.h instead.
27 virtual boost::shared_ptr<const POSE3>
get_pose()
const = 0;
virtual const SACCEL & get_accel()=0
Gets the acceleration of the body.
virtual REAL get_mass() const =0
Gets the mass of the body (for gravity calculation)
virtual boost::shared_ptr< ARTICULATED_BODY > get_articulated_body() const =0
Gets the articulated body that this body is a part of (if any)
Abstract class for articulated bodies.
Definition: ArticulatedBody.h:15
virtual void apply_impulse(const SMOMENTUM &w)=0
Applies an impulse at a point on the body.
virtual VECTOR3 calc_point_vel(const VECTOR3 &point) const =0
Calculates the velocity at a point on the body in the body frame
virtual boost::shared_ptr< DYNAMIC_BODY > get_super_body() const
Gets the "super" body.
Definition: SingleBody.cpp:10
virtual boost::shared_ptr< const POSE3 > get_pose() const =0
Gets the pose of the body.
A spatial (six dimensional) momentum.
Definition: SMomentum.h:12
virtual REAL calc_mass() const =0
Calculates the mass of the body.
Superclass for both rigid and deformable bodies.
Definition: SingleBody.h:14
A spatial velocity (a twist)
Definition: SVelocity.h:15
Superclass for deformable bodies and single and multi-rigid bodies.
Definition: DynamicBody.h:14
A spatial (six dimensional) acceleration.
Definition: SAccel.h:14
virtual bool is_enabled() const =0
Determines whether the body is enabled.
A three-dimensional floating point vector used for representing points and vectors in 3D with associa...
Definition: Vector3.h:15
virtual const SVELOCITY & get_velocity()=0
Gets the velocity of the body.
virtual boost::shared_ptr< const POSE3 > get_computation_frame() const =0
Gets the computation frame for the body.