59#include <vtkSmartPointer.h>
62#include <ttkContourTreeModule.h>
82 vtkGetMacro(ForceInputOffsetScalarField,
bool);
83 vtkSetMacro(ForceInputOffsetScalarField,
bool);
103 params_.normalize = norm;
107 return params_.normalize;
115 params_.advStats = adv;
119 return params_.advStats;
126 params_.samplingLvl = lvl;
130 return params_.samplingLvl;
134 int preconditionTriangulation();
145 vtkInformationVector **inputVector,
146 vtkInformationVector *outputVector)
override;
Baseclass of all VTK filters that wrap ttk modules.
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
TTK filter for the computation of contour trees.
void SetSuperArcSamplingLevel(int lvl)
control the sampling level of the superarc. By default: 0
bool GetWithSegmentation() const
bool GetWithAdvStats() const
int GetSuperArcSamplingLevel() const
bool GetWithNormalize() const
static ttkContourTree * New()
void SetWithAdvStats(const bool adv)
Compute additional information on the segmentation like the span and size (in nb of vertex) of each r...
void SetWithSegmentation(const bool segm)
control if the output should contains the segmentation information
void SetWithNormalize(const bool norm)
if true, a post process pass will ensure NodesId have a deterministic order