|
|
typedef AbstractProperty< tlp::ColorType, tlp::ColorType > | AbstractColorProperty |
| |
|
typedef AbstractProperty< tlp::GraphType, tlp::EdgeSetType > | AbstractGraphProperty |
| |
|
typedef AbstractProperty< tlp::PointType, tlp::LineType > | AbstractLayoutProperty |
| |
|
typedef AbstractProperty< tlp::SizeType, tlp::SizeType > | AbstractSizeProperty |
| |
|
typedef AbstractProperty< tlp::StringType, tlp::StringType > | AbstractStringProperty |
| |
|
typedef MinMaxProperty< tlp::DoubleType, tlp::DoubleType, tlp::NumericProperty > | DoubleMinMaxProperty |
| |
|
typedef MinMaxProperty< tlp::IntegerType, tlp::IntegerType, tlp::NumericProperty > | IntegerMinMaxProperty |
| |
|
typedef MinMaxProperty< tlp::PointType, tlp::LineType > | LayoutMinMaxProperty |
| |
|
typedef CoordVectorProperty | LayoutVectorProperty |
| |
|
|
| _DEPRECATED_TYPEDEF (ObserverHolder, ObserverLocker) |
| |
|
QColor | colorToQColor (const Color &color) |
| |
| void | convexHull (const std::vector< Coord > &points, std::vector< unsigned int > &convexHull) |
| |
| void | convexHull (const std::vector< Coord > &points, std::vector< std::vector< unsigned int > > &convexHullFacets, std::vector< std::vector< unsigned int > > &facetNeighbors) |
| |
| void | copyToGraph (Graph *outG, const Graph *inG, BooleanProperty *inSelection=NULL, BooleanProperty *outSelection=NULL) |
| |
| std::string | demangleClassName (const char *className, bool hideTlp=false) |
| |
| std::string | demangleTlpClassName (const char *className) |
| |
|
void | disableQtUserInput () |
| |
|
void | enableQtUserInput () |
| |
| bool | exportGraph (Graph *graph, std::ostream &outputStream, const std::string &format, DataSet &dataSet, PluginProgress *progress=NULL) |
| |
|
bool | getColorDialog (const QColor &color, QWidget *parent, const QString &title, QColor &result) |
| |
| std::istream * | getIgzstream (const std::string &name, int open_mode=std::ios::in) |
| |
| std::istream * | getInputFileStream (const std::string &filename, std::ios_base::openmode open_mode=std::ios::in) |
| |
| std::string | getMajor (const std::string &release) |
| |
| std::string | getMinor (const std::string &release) |
| |
| std::ostream * | getOgzstream (const std::string &name, int open_mode=std::ios::out) |
| |
| std::ostream * | getOutputFileStream (const std::string &filename, std::ios_base::openmode open_mode=std::ios::out) |
| |
|
QString | getPluginLocalInstallationDir () |
| |
| QString | getPluginPackageName (const QString &pluginName) |
| |
|
QString | getPluginStagingDirectory () |
| |
| Iterator< Graph * > * | getRootGraphs () |
| |
| unsigned int | getSeedOfRandomSequence () |
| |
| Graph * | importGraph (const std::string &format, DataSet &dataSet, PluginProgress *progress=NULL, Graph *newGraph=NULL) |
| |
| void | initRandomSequence () |
| |
| void | initTulipLib (const char *appDirPath=NULL) |
| |
| void | initTulipSoftware (PluginLoader *loader=NULL, bool removeDiscardedPlugins=false) |
| |
| Graph * | loadGraph (const std::string &filename, tlp::PluginProgress *progress=NULL) |
| |
|
QString | localPluginsPath () |
| |
| Graph * | newGraph () |
| |
| template<typename Obj , unsigned int SIZE> |
| std::ostream & | operator<< (std::ostream &os, const Array< Obj, SIZE > &array) |
| |
| template<typename Obj , unsigned int SIZE> |
| std::istream & | operator>> (std::istream &is, Array< Obj, SIZE > &array) |
| |
| QString | propertyInterfaceToPropertyTypeLabel (const tlp::PropertyInterface *const property) |
| |
| std::string | propertyTypeLabelToPropertyType (const QString &typeNameLabel) |
| |
| QString | propertyTypeToPropertyTypeLabel (const std::string &typeName) |
| |
|
Color | QColorToColor (const QColor &color) |
| |
| bool | QStringCaseCmp (const QString &s1, const QString &s2) |
| |
| std::string | QStringToTlpString (const QString &toConvert) |
| |
| double | randomDouble (double max=1.0) |
| |
| int | randomInteger (int max) |
| |
| unsigned int | randomUnsignedInteger (unsigned int max) |
| |
| void | redirectDebugOutputToQDebug () |
| |
| void | redirectErrorOutputToQCritical () |
| |
| void | redirectWarningOutputToQWarning () |
| |
| void | removeFromGraph (Graph *ioG, BooleanProperty *inSelection=NULL) |
| |
| bool | saveGraph (Graph *graph, const std::string &filename, tlp::PluginProgress *progress=NULL, tlp::DataSet *data=NULL) |
| |
| void | setSeedOfRandomSequence (unsigned int seed=UINT_MAX) |
| |
| int | statPath (const std::string &pathname, tlp_stat_t *buf) |
| |
| QString | tlpStringToQString (const std::string &toConvert) |
| |
|
|
static const std::string | ALGORITHM_CATEGORY = "Algorithm" |
| |
|
static const std::string | BOOLEAN_ALGORITHM_CATEGORY = "Selection" |
| |
|
static const std::string | COLOR_ALGORITHM_CATEGORY = "Coloring" |
| |
|
static const std::string | DOUBLE_ALGORITHM_CATEGORY = "Measure" |
| |
|
static const std::string | INTEGER_ALGORITHM_CATEGORY = "Measure" |
| |
|
static const std::string | INTERACTOR_CATEGORY = "Interactor" |
| |
|
static const std::string | LAYOUT_ALGORITHM_CATEGORY = "Layout" |
| |
|
const char | PATH_DELIMITER |
| |
|
static const std::string | PERSPECTIVE_CATEGORY = "Perspective" |
| |
|
static const std::string | PROPERTY_ALGORITHM_CATEGORY = "Property" |
| |
|
static const std::string | SIZE_ALGORITHM_CATEGORY = "Resizing" |
| |
|
static const std::string | STRING_ALGORITHM_CATEGORY = "Labeling" |
| |
|
std::string | TulipBitmapDir |
| |
|
std::string | TulipLibDir |
| |
|
std::string | TulipPluginsPath |
| |
|
std::string | TulipShareDir |
| |
|
static const std::string | VIEW_CATEGORY = "Panel" |
| |
This file is part of Tulip (www.tulip-software.org)
Authors: David Auber and the Tulip development Team from LaBRI, University of Bordeaux
Tulip is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Tulip is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
| void tlp::convexHull |
( |
const std::vector< Coord > & |
points, |
|
|
std::vector< std::vector< unsigned int > > & |
convexHullFacets, |
|
|
std::vector< std::vector< unsigned int > > & |
facetNeighbors |
|
) |
| |
function for computing a 2D/3D convex hull
Computes a 2D/3D convex hull using the Qhull library (www.qhull.org)
Computes a 2D/3D convex hull and returns a list of the hull facets (segments for 2D, triangles for 3D) and a list of neighbors facets for each facet. A facet is defined by a list of indexes in the points vector. The neighbors facets of a facet are defined by a list of indexes in the convexHullFacets vector (facetNeighbors[i] stores the neighbors of facet convexHullFacets[i]).
The convexHullFacets and facetNeighbors vectors are automatically cleared.
| QString tlp::getPluginPackageName |
( |
const QString & |
pluginName | ) |
|
Gets the name of the package to retrieve for this version of tulip. The package name uses the Tulip release, platform (windows, unix, ...), architecture (x86, x86_64), and compiler used (GCC, Clang, MSVC) to determine which package this version can use.
- Parameters
-
| pluginName | The name of the plugin for which we want the package name. |