36 #ifndef vtkGradientFilter_h
37 #define vtkGradientFilter_h
39 #include "vtkFiltersGeneralModule.h"
57 virtual void SetInputScalars(
int fieldAssociation,
const char *
name);
58 virtual void SetInputScalars(
int fieldAssociation,
int fieldAttributeType);
68 vtkSetStringMacro(ResultArrayName);
78 vtkSetStringMacro(DivergenceArrayName);
88 vtkSetStringMacro(VorticityArrayName);
98 vtkSetStringMacro(QCriterionArrayName);
111 vtkGetMacro(FasterApproximation,
int);
123 vtkGetMacro(ComputeGradient,
int);
135 vtkGetMacro(ComputeDivergence,
int);
147 vtkGetMacro(ComputeVorticity,
int);
160 vtkGetMacro(ComputeQCriterion,
int);
170 vtkInformationVector *) VTK_OVERRIDE;
171 int RequestData(vtkInformation *, vtkInformationVector **,
172 vtkInformationVector *) VTK_OVERRIDE;
179 virtual
int ComputeUnstructuredGridGradient(
181 bool computeVorticity,
bool computeQCriterion,
bool computeDivergence,
189 virtual
int ComputeRegularGridGradient(
190 vtkDataArray* Array,
int fieldAssociation,
bool computeVorticity,
191 bool computeQCriterion,
bool computeDivergence,
vtkDataSet* output);
197 char *ResultArrayName;
203 char *DivergenceArrayName;
209 char *VorticityArrayName;
215 char *QCriterionArrayName;
226 int FasterApproximation;
239 int ComputeDivergence;
246 int ComputeQCriterion;
253 int ComputeVorticity;
260 #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()