| Home | Download | Screen shots | Discussion | Documentation |
|---|
Abstract base class for RGBA color nodes. More...
#include <openvrml/node.h>

Public Member Functions | |
| virtual | ~color_rgba_node ()=0 throw () |
| Destroy. | |
| const std::vector < openvrml::color_rgba > & | color_rgba () const throw () |
Get the color_rgba array encapsulated by this node. | |
Protected Member Functions | |
| color_rgba_node (const node_type &type, const boost::shared_ptr< openvrml::scope > &scope) throw () | |
| Construct. | |
Private Member Functions | |
| virtual color_rgba_node * | to_color_rgba () throw () |
Cast to a color_rgba_node. | |
| virtual const std::vector < openvrml::color_rgba > & | do_color_rgba () const =0 throw () |
Get the color_rgba array encapsulated by this node. | |
Abstract base class for RGBA color nodes.
| openvrml::color_rgba_node::~color_rgba_node | ( | ) | throw () [pure virtual] |
Destroy.
| openvrml::color_rgba_node::color_rgba_node | ( | const node_type & | type, |
| const boost::shared_ptr< openvrml::scope > & | scope | ||
| ) | throw () [protected] |
Construct.
| [in] | type | the node_type associated with the node. |
| [in] | scope | the scope the node belongs to. |
| const std::vector< openvrml::color_rgba > & openvrml::color_rgba_node::color_rgba | ( | ) | const throw () |
Get the color_rgba array encapsulated by this node.
This function delegates to do_color_rgba.
color_rgba array for this node. | openvrml::color_rgba_node * openvrml::color_rgba_node::to_color_rgba | ( | ) | throw () [private, virtual] |
Cast to a color_rgba_node.
color_rgba_node. Reimplemented from openvrml::node.
| const std::vector< openvrml::color_rgba > & openvrml::color_rgba_node::do_color_rgba | ( | ) | const throw () [private, pure virtual] |
Get the color_rgba array encapsulated by this node.
color_rgba array for this node.