38 #ifndef vtkGradientFilter_h
39 #define vtkGradientFilter_h
58 virtual void SetInputScalars(
int fieldAssociation,
const char *
name);
59 virtual void SetInputScalars(
int fieldAssociation,
int fieldAttributeType);
66 vtkGetStringMacro(ResultArrayName);
67 vtkSetStringMacro(ResultArrayName);
74 vtkGetStringMacro(DivergenceArrayName);
75 vtkSetStringMacro(DivergenceArrayName);
82 vtkGetStringMacro(VorticityArrayName);
83 vtkSetStringMacro(VorticityArrayName);
90 vtkGetStringMacro(QCriterionArrayName);
91 vtkSetStringMacro(QCriterionArrayName);
102 vtkGetMacro(FasterApproximation,
int);
103 vtkSetMacro(FasterApproximation,
int);
104 vtkBooleanMacro(FasterApproximation,
int);
111 vtkSetMacro(ComputeGradient,
int);
112 vtkGetMacro(ComputeGradient,
int);
113 vtkBooleanMacro(ComputeGradient,
int);
121 vtkSetMacro(ComputeDivergence,
int);
122 vtkGetMacro(ComputeDivergence,
int);
123 vtkBooleanMacro(ComputeDivergence,
int);
131 vtkSetMacro(ComputeVorticity,
int);
132 vtkGetMacro(ComputeVorticity,
int);
133 vtkBooleanMacro(ComputeVorticity,
int);
142 vtkSetMacro(ComputeQCriterion,
int);
143 vtkGetMacro(ComputeQCriterion,
int);
144 vtkBooleanMacro(ComputeQCriterion,
int);
161 virtual int ComputeUnstructuredGridGradient(
163 bool computeVorticity,
bool computeQCriterion,
bool computeDivergence,
171 virtual int ComputeRegularGridGradient(
172 vtkDataArray* Array,
int fieldAssociation,
bool computeVorticity,
173 bool computeQCriterion,
bool computeDivergence,
vtkDataSet* output);
225 #endif //_vtkGradientFilter_h
abstract class to specify dataset behavior
char * DivergenceArrayName
char * QCriterionArrayName
a simple class to control print indentation
abstract superclass for arrays of numeric data
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
#define VTKFILTERSGENERAL_EXPORT
A general filter for gradient estimation.
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce output of the same type as input.
char * VorticityArrayName
static vtkDataSetAlgorithm * New()