Home | Download | Screen shots | Discussion | Documentation |
---|
Inheritance diagram for openvrml::vrml97_node::abstract_light_node:
Public Member Functions | |
virtual | ~abstract_light_node ()=0 throw () |
Destroy. | |
virtual void | renderScoped (openvrml::viewer &viewer) |
Render this node as scoped. | |
virtual abstract_light_node * | to_light () const |
Downcast to a light node. | |
float | ambient_intensity () const throw () |
Ambient intensity. | |
float | intensity () const throw () |
Intensity. | |
bool | on () const throw () |
Whether the light is on. | |
const openvrml::color & | color () const throw () |
Light color. | |
Protected Member Functions | |
abstract_light_node (const node_type &type, const scope_ptr &scope) | |
Construct. | |
void | process_set_ambientIntensity (const field_value &value, double timestamp) throw (std::bad_cast) |
set_ambientIntensity eventIn handler. | |
void | process_set_color (const field_value &value, double timestamp) throw (std::bad_cast) |
set_color eventIn handler. | |
void | process_set_intensity (const field_value &value, double timestamp) throw (std::bad_cast) |
set_intensity eventIn handler. | |
void | process_set_on (const field_value &value, double timestamp) throw (std::bad_cast) |
set_on eventIn handler. | |
Protected Attributes | |
sffloat | ambientIntensity |
ambientIntensity exposedField. | |
sfcolor | color_ |
color exposedField. | |
sffloat | intensity_ |
intensity exposedField. | |
sfbool | on_ |
on exposedField. |
|
Construct.
|
|
Ambient intensity.
|
|
Light color.
|
|
Intensity.
|
|
Whether the light is on.
|
|
set_ambientIntensity eventIn handler.
|
|
set_color eventIn handler.
|
|
set_intensity eventIn handler.
|
|
set_on eventIn handler.
|
|
Render this node as scoped. The default version of this method does nothing.
Reimplemented in openvrml::vrml97_node::point_light_node, and openvrml::vrml97_node::spot_light_node. |
|
Downcast to a light node.
Reimplemented from openvrml::node. |