38 #ifndef __vtkGradientFilter_h
39 #define __vtkGradientFilter_h
41 #include "vtkFiltersGeneralModule.h"
42 #include "vtkDataSetAlgorithm.h"
48 virtual void PrintSelf(ostream &os, vtkIndent indent);
58 virtual void SetInputScalars(
int fieldAssociation,
const char *name);
59 virtual void SetInputScalars(
int fieldAssociation,
int fieldAttributeType);
65 vtkGetStringMacro(ResultArrayName);
66 vtkSetStringMacro(ResultArrayName);
73 vtkGetStringMacro(VorticityArrayName);
74 vtkSetStringMacro(VorticityArrayName);
81 vtkGetStringMacro(QCriterionArrayName);
82 vtkSetStringMacro(QCriterionArrayName);
93 vtkGetMacro(FasterApproximation,
int);
94 vtkSetMacro(FasterApproximation,
int);
95 vtkBooleanMacro(FasterApproximation,
int);
101 vtkSetMacro(ComputeVorticity,
int);
102 vtkGetMacro(ComputeVorticity,
int);
103 vtkBooleanMacro(ComputeVorticity,
int);
112 vtkSetMacro(ComputeQCriterion,
int);
113 vtkGetMacro(ComputeQCriterion,
int);
114 vtkBooleanMacro(ComputeQCriterion,
int);
121 virtual int RequestUpdateExtent(vtkInformation *,
122 vtkInformationVector **,
123 vtkInformationVector *);
124 virtual int RequestData(vtkInformation *, vtkInformationVector **,
125 vtkInformationVector *);
131 virtual int ComputeUnstructuredGridGradient(
132 vtkDataArray* Array,
int fieldAssociation, vtkDataSet* input,
133 bool computeVorticity,
bool computeQCriterion, vtkDataSet* output);
140 virtual int ComputeRegularGridGradient(
141 vtkDataArray* Array,
int fieldAssociation,
bool computeVorticity,
142 bool computeQCriterion, vtkDataSet* output);
181 #endif //_vtkGradientFilter_h
char * QCriterionArrayName
A general filter for gradient estimation.
char * VorticityArrayName