Scene Class Reference
[Scene]
Collection of nodes opened from a file.
More...
#include <Scene.hpp>
List of all members.
Detailed Description
Collection of nodes opened from a file.
Constructor & Destructor Documentation
Creates and initializes a new scene.
Destroys all the nodes in the scene.
Member Function Documentation
void addAllToSelection |
( |
|
) |
[inline] |
Selects all the nodes in the scene.
void addToSelection |
( |
Node * |
node |
) |
[inline] |
Selects a single item in the scene.
void associate |
( |
Node * |
node |
) |
[protected] |
Associate all the nodes in the scene.
void finalize |
( |
Node * |
node |
) |
[protected] |
Finalize all the nodes in the scene.
- Parameters:
-
| node | Pointer to current node |
string getFilename |
( |
|
) |
const [inline] |
- Returns:
- file the scene was opened from
Node * getRoot |
( |
|
) |
const [inline] |
- Returns:
- top-most node in the scene
- Returns:
- pointers to all the selected nodes in the scene
void open |
( |
string |
filename |
) |
|
Opens a scene from a file.
- Parameters:
-
| filename | Path to the file. |
Allows nodes in graph to associate and finalize themselves.
Prints all the nodes in the scene.
void removeAllFromSelection |
( |
|
) |
[inline] |
Deselects all the nodes in the scene.
void removeFromSelection |
( |
Node * |
node |
) |
[inline] |
Deselects a single node in the scene
void setRoot |
( |
Node * |
node |
) |
|
Replaces the root of the scene with a new node.
- Exceptions:
-
The documentation for this class was generated from the following files: