#include <material.h>
Classes | |
struct | ContextInfo |
Public Member Functions | |
void | disableDiffuse () |
virtual void | getDependencies (V_UUID &deps) |
Color | getDiffuse () |
virtual const rve_common::UUID & | getID () |
float | getOpacity () |
bool | getShadingEnabled () |
Material () | |
void | setDiffuse (Color c) |
void | setMaterial (const rve_msgs::Material &mat) |
void | setOpacity (float opacity) |
void | setShadingEnabled (bool enable) |
Private Types | |
typedef std::map < ClientContext *, ContextInfo > | M_ContextInfo |
Private Member Functions | |
virtual void | create (ClientContext *context) |
virtual void | destroy (ClientContext *context) |
void | send () |
Private Attributes | |
M_ContextInfo | contexts_ |
rve_common::UUID | id_ |
rve_msgs::Material | material_ |
Friends | |
MaterialPtr | createMaterial (ClientContext *context) |
MaterialPtr | createMaterial () |
void | destroyMaterial (Material *mat) |
Definition at line 43 of file material.h.
typedef std::map<ClientContext*, ContextInfo> rve_render_client::Material::M_ContextInfo [private] |
Definition at line 77 of file material.h.
Definition at line 83 of file material.cpp.
void rve_render_client::Material::create | ( | ClientContext * | context | ) | [private, virtual] |
Implements rve_render_client::ContextObject.
Definition at line 92 of file material.cpp.
void rve_render_client::Material::destroy | ( | ClientContext * | context | ) | [private, virtual] |
Implements rve_render_client::ContextObject.
Definition at line 104 of file material.cpp.
Definition at line 127 of file material.cpp.
virtual void rve_render_client::Material::getDependencies | ( | V_UUID & | deps | ) | [inline, virtual] |
Implements rve_render_client::ContextObject.
Definition at line 61 of file material.h.
Definition at line 143 of file material.cpp.
virtual const rve_common::UUID& rve_render_client::Material::getID | ( | ) | [inline, virtual] |
Implements rve_render_client::ContextObject.
Definition at line 60 of file material.h.
float rve_render_client::Material::getOpacity | ( | ) |
Definition at line 154 of file material.cpp.
Definition at line 170 of file material.cpp.
void rve_render_client::Material::send | ( | ) | [private] |
Definition at line 115 of file material.cpp.
void rve_render_client::Material::setDiffuse | ( | Color | c | ) |
Definition at line 133 of file material.cpp.
void rve_render_client::Material::setMaterial | ( | const rve_msgs::Material & | mat | ) |
Definition at line 159 of file material.cpp.
void rve_render_client::Material::setOpacity | ( | float | opacity | ) |
Definition at line 148 of file material.cpp.
void rve_render_client::Material::setShadingEnabled | ( | bool | enable | ) |
Definition at line 165 of file material.cpp.
MaterialPtr createMaterial | ( | ClientContext * | context | ) | [friend] |
MaterialPtr createMaterial | ( | ) | [friend] |
void destroyMaterial | ( | Material * | mat | ) | [friend] |
Definition at line 56 of file material.cpp.
Definition at line 78 of file material.h.
Definition at line 69 of file material.h.
Definition at line 70 of file material.h.