ug4
node.h File Reference
#include "object.h"
#include "common/util/smart_pointer.h"

Go to the source code of this file.

Classes

class  ug::node_tree::Node
 Nodes serve as base-objects for items of wich a scene-graph consists. More...
 

Namespaces

 ug
 the ug namespace
 
 ug::node_tree
 

Macros

#define SPNODE(node)   *((ng::SPNode*)&node)
 casts any type to SPNode. More...
 

Typedefs

typedef SmartPtr< Node > ug::node_tree::SPNode
 the smartpointer used to encapsulate the node More...
 

Macro Definition Documentation

◆ SPNODE

#define SPNODE (   node)    *((ng::SPNode*)&node)

casts any type to SPNode.

This macro should only be applied to SmartPointers, which encapsulate a derivative of Node.