Public Types | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
rve_render_server::Material Class Reference

#include <material.h>

List of all members.

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::UUIDgetID ()
virtual const Ogre::MaterialPtrgetOgreMaterial ()
 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_

Detailed Description

Definition at line 53 of file material.h.


Member Typedef Documentation

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.


Member Enumeration Documentation

anonymous enum
Enumerator:
CustomParam_ObjectID 
CustomParam_Color 

Definition at line 56 of file material.h.


Constructor & Destructor Documentation

Definition at line 62 of file material.h.


Member Function Documentation

void rve_render_server::Material::attachRenderable ( Renderable rend,
Ogre::Renderable *  ogre_rend 
)

Definition at line 95 of file material.cpp.

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.

Definition at line 120 of file material.cpp.

Definition at line 66 of file material.h.

Definition at line 68 of file material.h.

Definition at line 79 of file material.cpp.

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.

Definition at line 49 of file material.cpp.


Member Data Documentation

Definition at line 84 of file material.h.

Definition at line 87 of file material.h.

Definition at line 86 of file material.h.

Definition at line 91 of file material.h.


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


rve_render_server
Author(s): Josh Faust
autogenerated on Wed Dec 11 2013 14:31:15