39 #ifndef vtkCellDerivatives_h
40 #define vtkCellDerivatives_h
43 #include "vtkFiltersGeneralModule.h"
45 #define VTK_VECTOR_MODE_PASS_VECTORS 0
46 #define VTK_VECTOR_MODE_COMPUTE_GRADIENT 1
47 #define VTK_VECTOR_MODE_COMPUTE_VORTICITY 2
49 #define VTK_TENSOR_MODE_PASS_TENSORS 0
50 #define VTK_TENSOR_MODE_COMPUTE_GRADIENT 1
51 #define VTK_TENSOR_MODE_COMPUTE_STRAIN 2
52 #define VTK_TENSOR_MODE_COMPUTE_GREEN_LAGRANGE_STRAIN 3
54 VTK_ABI_NAMESPACE_BEGIN
79 vtkSetMacro(VectorMode,
int);
80 vtkGetMacro(VectorMode,
int);
84 const char* GetVectorModeAsString();
96 vtkSetMacro(TensorMode,
int);
97 vtkGetMacro(TensorMode,
int);
105 const char* GetTensorModeAsString();
121 VTK_ABI_NAMESPACE_END
void SetTensorModeToComputeGradient()
Control how the filter works to generate tensor cell data.
#define VTK_VECTOR_MODE_PASS_VECTORS
#define VTK_TENSOR_MODE_COMPUTE_GRADIENT
void SetTensorModeToComputeStrain()
Control how the filter works to generate tensor cell data.
void SetTensorModeToComputeGreenLagrangeStrain()
Control how the filter works to generate tensor cell data.
#define VTK_TENSOR_MODE_PASS_TENSORS
void SetVectorModeToComputeGradient()
Control how the filter works to generate vector cell data.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
#define VTK_TENSOR_MODE_COMPUTE_STRAIN
a simple class to control print indentation
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
#define VTK_TENSOR_MODE_COMPUTE_GREEN_LAGRANGE_STRAIN
#define VTK_VECTOR_MODE_COMPUTE_VORTICITY
void SetVectorModeToComputeVorticity()
Control how the filter works to generate vector cell data.
void SetTensorModeToPassTensors()
Control how the filter works to generate tensor cell data.
#define VTK_VECTOR_MODE_COMPUTE_GRADIENT
void SetVectorModeToPassVectors()
Control how the filter works to generate vector cell data.
Superclass for algorithms that produce output of the same type as input.
static vtkDataSetAlgorithm * New()
compute derivatives of scalars and vectors