| Home | Download | Screen shots | Discussion | Documentation |
|---|
Collaboration diagram for openvrml::scene:

Public Member Functions | |
| scene (openvrml::browser &browser, const std::vector< std::string > &url, scene *parent=0) throw (invalid_vrml, std::bad_alloc) | |
| Construct a scene from a URI. | |
| void | initialize (double timestamp) throw (std::bad_alloc) |
| Initialize the scene. | |
| const std::vector< node_ptr > & | nodes () const throw () |
| Root nodes for the scene. | |
| const std::string | url () const throw (std::bad_alloc) |
| Get the absolute URI for the scene. | |
| void | render (openvrml::viewer &viewer, rendering_context context) |
| Render the scene. | |
| void | load_url (const std::vector< std::string > &url, const std::vector< std::string > ¶meter) throw (std::bad_alloc) |
| Load a resource into browser. | |
| void | shutdown (double timestamp) throw () |
| Shut down the nodes in the scene. | |
Public Attributes | |
| openvrml::browser & | browser |
| A reference to the browser associated with the scene. | |
| scene *const | parent |
| A pointer to the parent scene. | |
Private Member Functions | |
| scene (const scene &) | |
| Not implemented. | |
| scene & | operator= (const scene &) |
| Not implemented. | |
Private Attributes | |
| std::vector< node_ptr > | nodes_ |
| The nodes for the scene. | |
| std::string | url_ |
| The URI for the scene. | |
|
||||||||||||||||
|
Construct a scene from a URI.
|
|
|
Not implemented. scene is not copyable. |
|
|
Initialize the scene.
|
|
||||||||||||
|
Load a resource into browser.
This method simply resolves any relative references in
|
|
|
Root nodes for the scene.
|
|
|
Not implemented. scene is not copyable. |
|
||||||||||||
|
Render the scene.
|
|
|
Shut down the nodes in the scene. This function must be called before the scene is destroyed.
|
|
|
Get the absolute URI for the scene.
|
|
|
A pointer to the parent scene. If the scene is the root scene, parent will be 0. |
|
|
The URI for the scene. uri may be a relative or an absolute reference. |