gz/rendering/ogre2/Ogre2Mesh.hh
Go to the documentation of this file.
Definition: gz/rendering/base/BaseMesh.hh:39
Definition: gz/rendering/base/BaseMesh.hh:133
Ogre2.x implementation of the mesh factory class.
Definition: gz/rendering/ogre2/Ogre2MeshFactory.hh:47
Ogre2.x implementation of the mesh class.
Definition: gz/rendering/ogre2/Ogre2Mesh.hh:49
virtual Ogre::MovableObject * OgreObject() const override
Get the ogre object representing this geometry.
virtual std::unordered_map< std::string, float > SkeletonWeights() const override
Get skeleton node weight.
virtual bool HasSkeleton() const override
Check whether the mesh has skeleton.
virtual void SetSkeletonLocalTransforms(const std::map< std::string, math::Matrix4d > &_tfs) override
Set transforms for the skeleton.
virtual SubMeshStorePtr SubMeshes() const override
Get a list of submeshes in this mesh.
virtual bool SkeletonAnimationEnabled(const std::string &_name) const override
Get whether a skeleton animation is enabled or not.
Ogre2SubMeshStorePtr subMeshes
Store containing all the submeshes.
Definition: gz/rendering/ogre2/Ogre2Mesh.hh:97
virtual void Destroy() override
Destroy any resources associated with this object. Invoking any other functions after destroying an o...
virtual void SetSkeletonWeights(const std::unordered_map< std::string, float > &_weights) override
Set skeleton node weight.
virtual std::map< std::string, math::Matrix4d > SkeletonLocalTransforms() const override
Get the skeleton local transforms.
virtual void SetSkeletonAnimationEnabled(const std::string &_name, bool _enabled, bool _loop=true, float _weight=1.0) override
Set whether a skeleton animation should be enabled or not.
virtual void UpdateSkeletonAnimation(std::chrono::steady_clock::duration _time) override
Play the active skeleton animation to the specified time.
Ogre2.x implementation of the scene class.
Definition: gz/rendering/ogre2/Ogre2Scene.hh:59
Ogre2.x implementation of a submesh store factory class.
Definition: gz/rendering/ogre2/Ogre2MeshFactory.hh:106
Ogre2.x implementation of the submesh class.
Definition: gz/rendering/ogre2/Ogre2Mesh.hh:115
virtual Ogre::SubItem * Ogre2SubItem() const
Get internal ogre subitem created from this submesh.
virtual void SetMaterialImpl(MaterialPtr _material) override
Helper function for setting the material to use.
virtual void Destroy() override
Destroy any resources associated with this object. Invoking any other functions after destroying an o...
void SetMeshName(const std::string &_name)
Set the name of the mesh stored in Ogre2.
Definition: gz/rendering/ogre/OgreCamera.hh:28