33 #ifndef __H__UG__NODE_TREE__TRAVERSER__
34 #define __H__UG__NODE_TREE__TRAVERSER__
62 template<
typename HandlerType>
79 template<
typename HandlerType>
Definition: smart_pointer.h:108
A group node featuring a bounding box.
Definition: boxed_group_node.h:56
You can group nodes using the GroupNode.
Definition: group_node.h:56
An Object serves as the base-class for most of the polymorphic node-tree objects.
Definition: object.h:70
Derivates of a Traverser can be used to traverse a scenegraph.
Definition: traverser.h:54
virtual void handle_boxed_group(BoxedGroupNode *boxedGroup)
Definition: traverser.cpp:90
void traverse_object(Object *obj)
Definition: traverser.cpp:71
void register_handler_function(unsigned int oc, HandlerType func)
Definition: traverser.h:80
void apply(SPNode &node)
Definition: traverser.cpp:66
virtual ~Traverser()
Definition: traverser.cpp:51
virtual void handle_group(GroupNode *group)
Definition: traverser.cpp:80
bool handler_function_registered(unsigned int oc)
Definition: traverser.cpp:55
Traverser()
Definition: traverser.cpp:41
std::vector< HandlerFunc > m_vHandlerFuncs
Definition: traverser.h:75
void(Traverser::* HandlerFunc)(Object *obj)
Definition: traverser.h:74
function func(x, y, z, t, si)