15 int tree_node_handle = 0;
22 void update_member(
void* member_ptr);
29 update_member(&member);
43 void create_gui_tree_node(
provider* p,
const std::string& title,
bool initial_visibility,
const std::string& options =
"");
49#include <cgv/config/lib_end.h>
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
derive from this class to use a provider from another viewer
virtual void create_gui_impl(cgv::base::base *b, provider *p)=0
implement this to add gui controls using the supplied base and provider
void set_and_update_member(T &member, const T &value)
call this to update the value and all views and controls of a member
bool create_gui(provider *p, const std::string &label, void *value_ptr, const std::string &value_type, const std::string &gui_type, const std::string &options, bool *toggles)
create the gui for a composed structure