Go to the documentation of this file.
11 #ifndef vtk_m_filter_vector_analysis_Gradient_h
12 #define vtk_m_filter_vector_analysis_Gradient_h
15 #include <vtkm/filter/vector_analysis/vtkm_filter_vector_analysis_export.h>
21 namespace vector_analysis
93 bool ComputePointGradient =
false;
94 bool ComputeDivergence =
false;
95 bool ComputeVorticity =
false;
96 bool ComputeQCriterion =
false;
97 bool StoreGradient =
true;
98 bool RowOrdering =
true;
100 std::string DivergenceName =
"Divergence";
101 std::string GradientsName =
"Gradients";
102 std::string QCriterionName =
"QCriterion";
103 std::string VorticityName =
"Vorticity";
110 #endif // vtk_m_filter_vector_analysis_Gradient_h
Groups connected points that have the same field value.
Definition: Atomic.h:19
bool GetComputeDivergence() const
Definition: Gradient.h:46
const std::string & GetDivergenceName() const
Definition: Gradient.h:82
void SetQCriterionName(const std::string &name)
Definition: Gradient.h:87
void SetComputeDivergence(bool enable)
Add divergence field to the output data.
Definition: Gradient.h:45
void SetComputeQCriterion(bool enable)
Add Q-criterion field to the output data.
Definition: Gradient.h:59
void SetComputeVorticity(bool enable)
Add voriticity/curl field to the output data.
Definition: Gradient.h:52
A general filter for gradient estimation.
Definition: Gradient.h:32
const std::string & GetQCriterionName() const
Definition: Gradient.h:88
void SetVorticityName(const std::string &name)
Definition: Gradient.h:84
void SetComputePointGradient(bool enable)
When this flag is on (default is off), the gradient filter will provide a point based gradients,...
Definition: Gradient.h:38
Definition: FilterField.h:21
bool GetComputeVorticity() const
Definition: Gradient.h:53
bool GetComputeQCriterion() const
Definition: Gradient.h:60
void SetComputeGradient(bool enable)
Add gradient field to the output data.
Definition: Gradient.h:66
bool GetComputePointGradient() const
Definition: Gradient.h:39
bool GetComputeGradient() const
Definition: Gradient.h:67
void SetDivergenceName(const std::string &name)
Definition: Gradient.h:81
void SetRowMajorOrdering()
Make the vector gradient output format be in C Row-major order.
Definition: Gradient.h:79
void SetColumnMajorOrdering()
Make the vector gradient output format be in FORTRAN Column-major order.
Definition: Gradient.h:74
const std::string & GetVorticityName() const
Definition: Gradient.h:85