Tesseract
Motion Planning Environment
|
This is used to dynamically load tesseract visualizer. This class must remain around for the life of the loaded visualization class. More...
#include <visualization_loader.h>
Public Member Functions | |
VisualizationLoader () | |
This will attempt to load the tesseract_ignition visualizer provided by snap package. More... | |
Visualization::Ptr | get (std::string plugin_name="") const |
Load the default visualization plugin. More... | |
Public Member Functions inherited from tesseract_common::PluginLoader | |
template<class PluginBase > | |
std::shared_ptr< PluginBase > | instantiate (const std::string &plugin_name) const |
Instantiate a plugin with the provided name. More... | |
bool | isPluginAvailable (const std::string &plugin_name) const |
Check if plugin is available. More... | |
template<class PluginBase > | |
std::vector< std::string > | getAvailablePlugins () const |
Get the available plugins for the provided PluginBase type. More... | |
std::vector< std::string > | getAvailablePlugins (const std::string §ion) const |
Get the available plugins under the provided section. More... | |
std::vector< std::string > | getAvailableSections (bool include_hidden=false) const |
Get the available sections within the provided search libraries. More... | |
int | count () const |
The number of plugins stored. The size of plugins variable. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from tesseract_common::PluginLoader | |
static void | addSymbolLibraryToSearchLibrariesEnv (const void *symbol_ptr, const std::string &search_libraries_env) |
Utility function to add library containing symbol to the search env variable. More... | |
Public Attributes inherited from tesseract_common::PluginLoader | |
bool | search_system_folders { true } |
Indicate is system folders may be search if plugin is not found in any of the paths. More... | |
std::set< std::string > | search_paths |
A list of paths to search for plugins. More... | |
std::set< std::string > | search_libraries |
A list of library names without the prefix or suffix that contain plugins. More... | |
std::string | search_paths_env |
The environment variable containing plugin search paths. More... | |
std::string | search_libraries_env |
The environment variable containing plugins. More... | |
This is used to dynamically load tesseract visualizer. This class must remain around for the life of the loaded visualization class.
tesseract_visualization::VisualizationLoader::VisualizationLoader | ( | ) |
This will attempt to load the tesseract_ignition visualizer provided by snap package.
Visualization::Ptr tesseract_visualization::VisualizationLoader::get | ( | std::string | plugin_name = "" | ) | const |
Load the default visualization plugin.
plugin_name | The plugin name, if empty it tries to load default plugin |