39 #ifndef vtkGradientFilter_h
40 #define vtkGradientFilter_h
42 #include "vtkFiltersGeneralModule.h"
60 virtual void SetInputScalars(
int fieldAssociation,
const char *
name);
61 virtual void SetInputScalars(
int fieldAssociation,
int fieldAttributeType);
71 vtkSetStringMacro(ResultArrayName);
81 vtkSetStringMacro(DivergenceArrayName);
91 vtkSetStringMacro(VorticityArrayName);
101 vtkSetStringMacro(QCriterionArrayName);
114 vtkGetMacro(FasterApproximation,
int);
126 vtkGetMacro(ComputeGradient,
int);
138 vtkGetMacro(ComputeDivergence,
int);
150 vtkGetMacro(ComputeVorticity,
int);
163 vtkGetMacro(ComputeQCriterion,
int);
173 vtkInformationVector *) VTK_OVERRIDE;
174 int RequestData(vtkInformation *, vtkInformationVector **,
175 vtkInformationVector *) VTK_OVERRIDE;
182 virtual
int ComputeUnstructuredGridGradient(
184 bool computeVorticity,
bool computeQCriterion,
bool computeDivergence,
192 virtual
int ComputeRegularGridGradient(
193 vtkDataArray* Array,
int fieldAssociation,
bool computeVorticity,
194 bool computeQCriterion,
bool computeDivergence,
vtkDataSet* output);
200 char *ResultArrayName;
206 char *DivergenceArrayName;
212 char *VorticityArrayName;
218 char *QCriterionArrayName;
229 int FasterApproximation;
242 int ComputeDivergence;
249 int ComputeQCriterion;
256 int ComputeVorticity;
263 #endif //_vtkGradientFilter_h
abstract class to specify dataset behavior
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
abstract superclass for arrays of numeric data
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
A general filter for gradient estimation.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
Superclass for algorithms that produce output of the same type as input.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
static vtkDataSetAlgorithm * New()