gz/rendering/base/BaseCOMVisual.hh
virtual ~BaseCOMVisual()
Destructor.
Definition: gz/rendering/base/BaseCOMVisual.hh:95
STL class.
#define IGN_PI
double SphereRadius() const
Get the radius of the CoM sphere.
Definition: gz/rendering/base/BaseCOMVisual.hh:171
virtual void SetMass(double _mass) override
Set the mass of the parent.
Definition: gz/rendering/base/BaseCOMVisual.hh:124
#define ignlog
bool dirtyCOMVisual
Flag to indicate parent properties have changed.
Definition: gz/rendering/base/BaseCOMVisual.hh:84
virtual ignition::math::Pose3d InertiaPose() const override
Get the inertia pose.
Definition: gz/rendering/base/BaseCOMVisual.hh:157
BaseCOMVisual()
Constructor.
Definition: gz/rendering/base/BaseCOMVisual.hh:89
virtual void Init() override
Definition: gz/rendering/base/BaseCOMVisual.hh:108
std::string parentName
Parent visual name.
Definition: gz/rendering/base/BaseCOMVisual.hh:74
Represents a center of mass visual.
Definition: gz/rendering/COMVisual.hh:36
virtual double Mass() const override
Get the mass of the parent.
Definition: gz/rendering/base/BaseCOMVisual.hh:150
double mass
Parent mass.
Definition: gz/rendering/base/BaseCOMVisual.hh:77
const MassMatrix3< T > & MassMatrix() const
Base implementation of an center of mass visual.
Definition: gz/rendering/base/BaseCOMVisual.hh:37
virtual void PreRender() override
Prepare this object and any of its children for rendering. This should be called for each object in a...
Definition: gz/rendering/base/BaseCOMVisual.hh:101
const Pose3< T > & Pose() const
virtual void SetInertial(const ignition::math::Inertiald &_inertial) override
Set the inertial component of the visual.
Definition: gz/rendering/base/BaseCOMVisual.hh:115
ignition::math::Pose3d inertiaPose
Inertia pose in parent frame.
Definition: gz/rendering/base/BaseCOMVisual.hh:80
virtual VisualPtr SphereVisual() const override
Get the sphere visual.
Definition: gz/rendering/base/BaseCOMVisual.hh:164
static const Pose3< T > Zero