80#include <vtkSmartPointer.h>
83#include <ttkMergeTreeModule.h>
108 vtkGetMacro(ForceInputOffsetScalarField,
bool);
109 vtkSetMacro(ForceInputOffsetScalarField,
bool);
114 vtkGetMacro(Backend,
int);
115 vtkSetMacro(Backend,
int);
143 params_.normalize = norm;
147 return params_.normalize;
155 params_.advStats = adv;
159 return params_.advStats;
166 params_.samplingLvl = lvl;
170 return params_.samplingLvl;
180 int preconditionTriangulation();
186 vtkInformationVector **inputVector,
187 vtkInformationVector *outputVector)
override;
190 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...