cgv
Loading...
Searching...
No Matches
cgv::render::gl::format_callback_handler Struct Reference
Inheritance diagram for cgv::render::gl::format_callback_handler:
cgv::base::traverse_callback_handler

Public Member Functions

 format_callback_handler (std::ostream &_os)
 
bool on_enter_children (group *)
 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.
 
bool on_leave_children (group *)
 called when the children of a group node g have been left, return whether to terminate traversal
 
- Public Member Functions inherited from cgv::base::traverse_callback_handler
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
 

Public Attributes

std::ostream & os
 

Detailed Description

Definition at line 665 of file gl_context.cxx.

Constructor & Destructor Documentation

◆ format_callback_handler()

cgv::render::gl::format_callback_handler::format_callback_handler ( std::ostream &  _os)
inline

Definition at line 668 of file gl_context.cxx.

Member Function Documentation

◆ on_enter_children()

bool cgv::render::gl::format_callback_handler::on_enter_children ( group )
inline

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.

Definition at line 672 of file gl_context.cxx.

◆ on_leave_children()

bool cgv::render::gl::format_callback_handler::on_leave_children ( group )
inline

called when the children of a group node g have been left, return whether to terminate traversal

Definition at line 678 of file gl_context.cxx.

Member Data Documentation

◆ os

std::ostream& cgv::render::gl::format_callback_handler::os

Definition at line 667 of file gl_context.cxx.


The documentation for this struct was generated from the following file: