64#include <ttkPathCompressionModule.h>
73class TTKPATHCOMPRESSION_EXPORT ttkPathCompression
78 static ttkPathCompression *
New();
80 vtkTypeMacro(ttkPathCompression, ttkAlgorithm);
82 vtkSetMacro(ComputeAscendingSegmentation,
bool);
83 vtkGetMacro(ComputeAscendingSegmentation,
bool);
85 vtkSetMacro(ComputeDescendingSegmentation,
bool);
86 vtkGetMacro(ComputeDescendingSegmentation,
bool);
88 vtkSetMacro(ComputeMSSegmentationHash,
bool);
89 vtkGetMacro(ComputeMSSegmentationHash,
bool);
91 vtkSetMacro(ForceInputOffsetScalarField,
bool);
92 vtkGetMacro(ForceInputOffsetScalarField,
bool);
95 template <
typename triangulationType>
96 int dispatch(
const SimplexId *
const inputOffsets,
97 const triangulationType &triangulation);
104 vtkInformationVector **inputVector,
105 vtkInformationVector *outputVector)
override;
108 bool ForceInputOffsetScalarField{};
109 OutputSegmentation segmentations_{};
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
static ttkAlgorithm * New()
int FillOutputPortInformation(int ttkNotUsed(port), vtkInformation *ttkNotUsed(info)) override
TTK processing package for the computation of Morse-Smale segmentations using Path Compression.
int SimplexId
Identifier type for simplices of any dimension.