openvrml::light_node Class Reference

#include <openvrml/node.h>

Inheritance diagram for openvrml::light_node:

Inheritance graph
[legend]
List of all members.

Detailed Description

Abstract base class for light nodes.


Public Member Functions

virtual ~light_node ()=0 throw ()
 Destroy.

Protected Member Functions

 light_node (const node_type &type, const boost::shared_ptr< openvrml::scope > &scope) throw ()
 Construct.

Private Member Functions

virtual light_nodeto_light () throw ()
 Cast to a light_node.

Constructor & Destructor Documentation

openvrml::light_node::~light_node (  )  throw () [pure virtual]

Destroy.

openvrml::light_node::light_node ( const node_type type,
const boost::shared_ptr< openvrml::scope > &  scope 
) throw () [protected]

Construct.

Parameters:
[in] type the node_type associated with the node.
[in] scope the scope the node belongs to.


Member Function Documentation

openvrml::light_node * openvrml::light_node::to_light (  )  throw () [private, virtual]

Cast to a light_node.

Returns:
a pointer to this light_node.

Reimplemented from openvrml::node.