Seg3D  2.4
Seg3D is a free volume segmentation and processing tool developed by the NIH Center for Integrative Biomedical Computing at the University of Utah Scientific Computing and Imaging (SCI) Institute.
Public Types | Public Member Functions | Public Attributes | List of all members
Seg3D::ToolFactory Class Reference
Inheritance diagram for Seg3D::ToolFactory:
Core::Lockable Core::StateHandler

Public Types

typedef std::map< std::string, Core::StateLabeledMultiOptionHandle > startup_tools_map_type
 
- Public Types inherited from Core::Lockable
typedef boost::mutex mutex_type
 
typedef boost::unique_lock< mutex_type > lock_type
 

Public Member Functions

void register_tool (ToolBuilderBase *builder, ToolInfoHandle tool_info, std::string tool_name)
 
void register_toolinterface (ToolInterfaceBuilderBase *builder, std::string toolinterface_name)
 
bool create_tool (const std::string &tool_type, ToolHandle &tool)
 
bool create_toolinterface (const std::string &toolinterface_name, ToolInterface *&toolinterface)
 
bool is_tool_type (const std::string &tool_type)
 
bool list_tools (ToolInfoList &tool_list, std::string menu="")
 
bool list_menus (ToolMenuList &menu_list)
 
void initialize_states ()
 
void save_settings ()
 
- Public Member Functions inherited from Core::Lockable
mutex_type & get_mutex () const
 

Public Attributes

startup_tools_map_type startup_tools_state_
 

Member Function Documentation

bool Seg3D::ToolFactory::create_tool ( const std::string &  tool_type,
ToolHandle &  tool 
)

CREATE_TOOL: Generate an tool from a type

bool Seg3D::ToolFactory::create_toolinterface ( const std::string &  toolinterface_name,
ToolInterface *&  toolinterface 
)

CREATE_TOOLINTERFACE: Generate an tool interface from a type

void Seg3D::ToolFactory::initialize_states ( )

INITIALIZE_STATES: Initialize state variables and load settings from file.

bool Seg3D::ToolFactory::is_tool_type ( const std::string &  tool_type)

IS_TOOL_TYPE: Check whether a tool with a specified name is available

bool Seg3D::ToolFactory::list_menus ( ToolMenuList &  menu_list)

LIST_MENUS: List the menus

bool Seg3D::ToolFactory::list_tools ( ToolInfoList &  tool_list,
std::string  menu = "" 
)

LIST_TOOL_TYPES: List the tools

void Seg3D::ToolFactory::register_tool ( ToolBuilderBase builder,
ToolInfoHandle  tool_info,
std::string  tool_name 
)

REGISTER_TOOL: Register a tool so that it can be automatically built in the tool factory.

void Seg3D::ToolFactory::register_toolinterface ( ToolInterfaceBuilderBase builder,
std::string  toolinterface_name 
)

REGISTER_TOOLINTERFACE: Register a tool so that it can be automatically build in the tool factory.

void Seg3D::ToolFactory::save_settings ( )

SAVE_SETTINGS: Write the tools settings out to file.


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