1#include <cgv/gui/subprovider.h>
25 if(p->
begin_tree_node(title, tree_node_handle, initial_visibility, options)) {
base class for all classes that can be registered with support for dynamic properties (see also secti...
derive from this class to provide a gui to the current viewer
void align(const std::string &_align)
send pure alignment information
bool begin_tree_node(const std::string &label, const T &value, bool initial_visibility=false, const std::string &options="", gui_group_ptr ggp=gui_group_ptr())
Begin a sub tree of a tree structured gui.
virtual void update_member(void *member_ptr)
call this to update all views and controls of a member
void end_tree_node(const T &value)
template specialization that allows to specify value reference plus node_instance by using the result...
virtual void create_gui_impl(cgv::base::base *b, provider *p)=0
implement this to add gui controls using the supplied base and provider
provider * provider_ptr
pointer to the main provider
void update_member(void *member_ptr)
call this to update all views and controls of a member
void create_gui(provider *p)
Create the gui of the subprovider using the implementation given in create_gui_impl().
void create_gui_tree_node(provider *p, const std::string &title, bool initial_visibility, const std::string &options="")
Create the gui of the subprovider using the implementation given in create_gui_impl() and additionall...