58#include <vtkDataArray.h>
61#include <ttkReebGraphModule.h>
68 vtkSetMacro(ForceInputOffsetScalarField,
bool);
69 vtkGetMacro(ForceInputOffsetScalarField,
bool);
76 params_.singleSweep = ss;
80 return params_.singleSweep;
99 params_.normalize = norm;
103 return params_.normalize;
110 params_.samplingLvl = lvl;
114 return params_.samplingLvl;
119 vtkUnstructuredGrid *outputSkeletonNodes);
124 vtkUnstructuredGrid *skeletonArcs,
130 vtkUnstructuredGrid *skeletonArcs,
136 vtkUnstructuredGrid *skeletonArcs,
140 vtkUnstructuredGrid *outputSkeletonArcs);
143 vtkDataSet *outputSegmentation);
145 template <
typename VTK_TT,
typename TTK_TT>
151 void identify(vtkDataSet *ds)
const;
156 vtkInformationVector **inputVector,
157 vtkInformationVector *outputVector)
override;
160 bool ForceInputOffsetScalarField{};
165 vtkDataArray *inputScalars_{};
166 vtkDataArray *offsets_{};
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 VTK-filter for the computation of Reeb Graphs.
bool GetSingleSweep() const
void SetWithSegmentation(const bool segm)
control if the output should contains the segmentation information
void SetSingleSweep(const bool ss)
control whether the computation should start from min and max (default) or use a single sweep startin...
int GetSuperArcSamplingLevel() const
void SetWithNormalize(const bool norm)
if set to true, a post processing pass will be used to enforce consistent node ids between executions
bool GetWithNormalize() const
void SetSampling(int lvl)
control the sampling level of the superarcs
static ttkReebGraph * New()
bool GetWithSegmentation() const
Triangulation is a class that provides time and memory efficient traversal methods on triangulations ...
TTK FTRGraph graph skeleton.
long unsigned int idSuperArc
SuperArc index in vect_superArcs_.