42#include <ttkDiscreteGradientModule.h>
58 vtkSetMacro(ForceInputOffsetScalarField,
bool);
59 vtkGetMacro(ForceInputOffsetScalarField,
bool);
61 vtkSetMacro(ComputeGradientGlyphs,
bool);
62 vtkGetMacro(ComputeGradientGlyphs,
bool);
70 vtkInformationVector **inputVector,
71 vtkInformationVector *outputVector)
override;
74 template <
typename scalarType,
typename triangulationType>
75 int fillCriticalPoints(vtkPolyData *output,
76 vtkDataArray *
const inputScalars,
77 const triangulationType &triangulation);
79 template <
typename triangulationType>
80 int fillGradientGlyphs(vtkPolyData *
const outputGradientGlyphs,
81 const triangulationType &triangulation);
83 bool ForceInputOffsetScalarField{
false};
84 bool ComputeGradientGlyphs{
true};
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 discreteGradient processing package.
static ttkDiscreteGradient * New()
TTK discreteGradient processing package.