Basic element of the scene graph. More...
#include <Node.hpp>
Public Types | |
| typedef vector< Node * >::iterator | iterator |
Public Member Functions | |
| Node (const Tag &tag) | |
| void | addChild (Node *child) |
| virtual bool | areChildrenDestroyable () const |
| virtual bool | areChildrenPreparable () const |
| virtual bool | areChildrenPrintable () const |
| virtual bool | areChildrenSelectable () const |
| virtual bool | areChildrenTraversable () const |
| virtual void | associate () |
| virtual void | associateAfter () |
| iterator | begin () |
| void | erase (iterator it) |
| iterator | end () |
| virtual void | finalize () |
| virtual void | finalizeAfter () |
| virtual string | getAttribute (const string &key) const |
| vector< Node * > | getChildren () const |
| string | getClassName () const |
| float | getDepth () const |
| Node * | getParent () const |
| Tag | getTag () const |
| bool | hasChildren () const |
| virtual bool | setAttribute (pair< string, string > attribute) |
| void | setDepth (float depth) |
| void | setParent (Node *parent) |
| virtual string | toString () const |
Static Public Member Functions | |
| static bool | compare (Node *A, Node *B) |
| static void | destroy (Node *node) |
| static Node * | findRoot (Node *node) |
Protected Attributes | |
| float | depth |
| Node * | parent |
| Tag | tag |
| vector< Node * > | children |
Friends | |
| ostream & | operator<< (ostream &stream, const Node &node) |
Basic element of the scene graph.
| void addChild | ( | Node * | child | ) |
Adds a child to this node.
1.6.3