Home | Download | Screen shots | Discussion | Documentation | Links |
---|
Inheritance diagram for Material:
Public Methods | |
Material (const NodeType &nodeType, const ScopePtr &scope) | |
Constructor. | |
virtual | ~Material () throw () |
Destructor. | |
virtual const SFFloat & | getAmbientIntensity () const throw () |
Get the ambient intensity. | |
virtual const SFColor & | getDiffuseColor () const throw () |
Get the diffuse color. | |
virtual const SFColor & | getEmissiveColor () const throw () |
Get the emissive color. | |
virtual const SFFloat & | getShininess () const throw () |
Get the shininess. | |
virtual const SFColor & | getSpecularColor () const throw () |
Get the specular color. | |
virtual const SFFloat & | getTransparency () const throw () |
Get the transparency. | |
Private Methods | |
void | processSet_ambientIntensity (const FieldValue &sffloat, double timestamp) throw (std::bad_cast) |
set_ambientIntensity eventIn handler. | |
void | processSet_diffuseColor (const FieldValue &sfcolor, double timestamp) throw (std::bad_cast) |
set_diffuseColor eventIn handler. | |
void | processSet_emissiveColor (const FieldValue &sfcolor, double timestamp) throw (std::bad_cast) |
set_emissiveColor eventIn handler. | |
void | processSet_shininess (const FieldValue &sffloat, double timestamp) throw (std::bad_cast) |
set_shininess eventIn handler. | |
void | processSet_specularColor (const FieldValue &sfcolor, double timestamp) throw (std::bad_cast) |
set_specularColor eventIn handler. | |
void | processSet_transparency (const FieldValue &sffloat, double timestamp) throw (std::bad_cast) |
set_transparency eventIn handler. | |
Private Attributes | |
SFFloat | ambientIntensity |
SFColor | diffuseColor |
SFColor | emissiveColor |
SFFloat | shininess |
SFColor | specularColor |
SFFloat | transparency |
Friends | |
class | MaterialClass |
|
Constructor.
|
|
Destructor.
|
|
Get the ambient intensity.
Implements MaterialNode. |
|
Get the diffuse color.
Implements MaterialNode. |
|
Get the emissive color.
Implements MaterialNode. |
|
Get the shininess.
Implements MaterialNode. |
|
Get the specular color.
Implements MaterialNode. |
|
Get the transparency.
Implements MaterialNode. |
|
set_ambientIntensity eventIn handler.
|
|
set_diffuseColor eventIn handler.
|
|
set_emissiveColor eventIn handler.
|
|
set_shininess eventIn handler.
|
|
set_specularColor eventIn handler.
|
|
set_transparency eventIn handler.
|