Gazebo Rendering

API Reference

8.2.1

#include <OgreMeshFactory.hh>

Public Member Functions

 OgreMeshFactory (OgreScenePtr _scene)
 
virtual ~OgreMeshFactory ()
 
void ClearMaterialsCache (const std::string &_name)
 Remove internal material cache for a specific material. More...
 
virtual OgreMeshPtr Create (const MeshDescriptor &_desc)
 

Protected Member Functions

virtual bool IsLoaded (const MeshDescriptor &_desc)
 
virtual bool Load (const MeshDescriptor &_desc)
 
virtual bool LoadImpl (const MeshDescriptor &_desc)
 
virtual std::string MeshName (const MeshDescriptor &_desc)
 
virtual Ogre::Entity * OgreEntity (const MeshDescriptor &_desc)
 
virtual bool Validate (const MeshDescriptor &_desc)
 

Protected Attributes

std::vector< MaterialPtrmaterialCache
 Vector with the template materials, we keep the pointer to be able to remove it when nobody is using it. More...
 
OgreScenePtr scene
 

Constructor & Destructor Documentation

◆ OgreMeshFactory()

OgreMeshFactory ( OgreScenePtr  _scene)
explicit

◆ ~OgreMeshFactory()

virtual ~OgreMeshFactory ( )
virtual

Member Function Documentation

◆ ClearMaterialsCache()

void ClearMaterialsCache ( const std::string _name)

Remove internal material cache for a specific material.

Parameters
[in]_nameName of the template material to remove.

◆ Create()

virtual OgreMeshPtr Create ( const MeshDescriptor _desc)
virtual

◆ IsLoaded()

virtual bool IsLoaded ( const MeshDescriptor _desc)
protectedvirtual

◆ Load()

virtual bool Load ( const MeshDescriptor _desc)
protectedvirtual

◆ LoadImpl()

virtual bool LoadImpl ( const MeshDescriptor _desc)
protectedvirtual

◆ MeshName()

virtual std::string MeshName ( const MeshDescriptor _desc)
protectedvirtual

◆ OgreEntity()

virtual Ogre::Entity* OgreEntity ( const MeshDescriptor _desc)
protectedvirtual

◆ Validate()

virtual bool Validate ( const MeshDescriptor _desc)
protectedvirtual

Member Data Documentation

◆ materialCache

std::vector<MaterialPtr> materialCache
protected

Vector with the template materials, we keep the pointer to be able to remove it when nobody is using it.

◆ scene

OgreScenePtr scene
protected

The documentation for this class was generated from the following file: