gz/rendering/base/BaseCOMVisual.hh
Go to the documentation of this file.
const Pose3< T > & Pose() const
const MassMatrix3< T > & MassMatrix() const
static const Pose3< T > Zero
Base implementation of an center of mass visual.
Definition: gz/rendering/base/BaseCOMVisual.hh:40
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
virtual ~BaseCOMVisual()
Destructor.
Definition: gz/rendering/base/BaseCOMVisual.hh:95
virtual void Init() override
Definition: gz/rendering/base/BaseCOMVisual.hh:108
virtual VisualPtr SphereVisual() const override
Get the sphere visual.
Definition: gz/rendering/base/BaseCOMVisual.hh:164
virtual double Mass() const override
Get the mass of the parent.
Definition: gz/rendering/base/BaseCOMVisual.hh:150
double SphereRadius() const
Get the radius of the CoM sphere.
Definition: gz/rendering/base/BaseCOMVisual.hh:171
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 SetMass(double _mass) override
Set the mass of the parent.
Definition: gz/rendering/base/BaseCOMVisual.hh:124
virtual void SetInertial(const ignition::math::Inertiald &_inertial) override
Set the inertial component of the visual.
Definition: gz/rendering/base/BaseCOMVisual.hh:115
Represents a center of mass visual.
Definition: gz/rendering/COMVisual.hh:38
#define ignlog
#define IGN_PI