Lagrange
Tools Class Reference

Public Member Functions

template<typename ToolType , typename ElementType >
void register_tool (const System &tool_system)
 
template<typename ToolType , typename ElementType >
void run (Registry &registry)
 
void run (entt::id_type tool_type, entt::id_type element_type, Registry &registry)
 
bool run_current (Registry &registry)
 
const std::vector< entt::id_type > & get_element_types () const
 
const std::vector< entt::id_type > & get_tool_types () const
 
std::vector< entt::id_type > & get_element_types ()
 
std::vector< entt::id_type > & get_tool_types ()
 
entt::id_type get_current_tool_type () const
 
entt::id_type get_current_element_type () const
 
bool has_backface_selection_tool () const
 
void enable_backface_selection_tool (bool has_backfaces_tool)
 
void set_current_element_type (entt::id_type element_type)
 
void set_current_tool_type (entt::id_type tool_type)
 
template<typename T >
void set_current_element_type ()
 
template<typename T >
void set_current_tool_type ()
 

The documentation for this class was generated from the following files: