cgv
|
interface of a handler for traverse callbacks More...
#include <traverser.h>
Inherited by cgv::render::gl::format_callback_handler.
Public Member Functions | |
virtual bool | on_enter_node (base_ptr b) |
called before a node b is processed, return, whether to skip this node. If the node is skipped, the on_leave_node callback is still called | |
virtual bool | on_leave_node (base_ptr b) |
called when a node b is left, return whether to terminate traversal | |
virtual bool | on_enter_children (group_ptr g) |
called before the children of a group node g are processed, return whether these should be skipped. If children are skipped, the on_leave_children callback is still called. | |
virtual bool | on_leave_children (group_ptr g) |
called when the children of a group node g have been left, return whether to terminate traversal | |
virtual bool | on_enter_parent (node_ptr n) |
called before the parent of a node n is processed, return whether this should be skipped. If the parent is skipped, the on_leave_parent callback is still called. | |
virtual bool | on_leave_parent (node_ptr n) |
called when the parent of a node n has been left, return whether to terminate traversal | |
interface of a handler for traverse callbacks