Public Member Functions | List of all members
gazebo::rendering::MaterialSwitcher Class Reference

#include <MaterialSwitcher.hh>

Inheritance diagram for gazebo::rendering::MaterialSwitcher:
Inheritance graph
[legend]

Public Member Functions

 MaterialSwitcher ()
 Constructor. More...
 
 ~MaterialSwitcher ()
 Destructor. More...
 
const std::string & GetEntityName (const common::Color &_color) const
 Get the entity with a specific color. More...
 
virtual Ogre::Technique * handleSchemeNotFound (uint16_t _schemeIndex, const Ogre::String &_schemeName, Ogre::Material *_originalMaterial, uint16_t _lodIndex, const Ogre::Renderable *_rend)
 Ogre callback that assigns colors to new renderables. More...
 
void Reset ()
 Reset the color value incrementor. More...
 

Constructor & Destructor Documentation

gazebo::rendering::MaterialSwitcher::MaterialSwitcher ( )

Constructor.

gazebo::rendering::MaterialSwitcher::~MaterialSwitcher ( )

Destructor.

Member Function Documentation

const std::string& gazebo::rendering::MaterialSwitcher::GetEntityName ( const common::Color _color) const

Get the entity with a specific color.

virtual Ogre::Technique* gazebo::rendering::MaterialSwitcher::handleSchemeNotFound ( uint16_t  _schemeIndex,
const Ogre::String &  _schemeName,
Ogre::Material *  _originalMaterial,
uint16_t  _lodIndex,
const Ogre::Renderable *  _rend 
)
virtual

Ogre callback that assigns colors to new renderables.

void gazebo::rendering::MaterialSwitcher::Reset ( )

Reset the color value incrementor.


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