| Home | Download | Screen shots | Discussion | Documentation | Links |
|---|
Public Methods | |
| Scene (Browser &browser, const MFString &uri, Scene *parent=0) throw (InvalidVrml, std::bad_alloc) | |
| Construct a Scene from a URI. | |
| const MFNode & | getNodes () const throw () |
| const std::string | getURI () const throw (std::bad_alloc) |
| Get the absolute URI for the Scene. | |
| void | initialize (double timestamp) |
| Initialize the scene. | |
| void | render (Viewer &viewer, VrmlRenderContext context) |
| Render the Scene. | |
| void | loadURI (const MFString &uri, const MFString ¶meter) throw (std::bad_alloc) |
| Load a resource into browser. | |
Public Attributes | |
| Browser & | browser |
| A reference to the Browser associated with the Scene. | |
| Scene *const | parent |
| A pointer to the parent scene. | |
Private Methods | |
| Scene (const Scene &) | |
| Scene & | operator= (const Scene &) |
Private Attributes | |
| MFNode | nodes |
| The nodes for the scene. | |
| std::string | uri |
| The URI for the scene. | |
|
||||||||||||||||
|
Construct a Scene from a URI.
|
|
|
Get the absolute URI for the Scene.
|
|
|
Initialize the scene.
|
|
||||||||||||
|
Load a resource into browser.
This method simply resolves any relative references in
|
|
||||||||||||
|
Render the Scene.
|
|
|
A reference to the Browser associated with the Scene.
|
|
|
The nodes for the scene.
|
|
|
A pointer to the parent scene. |
|
|
The URI for the scene. uri may be a relative or an absolute reference. |