110#include <ttkMorseSmaleComplexModule.h>
127 vtkSetMacro(ForceInputOffsetScalarField,
bool);
128 vtkGetMacro(ForceInputOffsetScalarField,
bool);
130 vtkSetMacro(ComputeCriticalPoints,
bool);
131 vtkGetMacro(ComputeCriticalPoints,
bool);
133 vtkSetMacro(ComputeAscendingSeparatrices1,
bool);
134 vtkGetMacro(ComputeAscendingSeparatrices1,
bool);
136 vtkSetMacro(ComputeDescendingSeparatrices1,
bool);
137 vtkGetMacro(ComputeDescendingSeparatrices1,
bool);
139 vtkSetMacro(ComputeSaddleConnectors,
bool);
140 vtkGetMacro(ComputeSaddleConnectors,
bool);
142 vtkSetMacro(ComputeAscendingSeparatrices2,
bool);
143 vtkGetMacro(ComputeAscendingSeparatrices2,
bool);
145 vtkSetMacro(ComputeDescendingSeparatrices2,
bool);
146 vtkGetMacro(ComputeDescendingSeparatrices2,
bool);
148 vtkSetMacro(ComputeAscendingSegmentation,
bool);
149 vtkGetMacro(ComputeAscendingSegmentation,
bool);
151 vtkSetMacro(ComputeDescendingSegmentation,
bool);
152 vtkGetMacro(ComputeDescendingSegmentation,
bool);
154 vtkSetMacro(ComputeFinalSegmentation,
bool);
155 vtkGetMacro(ComputeFinalSegmentation,
bool);
157 vtkSetMacro(IterationThreshold,
int);
158 vtkGetMacro(IterationThreshold,
int);
160 vtkSetMacro(ReturnSaddleConnectors,
int);
161 vtkGetMacro(ReturnSaddleConnectors,
int);
163 vtkSetMacro(SaddleConnectorsPersistenceThreshold,
double);
164 vtkGetMacro(SaddleConnectorsPersistenceThreshold,
double);
166 vtkSetMacro(ThresholdIsAbsolute,
bool);
167 vtkGetMacro(ThresholdIsAbsolute,
bool);
170 template <
typename scalarType,
typename triangulationType>
171 int dispatch(vtkDataArray *
const inputScalars,
172 vtkPolyData *
const outputCriticalPoints,
173 vtkPolyData *
const outputSeparatrices1,
174 vtkPolyData *
const outputSeparatrices2,
175 const SimplexId *
const inputOffsets,
176 const triangulationType &triangulation);
183 vtkInformationVector **inputVector,
184 vtkInformationVector *outputVector)
override;
187 bool ForceInputOffsetScalarField{};
188 int IterationThreshold{-1};
189 OutputCriticalPoints criticalPoints_{};
190 Output1Separatrices separatrices1_{};
191 Output2Separatrices separatrices2_{};
192 OutputManifold 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
int FillOutputPortInformation(int ttkNotUsed(port), vtkInformation *ttkNotUsed(info)) override
TTK VTK-filter that wraps the morseSmaleComplex processing package.
static ttkMorseSmaleComplex * New()
TTK processing package for the computation of Morse-Smale complexes.