![]() |
Tulip 6.1.0
Large graphs analysis and drawing
|
Classes | |
| class | tlp::Algorithm |
| class | tlp::AlgorithmContext |
| class | tlp::BooleanAlgorithm |
| class | tlp::ColorAlgorithm |
| class | tlp::DoubleAlgorithm |
| class | tlp::GlMainView |
| class | tlp::IntegerAlgorithm |
| class | tlp::Interactor |
| class | tlp::LayoutAlgorithm |
| class | tlp::Perspective |
| class | tlp::PerspectiveContext |
| class | tlp::Plugin |
| class | tlp::PluginContext |
| class | tlp::PluginLister |
| struct | tlp::PluginLoader |
| struct | tlp::PluginLoaderTxt |
| class | tlp::PluginProgress |
| class | tlp::ProgressPreviewHandler |
| class | tlp::PropertyAlgorithm |
| class | tlp::SizeAlgorithm |
| class | tlp::StringAlgorithm |
| class | tlp::View |
| class | tlp::ViewWidget |
Macros | |
| #define | PLUGIN(C) |
| #define | PLUGININFORMATION(NAME, AUTHOR, DATE, INFO, RELEASE, GROUP) |
Enumerations | |
| enum | tlp::ProgressState { tlp::TLP_CONTINUE , tlp::TLP_CANCEL , tlp::TLP_STOP } |
Functions | |
| std::string | tlp::demangleClassName (const char *className, bool hideTlp=false) |
| std::string | tlp::demangleTlpClassName (const char *className) |
| std::string | tlp::getMajor (const std::string &release) |
| std::string | tlp::getMinor (const std::string &release) |
| void | tlp::initTulipLib (const char *appDirPath=nullptr) |
Tulip plugins interfaces Classes in this group are interfaces for the plugins system. You will subclass one of them when creating your own Tulip plugins.
| #define PLUGIN | ( | C | ) |
Register a plugin into the plugin system. This macro is mandatory in order to register a plugin into Tulip. This will generate a Factory that will handle the plugin's creation.
| C | The classname of the plugin. |
| #define PLUGININFORMATION | ( | NAME, | |
| AUTHOR, | |||
| DATE, | |||
| INFO, | |||
| RELEASE, | |||
| GROUP ) |
Declare meta-information for a plugin This is an helper macro that defines every function related to a plugin meta-information (Plugin name, author, etc). When creating a new plugin, this macro avoids having to define pure-virtual methods located into the Plugin interface and put them on the same line.
| NAME | The plugin name as it will be registered into the plugins system (tlp::Plugin::name()) |
| AUTHOR | The author of the plugin (tlp::Plugin::author()) |
| DATE | The creation date (tlp::Plugin::date()) |
| INFO | The plugin's description (tlp::Plugin::info()) |
| RELEASE | The plugin's version number (tlp::Plugin::version()) |
| GROUP | The plugin's group (tlp::Plugin::group()). If the plugin does not belong to any group, set GROUP to "". |
| enum tlp::ProgressState |
This enum describes callback actions for the underlying system when calling tlp::PluginProgress::progress(); @list.
Definition at line 62 of file PluginProgress.h.
| std::string tlp::demangleClassName | ( | const char * | className, |
| bool | hideTlp = false ) |
Demangles the name of a C++ class.
| className | The mangled name of a class |
| hideTlp | a flag to indicate if the 'tlp::' prefix |
|
inline |
Demangles the name of a C++ class defined in the tlp namespace.
| className | The mangled name of a class |
Definition at line 91 of file TlpTools.h.
| std::string tlp::getMajor | ( | const std::string & | release | ) |
Splits the string and returns everything before the first dot ('.'). This is used to return major version number, as version numbers are formatted as X.Y.Z, X being the major, Y the minor, and Z the patch version.
| std::string tlp::getMinor | ( | const std::string & | release | ) |
Splits the string and return the minor version. If the string does not contain any dot, then 0 is returned. If the string contains only one dot (X.Y), then everything after the first dot is returned (Y). If the string is a full version with two dots (X.Y.Z), everything between the first and last dots is returned (Y). If there are more than two dots, everything between the first and last dots is returned.
|
extern |
Initializes the Tulip library. Looks for the Tulip plug-ins directory. The plug-ins directory can be defined in different ways, given by order of prevalence :