Functions | |
| int | tree_init () |
| Initializes VRML Scene root. | |
| int | addchild (node *parent, node *children) |
| Adds a child to a node. | |
| node * | mknode () |
| Creates an empty node. | |
| node * | getsymFromRoot (char *identifier) |
| Search the scene for an identifier. | |
| node * | getsym (char *identifier, node *context) |
| Search the scene for an identifier into the given context. | |
| node * | lastin (node *begin) |
| Gives the latest added node for the current context. | |
| int | cleanup (node *context) |
| Frees allocated memory for the given context. | |
| int | cleanup_tree (void) |
| cleanup the entire tree. | |
| node * | getInline (node *context) |
| Search the scene for an Inline node. | |
| node * | genUse (node *def) |
| Generates a USE Node. | |
Variables | |
| node * | vp_root |
| a reference to the external vp_root node. | |
|
||||||||||||
|
Adds a child to a node.
|
|
|
Frees allocated memory for the given context. Note that this function is still in beta testing. It may cause a segfault if used over unchecked tree.
|
|
|
cleanup the entire tree.
Here is the call graph for this function: ![]() |
|
|
Generates a USE Node. The USE node is created generating a new node with the same fields of the given node.
Here is the call graph for this function: ![]() |
|
|
Search the scene for an Inline node.
|
|
||||||||||||
|
Search the scene for an identifier into the given context.
|
|
|
Search the scene for an identifier.
Here is the call graph for this function: ![]() |
|
|
Gives the latest added node for the current context.
|
|
|
Creates an empty node.
|
|
|
Initializes VRML Scene root.
Here is the call graph for this function: ![]() |
|
|
a reference to the external vp_root node.
|