Home | Download | Screen shots | Discussion | Documentation |
---|
Inheritance diagram for openvrml::vrml97_node::material_node:
Public Member Functions | |
material_node (const node_type &type, const scope_ptr &scope) | |
Construct. | |
virtual | ~material_node () throw () |
Destroy. | |
virtual float | ambient_intensity () const throw () |
Get the ambient intensity. | |
virtual const color & | diffuse_color () const throw () |
Get the diffuse color. | |
virtual const color & | emissive_color () const throw () |
Get the emissive color. | |
virtual float | shininess () const throw () |
Get the shininess. | |
virtual const color & | specular_color () const throw () |
Get the specular color. | |
virtual float | transparency () const throw () |
Get the transparency. | |
Private Member Functions | |
void | process_set_ambientIntensity (const field_value &value, double timestamp) throw (std::bad_cast) |
set_ambientIntensity eventIn handler. | |
void | process_set_diffuseColor (const field_value &value, double timestamp) throw (std::bad_cast) |
set_diffuseColor eventIn handler. | |
void | process_set_emissiveColor (const field_value &value, double timestamp) throw (std::bad_cast) |
set_emissiveColor eventIn handler. | |
void | process_set_shininess (const field_value &value, double timestamp) throw (std::bad_cast) |
set_shininess eventIn handler. | |
void | process_set_specularColor (const field_value &value, double timestamp) throw (std::bad_cast) |
set_specularColor eventIn handler. | |
void | process_set_transparency (const field_value &value, double timestamp) throw (std::bad_cast) |
set_transparency eventIn handler. | |
Private Attributes | |
sffloat | ambientIntensity |
ambientIntensity exposedField. | |
sfcolor | diffuseColor |
diffuseColor exposedField. | |
sfcolor | emissiveColor |
emissiveColor exposedField. | |
sffloat | shininess_ |
shininess exposedField. | |
sfcolor | specularColor |
specularColor exposedField. | |
sffloat | transparency_ |
transparency exposedField. | |
Friends | |
class | material_class |
Class object for Material nodes. |
|
Construct.
Reimplemented from openvrml::material_node. |
|
Get the ambient intensity.
Implements openvrml::material_node. |
|
Get the diffuse color.
Implements openvrml::material_node. |
|
Get the emissive color.
Implements openvrml::material_node. |
|
set_ambientIntensity eventIn handler.
|
|
set_diffuseColor eventIn handler.
|
|
set_emissiveColor eventIn handler.
|
|
set_shininess eventIn handler.
|
|
set_specularColor eventIn handler.
|
|
set_transparency eventIn handler.
|
|
Get the shininess.
Implements openvrml::material_node. |
|
Get the specular color.
Implements openvrml::material_node. |
|
Get the transparency.
Implements openvrml::material_node. |