Home | Download | Screen shots | Discussion | Documentation |
---|
Inheritance diagram for openvrml::vrml97_node::spot_light_node:
Public Member Functions | |
spot_light_node (const node_type &type, const scope_ptr &scope) | |
Construct. | |
virtual | ~spot_light_node () throw () |
Destroy. | |
virtual spot_light_node * | to_spot_light () const |
Cast to a spot_light_node. | |
virtual void | renderScoped (openvrml::viewer &viewer) |
Render the scoped light. | |
Private Member Functions | |
virtual void | do_initialize (double timestamp) throw (std::bad_alloc) |
Initialize. | |
virtual void | do_shutdown (double timestamp) throw () |
Shut down. | |
void | process_set_attenuation (const field_value &value, double timestamp) throw (std::bad_cast) |
set_attenuation eventIn handler. | |
void | process_set_beamWidth (const field_value &value, double timestamp) throw (std::bad_cast) |
set_beamWidth eventIn handler. | |
void | process_set_cutOffAngle (const field_value &value, double timestamp) throw (std::bad_cast) |
set_cutOffAngle eventIn handler. | |
void | process_set_direction (const field_value &value, double timestamp) throw (std::bad_cast) |
set_direction eventIn handler. | |
void | process_set_location (const field_value &value, double timestamp) throw (std::bad_cast) |
set_location eventIn handler. | |
void | process_set_radius (const field_value &value, double timestamp) throw (std::bad_cast) |
set_radius eventIn handler. | |
Private Attributes | |
sfvec3f | attenuation |
attenuation exposedField. | |
sffloat | beamWidth |
beamWidth exposedField. | |
sffloat | cutOffAngle |
cutOffAngle exposedField. | |
sfvec3f | direction |
direction exposedField. | |
sfvec3f | location |
location exposedField. | |
sffloat | radius |
radius exposedField. | |
Friends | |
class | spot_light_class |
Class object for SpotLight instances. |
|
Construct.
|
|
Destroy.
|
|
Initialize.
Reimplemented from openvrml::node. |
|
Shut down.
Reimplemented from openvrml::node. |
|
set_attenuation eventIn handler.
|
|
set_beamWidth eventIn handler.
|
|
set_cutOffAngle eventIn handler.
|
|
set_direction eventIn handler.
|
|
set_location eventIn handler.
|
|
set_radius eventIn handler.
|
|
Render the scoped light.
Reimplemented from openvrml::vrml97_node::abstract_light_node. |
|
Cast to a spot_light_node.
Reimplemented from openvrml::node. |
|
Class object for SpotLight instances.
|
|
attenuation exposedField.
|
|
beamWidth exposedField.
|
|
cutOffAngle exposedField.
|
|
direction exposedField.
|
|
location exposedField.
|
|
radius exposedField.
|