TTK processing package that computes the contour tree of scalar data and more (data segmentation, topological simplification, persistence diagrams, persistence curves, etc.).
More...
|
| ContourTree () |
|
int | build () |
|
const SubLevelSetTree * | getMergeTree () const |
|
int | getPersistencePairs (std::vector< std::pair< std::pair< int, int >, double > > &pairs, std::vector< std::pair< std::pair< int, int >, double > > *mergePairs=nullptr, std::vector< std::pair< std::pair< int, int >, double > > *splitPairs=nullptr) const override |
|
int | getPersistencePlot (std::vector< std::pair< double, int > > &plot, std::vector< std::pair< std::pair< int, int >, double > > *mergePairs=nullptr, std::vector< std::pair< std::pair< int, int >, double > > *splitPairs=nullptr, std::vector< std::pair< std::pair< int, int >, double > > *pairs=nullptr) const |
|
int | getPersistenceDiagram (std::vector< std::pair< double, double > > &diagram, std::vector< std::pair< std::pair< int, int >, double > > *mergePairs=nullptr, std::vector< std::pair< std::pair< int, int >, double > > *splitPairs=nullptr, std::vector< std::pair< std::pair< int, int >, double > > *pairs=nullptr) const |
|
const SubLevelSetTree * | getSplitTree () const |
|
int | maintainRegularVertices (const bool &onOff) override |
|
int | setVertexNeighbors (const std::vector< std::vector< int > > *vertexNeighbors) |
|
int | setVertexNeighbors (const int &vertexId, const std::vector< int > &neighborList) |
|
int | computeSkeleton (unsigned int arcResolution=3) override |
|
int | smoothSkeleton (unsigned int skeletonSmoothing) override |
|
int | clearSkeleton () override |
|
int | simplify (const double &simplificationThreshold, ContourTreeSimplificationMetric *metric=nullptr) override |
|
| SubLevelSetTree () |
|
int | build () |
|
int | buildExtremumList (std::vector< int > &extremumList, const bool &isSubLevelSet=true) |
|
bool | buildPlanarLayout (const double &scaleX, const double &scaleY) |
|
int | buildSaddleList (std::vector< int > &vertexList) const |
|
int | clearArc (const int &vertexId0, const int &vertexId1) |
|
int | clearRegularNode (const int &vertexId) |
|
int | clearRoot (const int &vertexId) |
|
int | exportPersistenceCurve (const std::string &fileName="output.plot") const |
|
int | exportPersistenceDiagram (const std::string &fileName="output.plot") const |
|
int | exportToSvg (const std::string &fileName, const double &scaleX=1, const double &scaleY=1) |
|
int | exportToVtk (const std::string &fileName, const std::vector< float > *origin=nullptr, const std::vector< float > *voxelSize=nullptr) |
|
int | flush () |
|
const Arc * | getArc (const int &arcId) const |
|
const std::vector< int > * | getExtremumList () const |
|
const Node * | getNode (const int &nodeId) const |
|
const Node * | getNodeDownNeighbor (const Node *n, const int &neighborId) const |
|
const Node * | getNodeDownNeighbor (const int &nodeId, const int &neighborId) const |
|
const Node * | getNodeUpNeighbor (const Node *n, const int &neighborId) const |
|
const Node * | getNodeUpNeighbor (const int &nodeId, const int &neighborId) const |
|
double | getNodeScalar (const int &nodeId) const |
|
int | getNumberOfArcs () const |
|
int | getNumberOfSuperArcs () const |
|
int | getNumberOfNodes () const |
|
int | getPersistenceDiagram (std::vector< std::pair< double, double > > &diagram, std::vector< std::pair< std::pair< int, int >, double > > *pairs=nullptr) const |
|
virtual int | getPersistencePairs (std::vector< std::pair< std::pair< int, int >, double > > &pairs, std::vector< std::pair< std::pair< int, int >, double > > *mergePairs=nullptr, std::vector< std::pair< std::pair< int, int >, double > > *splitPairs=nullptr) const |
|
int | getPersistencePlot (std::vector< std::pair< double, int > > &plot, std::vector< std::pair< std::pair< int, int >, double > > *persistencePairs=nullptr) const |
|
const SuperArc * | getSuperArc (const int &superArcId) const |
|
int | getVertexScalar (const int &vertexId, double &scalar) |
|
const SuperArc * | getVertexSuperArc (const int &vertexId) const |
|
int | getVertexSuperArcId (const int &vertexId) const |
|
const Node * | getVertexNode (const int &vertexId) const |
|
int | getVertexNodeId (const int &vertexId) const |
|
bool | isJoinTree () const |
|
bool | isSplitTree () const |
|
bool | isSosLowerThan (const int &vertexId0, const int &vertexId1) const |
|
bool | isSosHigherThan (const int &vertexId0, const int &vertexId1) const |
|
virtual int | maintainRegularVertices (const bool &onOff) |
|
int | moveRegularNode (const Node *n, const Node *oldDown, const Node *oldUp, const Node *newDown, const Node *newUp) |
|
int | print () const |
|
void | setMaximumList (std::vector< int > &maximumList) |
|
void | setMinimumList (std::vector< int > &minimumList) |
|
void | setNumberOfVertices (const int &vertexNumber) |
|
void | setTriangulation (const AbstractTriangulation *const triangulation) |
|
void | setVertexPositions (std::vector< std::vector< double > > *vertexPositions) |
|
void | setVertexScalars (const std::vector< real > *const vertexScalars) |
|
void | setVertexSoSoffsets (std::vector< int > *vertexSoSoffsets) |
|
virtual int | simplify (const double &simplificationThreshold, ContourTreeSimplificationMetric *metric=nullptr) |
|
int | sample (unsigned int samplingLevel=3) |
|
int | computeBarycenters () |
|
int | getSkeletonScalars (const std::vector< double > &scalars, std::vector< std::vector< double > > &skeletonScalars) const |
|
virtual int | computeSkeleton (unsigned int arcResolution=3) |
|
virtual int | smoothSkeleton (unsigned int skeletonSmoothing) |
|
virtual int | clearSkeleton () |
|
| Debug () |
|
| ~Debug () override |
|
virtual int | setDebugLevel (const int &debugLevel) |
|
int | setWrapper (const Wrapper *wrapper) override |
|
int | printMsg (const std::string &msg, const debug::Priority &priority=debug::Priority::INFO, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const |
|
int | printMsg (const std::vector< std::string > &msgs, const debug::Priority &priority=debug::Priority::INFO, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const |
|
int | printErr (const std::string &msg, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cerr) const |
|
int | printWrn (const std::string &msg, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cerr) const |
|
int | printMsg (const std::string &msg, const double &progress, const double &time, const int &threads, const double &memory, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::PERFORMANCE, std::ostream &stream=std::cout) const |
|
int | printMsg (const std::string &msg, const double &progress, const double &time, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::PERFORMANCE, std::ostream &stream=std::cout) const |
|
int | printMsg (const std::string &msg, const double &progress, const double &time, const int &threads, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::PERFORMANCE, std::ostream &stream=std::cout) const |
|
int | printMsg (const std::string &msg, const double &progress, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::PERFORMANCE, std::ostream &stream=std::cout) const |
|
int | printMsg (const std::string &msg, const double &progress, const debug::Priority &priority, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const |
|
int | printMsg (const std::vector< std::vector< std::string > > &rows, const debug::Priority &priority=debug::Priority::INFO, const bool hasHeader=true, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const |
|
int | printMsg (const debug::Separator &separator, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::INFO, std::ostream &stream=std::cout) const |
|
int | printMsg (const debug::Separator &separator, const debug::Priority &priority, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const |
|
int | printMsg (const std::string &msg, const debug::Separator &separator, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::INFO, std::ostream &stream=std::cout) const |
|
void | setDebugMsgPrefix (const std::string &prefix) |
|
| BaseClass () |
|
virtual | ~BaseClass ()=default |
|
int | getThreadNumber () const |
|
virtual int | setThreadNumber (const int threadNumber) |
|
virtual int | setWrapper (const Wrapper *wrapper) |
|
TTK processing package that computes the contour tree of scalar data and more (data segmentation, topological simplification, persistence diagrams, persistence curves, etc.).
- Author
- Julien Tierny julie.nosp@m.n.ti.nosp@m.erny@.nosp@m.lip6.nosp@m..fr
- Date
- July 2011
- Warning
- SimplexId (large large datasets). This class builds and runs with the new triangulation API (SimplexId) but may need adjustments when addressing more than integers (large datasets).
Related publication
"Computing contour trees in all dimensions"
Hamish Carr, Jack Snoeyink, Ulrike Axen
Proc. of ACM SODA 2000.
Definition at line 591 of file ContourTree.h.