| Home | Download | Screen shots | Discussion | Documentation |
|---|
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 boost::shared_ptr< openvrml::scope > &scope) | |
| Construct. | |
Protected Attributes | |
| exposedfield< sffloat > | ambient_intensity_ |
| ambientIntensity exposedField. | |
| exposedfield< sfcolor > | color_ |
| color exposedField. | |
| exposedfield< sffloat > | intensity_ |
| intensity exposedField. | |
| exposedfield< sfbool > | on_ |
| on exposedField. | |
| openvrml::vrml97_node::abstract_light_node::~abstract_light_node | ( | ) | throw () [pure virtual] |
Destroy.
| openvrml::vrml97_node::abstract_light_node::abstract_light_node | ( | const node_type & | type, | |
| const boost::shared_ptr< openvrml::scope > & | scope | |||
| ) | [protected] |
| void openvrml::vrml97_node::abstract_light_node::renderScoped | ( | openvrml::viewer & | viewer | ) | [virtual] |
Render this node as scoped.
The default version of this method does nothing.
| viewer | a renderer. |
Reimplemented in openvrml::vrml97_node::point_light_node, and openvrml::vrml97_node::spot_light_node.
| abstract_light_node * openvrml::vrml97_node::abstract_light_node::to_light | ( | ) | const [virtual] |
| float openvrml::vrml97_node::abstract_light_node::ambient_intensity | ( | ) | const throw () |
Ambient intensity.
| float openvrml::vrml97_node::abstract_light_node::intensity | ( | ) | const throw () |
Intensity.
| bool openvrml::vrml97_node::abstract_light_node::on | ( | ) | const throw () |
Whether the light is on.
true if the light is on; false otherwise. | const openvrml::color & openvrml::vrml97_node::abstract_light_node::color | ( | ) | const throw () |
ambientIntensity exposedField.
color exposedField.
intensity exposedField.
exposedfield< sfbool > openvrml::vrml97_node::abstract_light_node::on_ [protected] |
on exposedField.