| Home | Download | Screen shots | Discussion | Documentation |
|---|
Inheritance diagram for openvrml::vrml97_node::background_class:


Public Member Functions | |
| background_class (openvrml::browser &browser) | |
| Construct. | |
| virtual | ~background_class () throw () |
| Destroy. | |
| void | set_first (background_node &background) throw () |
| Set the first Background node in the world. | |
| bool | has_first () const throw () |
| Check to see if the first node has been set. | |
| void | bind (background_node &background, double timestamp) throw (std::bad_alloc) |
| Push a background_node on the top of the bound node stack. | |
| void | unbind (background_node &background, double timestamp) throw () |
| Remove a background_node from the bound node stack. | |
| virtual void | initialize (viewpoint_node *initialViewpoint, double timestamp) throw () |
| node_class-specific initialization. | |
| virtual void | render (openvrml::viewer &viewer) throw () |
| node_class-specific rendering. | |
| virtual const node_type_ptr | create_type (const std::string &id, const node_interface_set &) throw (unsupported_interface, std::bad_alloc) |
| Create a node_type. | |
Private Types | |
| typedef std::vector< background_node * > | bound_nodes_t |
| A bound Background node stack. | |
Private Attributes | |
| background_node * | first |
| The first Background node in the initial scene graph. | |
| bound_nodes_t | bound_nodes |
| The bound Background node stack. | |
|
|
Construct.
|
|
||||||||||||
|
Push a background_node on the top of the bound node stack.
|
|
||||||||||||
|
Create a node_type.
Implements openvrml::node_class. |
|
|
Check to see if the first node has been set. This method is used by background_node::do_initialize.
|
|
||||||||||||
|
node_class-specific initialization.
Reimplemented from openvrml::node_class. |
|
|
node_class-specific rendering. Render the active Background node.
Reimplemented from openvrml::node_class. |
|
|
Set the first Background node in the world. The first Background node in the world is used as the initial background. This method is used by Background::do_initialize.
|
|
||||||||||||
|
Remove a background_node from the bound node stack.
|