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


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