Home | Download | Screen shots | Discussion | Documentation |
---|
Public Member Functions | |
material_node (const node_type &type, const boost::shared_ptr< openvrml::scope > &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 Attributes | |
exposedfield< sffloat > | ambient_intensity_ |
ambientIntensity exposedField. | |
exposedfield< sfcolor > | diffuse_color_ |
diffuseColor exposedField. | |
exposedfield< sfcolor > | emissive_color_ |
emissiveColor exposedField. | |
exposedfield< sffloat > | shininess_ |
shininess exposedField. | |
exposedfield< sfcolor > | specular_color_ |
specularColor exposedField. | |
exposedfield< sffloat > | transparency_ |
transparency exposedField. | |
Friends | |
class | material_class |
Class object for Material nodes. |
openvrml::vrml97_node::material_node::material_node | ( | const node_type & | type, | |
const boost::shared_ptr< openvrml::scope > & | scope | |||
) |
openvrml::vrml97_node::material_node::~material_node | ( | ) | throw () [virtual] |
float openvrml::vrml97_node::material_node::ambient_intensity | ( | ) | const throw () [virtual] |
const color & openvrml::vrml97_node::material_node::diffuse_color | ( | ) | const throw () [virtual] |
const color & openvrml::vrml97_node::material_node::emissive_color | ( | ) | const throw () [virtual] |
float openvrml::vrml97_node::material_node::shininess | ( | ) | const throw () [virtual] |
const color & openvrml::vrml97_node::material_node::specular_color | ( | ) | const throw () [virtual] |
float openvrml::vrml97_node::material_node::transparency | ( | ) | const throw () [virtual] |
openvrml::vrml97_node::material_node::material_class [friend] |
Class object for Material nodes.
ambientIntensity exposedField.
diffuseColor exposedField.
emissiveColor exposedField.
exposefield< sffloat > openvrml::vrml97_node::material_node::shininess_ [private] |
shininess exposedField.
specularColor exposedField.
transparency exposedField.