18 #ifndef _MATERIALSWITCHER_HH_
19 #define _MATERIALSWITCHER_HH_
39 class SelectionBuffer;
41 public Ogre::MaterialManager::Listener
50 public:
const std::string &GetEntityName(
57 public:
virtual Ogre::Technique *handleSchemeNotFound(
58 uint16_t _schemeIndex,
const Ogre::String &_schemeName,
59 Ogre::Material *_originalMaterial, uint16_t _lodIndex,
60 const Ogre::Renderable *_rend);
64 private:
typedef std::map<unsigned int, std::string> ColorMap;
65 private:
typedef ColorMap::const_iterator ColorMapConstIter;
66 private: std::string emptyString;
68 private: std::string lastEntity;
69 private: Ogre::Technique *lastTechnique;
70 private: MaterialSwitcher::ColorMap colorDict;
72 private:
void GetNextColor();
Definition: MaterialSwitcher.hh:40
Definition: SelectionBuffer.hh:41
Defines a color.
Definition: Color.hh:39
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:48