#include <material.h>
Public Types | |
enum | { CustomParam_ObjectID = 0, CustomParam_Color = 1 } |
Public Member Functions | |
void | attachRenderable (Renderable *rend, Ogre::Renderable *ogre_rend) |
void | detachRenderable (Renderable *rend, Ogre::Renderable *ogre_rend) |
void | detachRenderable (Renderable *rend) |
const rve_common::UUID & | getID () |
virtual const Ogre::MaterialPtr & | getOgreMaterial () |
Material (const rve_common::UUID &id) | |
void | setMaterial (const rve_msgs::Material &mat) |
Protected Types | |
typedef std::map< Renderable *, V_OgreRenderable > | M_Renderable |
typedef std::vector < Ogre::Renderable * > | V_OgreRenderable |
Protected Member Functions | |
void | createMaterialFromInput () |
void | materialUpdated () |
void | ogreMaterialChanged () |
virtual void | onRenderableAttached (Renderable *rend, Ogre::Renderable *ogre_rend) |
virtual void | onRenderableDetached (Renderable *rend, Ogre::Renderable *ogre_rend) |
Protected Attributes | |
rve_common::UUID | id_ |
rve_msgs::Material | input_material_ |
Ogre::MaterialPtr | material_ |
M_Renderable | rends_ |
Definition at line 53 of file material.h.
typedef std::map<Renderable*, V_OgreRenderable> rve_render_server::Material::M_Renderable [protected] |
Definition at line 90 of file material.h.
typedef std::vector<Ogre::Renderable*> rve_render_server::Material::V_OgreRenderable [protected] |
Definition at line 89 of file material.h.
anonymous enum |
Definition at line 56 of file material.h.
rve_render_server::Material::Material | ( | const rve_common::UUID & | id | ) | [inline] |
Definition at line 62 of file material.h.
void rve_render_server::Material::attachRenderable | ( | Renderable * | rend, |
Ogre::Renderable * | ogre_rend | ||
) |
Definition at line 95 of file material.cpp.
void rve_render_server::Material::createMaterialFromInput | ( | ) | [protected] |
Definition at line 56 of file material.cpp.
void rve_render_server::Material::detachRenderable | ( | Renderable * | rend, |
Ogre::Renderable * | ogre_rend | ||
) |
Definition at line 102 of file material.cpp.
void rve_render_server::Material::detachRenderable | ( | Renderable * | rend | ) |
Definition at line 120 of file material.cpp.
const rve_common::UUID& rve_render_server::Material::getID | ( | ) | [inline] |
Definition at line 66 of file material.h.
virtual const Ogre::MaterialPtr& rve_render_server::Material::getOgreMaterial | ( | ) | [inline, virtual] |
Definition at line 68 of file material.h.
void rve_render_server::Material::materialUpdated | ( | ) | [protected] |
Definition at line 79 of file material.cpp.
void rve_render_server::Material::ogreMaterialChanged | ( | ) | [protected] |
Definition at line 68 of file material.cpp.
void rve_render_server::Material::onRenderableAttached | ( | Renderable * | rend, |
Ogre::Renderable * | ogre_rend | ||
) | [protected, virtual] |
Definition at line 130 of file material.cpp.
void rve_render_server::Material::onRenderableDetached | ( | Renderable * | rend, |
Ogre::Renderable * | ogre_rend | ||
) | [protected, virtual] |
Definition at line 136 of file material.cpp.
void rve_render_server::Material::setMaterial | ( | const rve_msgs::Material & | mat | ) |
Definition at line 49 of file material.cpp.
rve_common::UUID rve_render_server::Material::id_ [protected] |
Definition at line 84 of file material.h.
Definition at line 87 of file material.h.
Definition at line 86 of file material.h.
M_Renderable rve_render_server::Material::rends_ [protected] |
Definition at line 91 of file material.h.