gz/rendering/ogre2/Ogre2InertiaVisual.hh
Go to the documentation of this file.
Base implementation of an inertia visual.
Definition: gz/rendering/base/BaseInertiaVisual.hh:38
Ogre2.x implementation of the inertia visual class.
Definition: gz/rendering/ogre2/Ogre2InertiaVisual.hh:42
virtual ~Ogre2InertiaVisual()
Destructor.
virtual void SetMaterial(MaterialPtr _material, bool _unique) override
Set the material for all attached visuals and geometries.
void Load(const ignition::math::Pose3d &_pose, const ignition::math::Vector3d &_scale) override
Load the Inertia visual from its pose and scale.
virtual void PreRender() override
Prepare this object and any of its children for rendering. This should be called for each object in a...
virtual void SetMaterialImpl(Ogre2MaterialPtr _material)
Set material to line geometry.
virtual MaterialPtr Material() const override
Get the material assigned to attached visuals and geometries.
virtual void Destroy() override
Destroy any resources associated with this object. Invoking any other functions after destroying an o...
VisualPtr BoxVisual() const override
Get the box visual.
Ogre2.x implementation of the scene class.
Definition: gz/rendering/ogre2/Ogre2Scene.hh:59
Definition: gz/rendering/ogre/OgreCamera.hh:28