77#include <vtkSmartPointer.h>
80#include <ttkMergeTreeModule.h>
105 vtkGetMacro(ForceInputOffsetScalarField,
bool);
106 vtkSetMacro(ForceInputOffsetScalarField,
bool);
111 vtkGetMacro(Backend,
int);
112 vtkSetMacro(Backend,
int);
140 params_.normalize = norm;
144 return params_.normalize;
152 params_.advStats = adv;
156 return params_.advStats;
163 params_.samplingLvl = lvl;
167 return params_.samplingLvl;
177 int preconditionTriangulation();
183 vtkInformationVector **inputVector,
184 vtkInformationVector *outputVector)
override;
187 int Backend{(int)BACKEND::FTM};
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 merge trees.
static ttkMergeTree * New()
void SetTreeType(const int type)
the type of tree to compute (Join, Split, Contour, JoinSplit)
int GetSuperArcSamplingLevel() const
void SetWithNormalize(const bool norm)
if true, a post process pass will ensure NodesId have a deterministic order
bool GetWithAdvStats() const
void SetWithSegmentation(const bool segm)
control if the output should contains the segmentation information
bool GetWithNormalize() const
bool GetWithSegmentation() const
void SetSuperArcSamplingLevel(int lvl)
control the sampling level of the superarc. By default: 0
void SetWithAdvStats(const bool adv)
Compute additional information on the segmentation like the span and size (in nb of vertex) of each r...