TTK
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
ttkContourForests Class Reference

TTK VTK-filter that efficiently computes the contour tree of scalar data and more (data segmentation, topological simplification, persistence diagrams, persistence curves, etc.). More...

#include <ttkContourForests.h>

Inheritance diagram for ttkContourForests:
ttkAlgorithm ttk::cf::ContourForests ttk::Debug ttk::cf::ContourForestsTree ttk::BaseClass ttk::cf::MergeTree ttk::Debug ttk::BaseClass

Public Types

typedef ttkAlgorithm Superclass
 
- Public Types inherited from ttkAlgorithm
typedef vtkAlgorithm Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
virtual bool GetForceInputOffsetScalarField ()
 
void SetForceInputOffsetScalarField (bool onOff)
 
void SetTreeType (int tree)
 
void ShowMin (bool state)
 
void ShowMax (bool state)
 
void ShowSaddle1 (bool state)
 
void ShowSaddle2 (bool state)
 
void ShowArc (bool state)
 
void SetArcResolution (int arcResolution)
 
void SetPartitionNumber (int partitionNum)
 
void SetLessPartition (bool l)
 
void SetSkeletonSmoothing (double skeletonSmooth)
 
void SetSimplificationType (int type)
 
void SetSimplificationThreshold (double simplificationThreshold)
 
- Public Member Functions inherited from ttkAlgorithm
virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void UpdateThreadNumber ()
 
void SetThreadNumber (int threadNumber)
 
void SetUseAllCores (bool useAllCores)
 
void SetDebugLevel (int debugLevel)
 
void SetCompactTriangulationCacheSize (float cacheSize)
 
vtkDataArray * GetOptionalArray (const bool &enforceArrayIndex, const int &arrayIndex, const std::string &arrayName, vtkDataSet *const inputData, const int &inputPort=0)
 
vtkDataArray * GetOrderArray (vtkDataSet *const inputData, const int scalarArrayIdx, const int orderArrayIdx=0, const bool enforceOrderArrayIdx=false)
 
ttk::SimplexIdGetIdentifierArrayPtr (const bool &enforceArrayIndex, const int &arrayIndex, const std::string &arrayName, vtkDataSet *const inputData, std::vector< ttk::SimplexId > &spareStorage, const int inputPort=0, const bool printErr=true)
 
ttk::TriangulationGetTriangulation (vtkDataSet *dataSet)
 
int ProcessRequest (vtkInformation *request, vtkInformationVector **inputVectors, vtkInformationVector *outputVector) override
 
vtkDataSet * GetOutput ()
 
vtkDataSet * GetOutput (int)
 
void SetInputData (vtkDataSet *)
 
void SetInputData (int, vtkDataSet *)
 
void AddInputData (vtkDataSet *)
 
void AddInputData (int, vtkDataSet *)
 
template<typename inputType >
int checkEmptyMPIInput (inputType *input)
 This method tests whether the input is a nullptr. If the computation is being done on multiple processes, it is possible that the domain of one process or more is empty, but not others, therefore in that particular case the rest of the filter will not be computed but an error message will not be sent.
 
- Public Member Functions inherited from ttk::Debug
 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)
 
- Public Member Functions inherited from ttk::BaseClass
 BaseClass ()
 
virtual ~BaseClass ()=default
 
int getThreadNumber () const
 
virtual int setThreadNumber (const int threadNumber)
 
virtual int setWrapper (const Wrapper *wrapper)
 

Static Public Member Functions

static ttkContourForestsNew ()
 
static int IsTypeOf (const char *type)
 
static ttkContourForestsSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from ttkAlgorithm
static ttkAlgorithmNew ()
 
static int IsTypeOf (const char *type)
 
static ttkAlgorithmSafeDownCast (vtkObject *o)
 
static std::string GetOrderArrayName (vtkDataArray *const array)
 
static vtkInformationIntegerKey * SAME_DATA_TYPE_AS_INPUT_PORT ()
 

Protected Member Functions

 ttkContourForests ()
 
int FillInputPortInformation (int port, vtkInformation *info) override
 
int FillOutputPortInformation (int port, vtkInformation *info) override
 
int RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
 
void Modified () override
 
bool isCoincident (float p1[], double p2[])
 
bool isCoincident (double p1[], double p2[])
 
void getTree ()
 
void updateTree ()
 
ttk::CriticalType getNodeType (ttk::SimplexId id)
 
ttk::CriticalType getNodeType (ttk::SimplexId id, ttk::cf::TreeType type, ttk::cf::MergeTree *tree)
 
void getCriticalPoints ()
 
void clearTree ()
 
void getSkeleton ()
 
void clearSkeleton ()
 
void getSkeletonNodes ()
 
void getSkeletonArcs ()
 
int getSkeletonScalars (const std::vector< double > &scalars, std::vector< std::vector< double > > &skeletonScalars) const
 
void getSegmentation (vtkDataSet *input)
 
void clearSegmentation ()
 
int sample (unsigned int samplingLevel)
 
int computeBarycenters ()
 
void computeSkeleton (unsigned int arcRes)
 
void smoothSkeleton (unsigned int skeletonSmoothing)
 
void smooth (const ttk::SimplexId idArc, bool order)
 
- Protected Member Functions inherited from ttkAlgorithm
 ttkAlgorithm ()
 
 ~ttkAlgorithm () override
 
void MPIGhostPipelinePreconditioning (vtkDataSet *input)
 
void MPIPipelinePreconditioning (vtkDataSet *input, std::vector< int > &neighbors, ttk::Triangulation *triangulation=nullptr)
 
bool checkGlobalIdValidity (ttk::LongSimplexId *globalIds, ttk::SimplexId simplexNumber, unsigned char *ghost, int *rankArray)
 
int GenerateGlobalIds (vtkDataSet *input, std::unordered_map< ttk::SimplexId, ttk::SimplexId > &vertGtoL, std::vector< int > &neighborRanks)
 
void MPITriangulationPreconditioning (ttk::Triangulation *triangulation, vtkDataSet *input)
 
virtual int RequestDataObject (vtkInformation *request, vtkInformationVector **inputVectors, vtkInformationVector *outputVector)
 
virtual int RequestInformation (vtkInformation *ttkNotUsed(request), vtkInformationVector **ttkNotUsed(inputVectors), vtkInformationVector *ttkNotUsed(outputVector))
 
virtual int RequestUpdateTime (vtkInformation *ttkNotUsed(request), vtkInformationVector **ttkNotUsed(inputVectors), vtkInformationVector *ttkNotUsed(outputVector))
 
virtual int RequestUpdateTimeDependentInformation (vtkInformation *ttkNotUsed(request), vtkInformationVector **ttkNotUsed(inputVectors), vtkInformationVector *ttkNotUsed(outputVector))
 
virtual int RequestUpdateExtent (vtkInformation *ttkNotUsed(request), vtkInformationVector **ttkNotUsed(inputVectors), vtkInformationVector *ttkNotUsed(outputVector))
 
virtual int RequestDataNotGenerated (vtkInformation *ttkNotUsed(request), vtkInformationVector **ttkNotUsed(inputVectors), vtkInformationVector *ttkNotUsed(outputVector))
 
virtual int RequestData (vtkInformation *ttkNotUsed(request), vtkInformationVector **ttkNotUsed(inputVectors), vtkInformationVector *ttkNotUsed(outputVector))
 
int FillInputPortInformation (int ttkNotUsed(port), vtkInformation *ttkNotUsed(info)) override
 
int FillOutputPortInformation (int ttkNotUsed(port), vtkInformation *ttkNotUsed(info)) override
 
- Protected Member Functions inherited from ttk::Debug
int printMsgInternal (const std::string &msg, const std::string &right, const std::string &filler, const debug::Priority &priority=debug::Priority::INFO, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const
 
int printMsgInternal (const std::string &msg, const debug::Priority &priority, const debug::LineMode &lineMode, std::ostream &stream=std::cout) const
 
int welcomeMsg (std::ostream &stream)
 
- Protected Member Functions inherited from ttk::cf::ContourForests
 ContourForests ()
 
 ~ContourForests () override
 
int setThreadNumber (const int nbThread) override
 
void setPartitionNum (int p)
 
void setLessPartition (bool l)
 
std::tuple< SimplexId, SimplexIdgetJTRange (const idPartition &i) const
 
std::tuple< SimplexId, SimplexIdgetSTRange (const idPartition &i) const
 
std::tuple< SimplexId, SimplexIdgetSeedsPos (const idPartition &i) const
 
std::tuple< std::vector< SimplexId >, std::vector< SimplexId > > getOverlaps (const idPartition &i)
 
idPartition vertex2partition (const SimplexId &v)
 
void initInterfaces ()
 
template<typename triangulationType >
void initOverlap (const triangulationType &mesh)
 
void initNbPartitions ()
 
template<typename scalarType , typename triangulationType >
int build (const triangulationType &mesh)
 
template<typename scalarType , typename triangulationType >
int parallelBuild (std::vector< std::vector< ExtendedUnionFind * > > &baseUF_JT, std::vector< std::vector< ExtendedUnionFind * > > &baseUF_ST, const triangulationType &mesh)
 
void stitch ()
 
void stitchTree (const char tree)
 
void unify ()
 
void unifyTree (const char treetype)
 
void printDebug (DebugTimer &timer, const std::string &str)
 
void printVectCT ()
 
- Protected Member Functions inherited from ttk::cf::ContourForestsTree
 ContourForestsTree (const std::shared_ptr< Params > &params, const std::shared_ptr< Scalars > &scalars, idPartition part=nullPartition)
 
 ~ContourForestsTree () override
 
void flush ()
 
MergeTreegetJoinTree ()
 
MergeTreegetSplitTree ()
 
MergeTreegetTree (const TreeType &tt)
 
int combine (const SimplexId &seed0, const SimplexId &seed1, std::list< std::vector< std::pair< SimplexId, bool > > > &storage)
 Combine tree with Natarajan's algorithm.
 
- Protected Member Functions inherited from ttk::cf::MergeTree
bool isLower (const SimplexId &a, const SimplexId &b) const
 
bool isHigher (const SimplexId &a, const SimplexId &b) const
 
 MergeTree (std::shared_ptr< Params > params, std::shared_ptr< Scalars > scalars, TreeType type, idPartition part=nullPartition)
 
 ~MergeTree () override
 
template<typename triangulationType >
void initNbScalars (const triangulationType &tri)
 
void initTreeType ()
 init the type of the current tree from params
 
template<typename scalarType >
void sortInput ()
 if sortedVertices_ is null, define and fill it Also fill the mirror std::vector
 
void flush ()
 clear local data for new computation
 
int setDebugLevel (const int &local_debugLevel) override
 
void setTreeType (const int &local_treeType)
 
void setSimplificationMethod (const int &local_simplifyMethod)
 
void setSimplificationThreshold (const double &local_simplificationThreshold)
 
void setScalars (void *local_scalars)
 
void preconditionTriangulation (AbstractTriangulation *const m, const bool preproc=true)
 
idPartition getPartition () const
 
template<typename scalarType >
const scalarType & getValue (const SimplexId &nodeId) const
 
template<typename scalarType >
void setVertexScalars (scalarType *vals)
 
void setVertexSoSoffsets (const SimplexId *const offsets)
 
idSuperArc getNumberOfSuperArcs () const
 
idSuperArc getNumberOfVisibleArcs () const
 
const std::vector< SuperArc > & getSuperArc () const
 
SuperArcgetSuperArc (const idSuperArc &i)
 
SimplexId getNumberOfVisibleRegularNode (const idSuperArc &sa)
 
void addCrossingAbove (const idSuperArc &sa)
 
idNode getNumberOfNodes () const
 
const std::vector< Node > & getNodes () const
 
NodegetNode (const idNode &nodeId)
 
SimplexId getNumberOfLeaves () const
 
const std::vector< idNode > & getLeaves () const
 
const idNodegetLeave (const idNode &id) const
 
const std::vector< idNode > & getRoots () const
 
void setVert2Tree (decltype(treeData_.vert2tree) const &vect2tree)
 
bool isCorrespondingArc (const SimplexId &val) const
 
bool isCorrespondingNode (const SimplexId &val) const
 
bool isCorrespondingNull (const SimplexId &val) const
 
idNode getCorrespondingNodeId (const SimplexId &val) const
 
idSuperArc getCorrespondingSuperArcId (const SimplexId &val) const
 
SuperArcvertex2SuperArc (const SimplexId &vert)
 
Nodevertex2Node (const SimplexId &vert)
 
void updateCorrespondingArc (const SimplexId &arc, const idSuperArc &val)
 
void updateCorrespondingNode (const SimplexId &vert, const idNode &val)
 
idCorresp idNode2corr (const idNode &id) const
 
idNode corr2idNode (const idCorresp &corr) const
 
template<typename triangulationType >
void processVertex (const SimplexId &vertex, std::vector< ExtendedUnionFind * > &vect_baseUF, const bool overlapB, const bool overlapA, const triangulationType &mesh, DebugTimer &begin)
 
template<typename triangulationType >
int build (std::vector< ExtendedUnionFind * > &vect_baseUF, const std::vector< SimplexId > &overlapBefore, const std::vector< SimplexId > &overlapAfter, SimplexId start, SimplexId end, const SimplexId &posSeed0, const SimplexId &posSeed1, const triangulationType &mesh)
 Compute the merge tree using Carr's algorithm.
 
template<typename scalarType >
SimplexId localSimplify (const SimplexId &podSeed0, const SimplexId &podSeed1, std::list< std::vector< std::pair< SimplexId, bool > > > &storage)
 
template<typename scalarType , typename triangulationType >
SimplexId globalSimplify (const SimplexId posSeed0, const SimplexId posSeed1, std::list< std::vector< std::pair< SimplexId, bool > > > &storage, const triangulationType &mesh)
 
template<typename scalarType >
SimplexId simplifyTree (const SimplexId &posSeed0, const SimplexId &posSeed1, std::list< std::vector< std::pair< SimplexId, bool > > > &storage, const std::vector< std::tuple< SimplexId, SimplexId, scalarType, bool > > &sortedPairs)
 
void markThisArc (std::vector< ExtendedUnionFind * > &ufArray, const idNode &curNodeId, const idSuperArc &mergingArcId, const idNode &parentNodeId)
 
template<typename scalarType , typename triangulationType >
int computePersistencePairs (std::vector< std::tuple< SimplexId, SimplexId, scalarType > > &pairs, const triangulationType &mesh)
 
template<typename scalarType , typename triangulationType >
int computePersistencePairs (std::vector< std::tuple< SimplexId, SimplexId, scalarType, bool > > &pairs, const triangulationType &mesh)
 
template<typename scalarType , typename triangulationType >
void recoverMTPairs (const std::vector< idNode > &sortedNodes, std::vector< std::tuple< SimplexId, SimplexId, scalarType, bool > > &pairsJT, std::vector< std::tuple< SimplexId, SimplexId, scalarType, bool > > &pairsST, const triangulationType &mesh)
 
idSuperArc openSuperArc (const idNode &downNodeId, const bool overlapB, const bool overlapA)
 
idSuperArc makeSuperArc (const idNode &downNodeId, const idNode &upNodeId, const bool overlapB, const bool overlapA, std::pair< SimplexId, bool > *vertexList=nullptr, SimplexId vertexSize=-1)
 
void closeSuperArc (const idSuperArc &superArcId, const idNode &upNodeId, const bool overlapB, const bool overlapA)
 
void hideArc (const idSuperArc &sa)
 
void mergeArc (const idSuperArc &sa, const idSuperArc &recept, const bool changeConnectivity=true)
 
SimplexId insertNodeAboveSeed (const idSuperArc &arc, const std::pair< SimplexId, bool > &seed)
 
SimplexId getVertBelowSeed (const idSuperArc &arc, const std::pair< SimplexId, bool > &seed, const std::vector< idCorresp > &vert2treeOther)
 
bool alreadyExtLinked (const idNode &node, const idPartition &tree, const idNode &treeNode)
 
idSuperArc getNumberOfExternalDownArcs (const idNode &node)
 
void removeHiddenDownArcs (const idNode &n)
 
void removeInternalDownArcs (const idNode &node)
 
idSuperArc getNumberOfVisibleArcs (const idNode &n)
 
idSuperArc getNumberOfUnmergedDownArcs (const idNode &n)
 
idNode makeNode (const SimplexId &vertexId, const SimplexId &linked=nullVertex)
 
idNode makeNode (const Node *const n, const SimplexId &linked=nullVertex)
 
idSuperArc insertNode (Node *node, const bool segment)
 
idSuperArc reverseInsertNode (Node *node, const bool segment)
 
NodegetDownNode (const SuperArc *a)
 
NodegetUpNode (const SuperArc *a)
 
idNode getParent (const idNode &n)
 
void delNode (const idNode &node, std::list< std::vector< std::pair< SimplexId, bool > > > &storage, const std::pair< SimplexId, bool > *mv=nullptr, const SimplexId &nbm=0)
 
void hideNode (const idNode &node)
 
std::vector< idNodegetNodeNeighbors (const idNode &node)
 
std::vector< idNodegetNodeUpNeighbors (const idNode &n)
 
std::vector< idNodegetNodeDownNeighbors (const idNode &n)
 
void hideAndClearArcsAbove (const idNode &baseNode)
 
void hideAndClearArcsBelow (const idNode &baseNode, const SimplexId &seed)
 
idSuperArc hideAndClearLeadingTo (const idNode &baseNode, const SimplexId &v)
 
void updateSegmentation ()
 
void parallelUpdateSegmentation (const bool ct=false)
 
void parallelInitNodeValence (const int nbThreadValence)
 
void printTree2 ()
 
std::string printArc (const idSuperArc &a)
 
std::string printNode (const idNode &n)
 
std::shared_ptr< MergeTreeclone () const
 
void clone (const MergeTree *mt)
 
void doSwap (MergeTree *mt)
 

Additional Inherited Members

- Protected Attributes inherited from ttkAlgorithm
float CompactTriangulationCacheSize {0.2f}
 
- Protected Attributes inherited from ttk::Debug
int debugLevel_
 
std::string debugMsgPrefix_
 
std::string debugMsgNamePrefix_
 
- Protected Attributes inherited from ttk::BaseClass
bool lastObject_
 
int threadNumber_
 
Wrapperwrapper_
 
- Protected Attributes inherited from ttk::cf::ContourForestsTree
MergeTree jt_
 
MergeTree st_
 
- Protected Attributes inherited from ttk::cf::MergeTree
std::shared_ptr< Paramsparams_
 
std::shared_ptr< Scalarsscalars_
 
TreeData treeData_
 
std::list< ExtendedUnionFindstorageEUF_
 
- Static Protected Attributes inherited from ttk::Debug
static COMMON_EXPORTS debug::LineMode lastLineMode = ttk::debug::LineMode::NEW
 

Detailed Description

TTK VTK-filter that efficiently computes the contour tree of scalar data and more (data segmentation, topological simplification, persistence diagrams, persistence curves, etc.).

Author
Guillaume Favelier guill.nosp@m.aume.nosp@m..fave.nosp@m.lier.nosp@m.@lip6.nosp@m..fr.
Julien Tierny julie.nosp@m.n.ti.nosp@m.erny@.nosp@m.lip6.nosp@m..fr
Date
February 2016

This filter takes a scalar field attached as point data to a geometry (either 2D or 3D, either regular grids or triangulations) and computes its contour tree. Several outputs are produced to encode the nodes of the tree (as points in 3D space), the arcs of the tree and the data segmentation.

Parameters
InputInput scalar field, either 2D or 3D, either regular grid or triangulation (vtkDataSet)
Output0Output nodes (vtkPolyData)
Output1Output arcs (vtkPolyData)
Output2Output data segmentation (vtkUnstructuredGrid)
Output3Output persistence diagram (vtkUnstructuredGrid)
Output4Output persistence curve (vtkUnstructuredGrid)

This filter can be used as any other VTK filter (for instance, by using the sequence of calls SetInputData(), Update(), GetOutput()).

See the related ParaView example state files for usage examples within a VTK pipeline.

Related publication
"Contour Forests: Fast Multi-threaded Augmented Contour Trees"
Charles Gueunet, Pierre Fortin, Julien Jomier, Julien Tierny
Proc. of IEEE LDAV 2016.

See also
ttk::cf::ContourForests

Definition at line 58 of file ttkContourForests.h.

Member Typedef Documentation

◆ Superclass

Definition at line 63 of file ttkContourForests.h.

Constructor & Destructor Documentation

◆ ttkContourForests()

ttkContourForests::ttkContourForests ( )
protected

Definition at line 26 of file ttkContourForests.cpp.

Member Function Documentation

◆ clearSegmentation()

void ttkContourForests::clearSegmentation ( )
protected

Definition at line 45 of file ttkContourForests.cpp.

◆ clearSkeleton()

void ttkContourForests::clearSkeleton ( )
protected

Definition at line 35 of file ttkContourForests.cpp.

◆ clearTree()

void ttkContourForests::clearTree ( )
protected

Definition at line 49 of file ttkContourForests.cpp.

◆ computeBarycenters()

int ttkContourForests::computeBarycenters ( )
protected

Definition at line 761 of file ttkContourForests.cpp.

◆ computeSkeleton()

void ttkContourForests::computeSkeleton ( unsigned int  arcRes)
protected

Definition at line 809 of file ttkContourForests.cpp.

◆ FillInputPortInformation()

int ttkContourForests::FillInputPortInformation ( int  port,
vtkInformation *  info 
)
overrideprotected

Definition at line 53 of file ttkContourForests.cpp.

◆ FillOutputPortInformation()

int ttkContourForests::FillOutputPortInformation ( int  port,
vtkInformation *  info 
)
overrideprotected

Definition at line 62 of file ttkContourForests.cpp.

◆ GetClassName()

virtual const char * ttkContourForests::GetClassName ( )
virtual

Reimplemented from ttkAlgorithm.

◆ getCriticalPoints()

void ttkContourForests::getCriticalPoints ( )
protected

Definition at line 659 of file ttkContourForests.cpp.

◆ GetForceInputOffsetScalarField()

virtual bool ttkContourForests::GetForceInputOffsetScalarField ( )
virtual

◆ getNodeType() [1/2]

CriticalType ttkContourForests::getNodeType ( ttk::SimplexId  id)
protected

Definition at line 622 of file ttkContourForests.cpp.

◆ getNodeType() [2/2]

CriticalType ttkContourForests::getNodeType ( ttk::SimplexId  id,
ttk::cf::TreeType  type,
ttk::cf::MergeTree tree 
)
protected

Definition at line 627 of file ttkContourForests.cpp.

◆ getSegmentation()

void ttkContourForests::getSegmentation ( vtkDataSet *  input)
protected

Definition at line 913 of file ttkContourForests.cpp.

◆ getSkeleton()

void ttkContourForests::getSkeleton ( )
protected

Definition at line 886 of file ttkContourForests.cpp.

◆ getSkeletonArcs()

void ttkContourForests::getSkeletonArcs ( )
protected

Definition at line 215 of file ttkContourForests.cpp.

◆ getSkeletonNodes()

void ttkContourForests::getSkeletonNodes ( )
protected

Definition at line 546 of file ttkContourForests.cpp.

◆ getSkeletonScalars()

int ttkContourForests::getSkeletonScalars ( const std::vector< double > &  scalars,
std::vector< std::vector< double > > &  skeletonScalars 
) const
protected

Definition at line 473 of file ttkContourForests.cpp.

◆ getTree()

void ttkContourForests::getTree ( )
protected

Definition at line 1069 of file ttkContourForests.cpp.

◆ IsA()

virtual int ttkContourForests::IsA ( const char *  type)
virtual

Reimplemented from ttkAlgorithm.

◆ isCoincident() [1/2]

bool ttkContourForests::isCoincident ( double  p1[],
double  p2[] 
)
protected

Definition at line 204 of file ttkContourForests.cpp.

◆ isCoincident() [2/2]

bool ttkContourForests::isCoincident ( float  p1[],
double  p2[] 
)
protected

Definition at line 193 of file ttkContourForests.cpp.

◆ IsTypeOf()

static int ttkContourForests::IsTypeOf ( const char *  type)
static

◆ Modified()

void ttkContourForests::Modified ( )
overrideprotected

Definition at line 74 of file ttkContourForests.cpp.

◆ New()

static ttkContourForests * ttkContourForests::New ( )
static

◆ RequestData()

int ttkContourForests::RequestData ( vtkInformation *  request,
vtkInformationVector **  inputVector,
vtkInformationVector *  outputVector 
)
overrideprotected

Definition at line 1116 of file ttkContourForests.cpp.

◆ SafeDownCast()

static ttkContourForests * ttkContourForests::SafeDownCast ( vtkObject *  o)
static

◆ sample()

int ttkContourForests::sample ( unsigned int  samplingLevel)
protected

Definition at line 698 of file ttkContourForests.cpp.

◆ SetArcResolution()

void ttkContourForests::SetArcResolution ( int  arcResolution)

Definition at line 143 of file ttkContourForests.cpp.

◆ SetForceInputOffsetScalarField()

void ttkContourForests::SetForceInputOffsetScalarField ( bool  onOff)

Definition at line 80 of file ttkContourForests.cpp.

◆ SetLessPartition()

void ttkContourForests::SetLessPartition ( bool  l)

Definition at line 161 of file ttkContourForests.cpp.

◆ SetPartitionNumber()

void ttkContourForests::SetPartitionNumber ( int  partitionNum)

Definition at line 152 of file ttkContourForests.cpp.

◆ SetSimplificationThreshold()

void ttkContourForests::SetSimplificationThreshold ( double  simplificationThreshold)

Definition at line 180 of file ttkContourForests.cpp.

◆ SetSimplificationType()

void ttkContourForests::SetSimplificationType ( int  type)

Definition at line 175 of file ttkContourForests.cpp.

◆ SetSkeletonSmoothing()

void ttkContourForests::SetSkeletonSmoothing ( double  skeletonSmooth)

Definition at line 166 of file ttkContourForests.cpp.

◆ SetTreeType()

void ttkContourForests::SetTreeType ( int  tree)

Definition at line 91 of file ttkContourForests.cpp.

◆ ShowArc()

void ttkContourForests::ShowArc ( bool  state)

Definition at line 136 of file ttkContourForests.cpp.

◆ ShowMax()

void ttkContourForests::ShowMax ( bool  state)

Definition at line 115 of file ttkContourForests.cpp.

◆ ShowMin()

void ttkContourForests::ShowMin ( bool  state)

Definition at line 108 of file ttkContourForests.cpp.

◆ ShowSaddle1()

void ttkContourForests::ShowSaddle1 ( bool  state)

Definition at line 122 of file ttkContourForests.cpp.

◆ ShowSaddle2()

void ttkContourForests::ShowSaddle2 ( bool  state)

Definition at line 129 of file ttkContourForests.cpp.

◆ smooth()

void ttkContourForests::smooth ( const ttk::SimplexId  idArc,
bool  order 
)
protected

Definition at line 824 of file ttkContourForests.cpp.

◆ smoothSkeleton()

void ttkContourForests::smoothSkeleton ( unsigned int  skeletonSmoothing)
protected

Definition at line 814 of file ttkContourForests.cpp.

◆ updateTree()

void ttkContourForests::updateTree ( )
protected

Definition at line 1093 of file ttkContourForests.cpp.


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