42#include <ttkDiscreteGradientModule.h>
50class TTKDISCRETEGRADIENT_EXPORT ttkDiscreteGradient
55 static ttkDiscreteGradient *
New();
56 vtkTypeMacro(ttkDiscreteGradient, ttkAlgorithm);
58 vtkSetMacro(ForceInputOffsetScalarField,
bool);
59 vtkGetMacro(ForceInputOffsetScalarField,
bool);
61 vtkSetMacro(ComputeGradientGlyphs,
bool);
62 vtkGetMacro(ComputeGradientGlyphs,
bool);
64 vtkSetMacro(Backend,
int);
65 vtkGetMacro(Backend,
int);
67 vtkSetMacro(StochasticGradientSeed,
unsigned int);
68 vtkGetMacro(StochasticGradientSeed,
unsigned int);
71 ttkDiscreteGradient();
76 vtkInformationVector **inputVector,
77 vtkInformationVector *outputVector)
override;
80 template <
typename scalarType,
typename triangulationType>
81 int fillCriticalPoints(vtkPolyData *output,
82 vtkDataArray *
const inputScalars,
83 const triangulationType &triangulation);
85 template <
typename triangulationType>
86 int fillGradientGlyphs(vtkPolyData *
const outputGradientGlyphs,
87 const triangulationType &triangulation);
89 bool ForceInputOffsetScalarField{
false};
90 bool ComputeGradientGlyphs{
true};
92 unsigned int StochasticGradientSeed{0};
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 discreteGradient processing package.