openvrml::light_node Class Reference
Abstract base class for light nodes.
More...
#include <openvrml/node.h>
List of all members.
Detailed Description
Abstract base class for light nodes.
Constructor & Destructor Documentation
| openvrml::light_node::~light_node |
( |
|
) |
throw () [pure virtual] |
| openvrml::light_node::light_node |
( |
const node_type & |
type, |
|
|
const boost::shared_ptr< openvrml::scope > & |
scope | |
|
) |
| | throw () [protected] |
Member Function Documentation
| float openvrml::light_node::ambient_intensity |
( |
|
) |
const throw () |
| float openvrml::light_node::intensity |
( |
|
) |
const throw () |
Intensity.
Delegates to do_intensity.
- Returns:
- the intensity.
| bool openvrml::light_node::on |
( |
|
) |
const throw () |
“On” state.
Delegates to do_on.
- Returns:
true if the light is on; false otherwise.
| float openvrml::light_node::do_ambient_intensity |
( |
|
) |
const throw () [private, pure virtual] |
| float openvrml::light_node::do_intensity |
( |
|
) |
const throw () [private, pure virtual] |
intensity implementation.
- Returns:
- the intensity.
| bool openvrml::light_node::do_on |
( |
|
) |
const throw () [private, pure virtual] |
on implementation.
- Returns:
true if the light is on; false otherwise.
| const openvrml::color & openvrml::light_node::do_color |
( |
|
) |
const throw () [private, pure virtual] |