| Home | Download | Screen shots | Discussion | Documentation |
|---|
Public Member Functions | |
| spot_light_node (const node_type &type, const boost::shared_ptr< openvrml::scope > &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. | |
Private Attributes | |
| exposedfield< sfvec3f > | attenuation_ |
| attenuation exposedField. | |
| exposedfield< sffloat > | beam_width_ |
| beamWidth exposedField. | |
| exposedfield< sffloat > | cut_off_angle_ |
| cutOffAngle exposedField. | |
| exposedfield< sfvec3f > | direction_ |
| direction exposedField. | |
| exposedfield< sfvec3f > | location_ |
| location exposedField. | |
| exposedfield< sffloat > | radius_ |
| radius exposedField. | |
Friends | |
| class | spot_light_class |
| Class object for SpotLight instances. | |
| openvrml::vrml97_node::spot_light_node::spot_light_node | ( | const node_type & | type, | |
| const boost::shared_ptr< openvrml::scope > & | scope | |||
| ) |
| openvrml::vrml97_node::spot_light_node::~spot_light_node | ( | ) | throw () [virtual] |
Destroy.
| spot_light_node * openvrml::vrml97_node::spot_light_node::to_spot_light | ( | ) | const [virtual] |
| void openvrml::vrml97_node::spot_light_node::renderScoped | ( | openvrml::viewer & | viewer | ) | [virtual] |
Render the scoped light.
| viewer | a Viewer. |
Reimplemented from openvrml::vrml97_node::abstract_light_node.
| void openvrml::vrml97_node::spot_light_node::do_initialize | ( | double | timestamp | ) | throw (std::bad_alloc) [private, virtual] |
Initialize.
| timestamp | the current time. |
| std::bad_alloc | if memory allocation fails. |
Reimplemented from openvrml::node.
| void openvrml::vrml97_node::spot_light_node::do_shutdown | ( | double | timestamp | ) | throw () [private, virtual] |
openvrml::vrml97_node::spot_light_node::spot_light_class [friend] |
Class object for SpotLight instances.
attenuation exposedField.
expoosedfield< sffloat > openvrml::vrml97_node::spot_light_node::beam_width_ [private] |
beamWidth exposedField.
cutOffAngle exposedField.
direction exposedField.
location exposedField.
radius exposedField.