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


Public Member Functions | |
| fog_class (openvrml::browser &browser) | |
| Construct. | |
| virtual | ~fog_class () throw () |
| Destroy. | |
| void | set_first (fog_node &fog) throw () |
| Set the first Fog node in the world. | |
| bool | has_first () const throw () |
| Check to see if the first node has been set. | |
| void | bind (fog_node &fog, double timestamp) throw (std::bad_alloc) |
| Push a Fog on the top of the bound node stack. | |
| void | unbind (fog_node &fog, double timestamp) throw () |
| Remove a Fog 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< fog_node * > | bound_nodes_t |
| A bound Fog node stack. | |
Private Attributes | |
| fog_node * | first |
| The first Fog node in the initial scene graph. | |
| bound_nodes_t | bound_nodes |
| The bound Fog node stack. | |
|
|
Construct.
|
|
||||||||||||
|
Push a Fog 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 fog_node::do_initialize.
|
|
||||||||||||
|
node_class-specific initialization.
Reimplemented from openvrml::node_class. |
|
|
node_class-specific rendering. Render the active Fog node.
Reimplemented from openvrml::node_class. |
|
|
Set the first Fog node in the world. The first Fog node in the world is used for the initial fog. This method is used by fog_node::do_initialize.
|
|
||||||||||||
|
Remove a Fog from the bound node stack.
|