51 #ifndef vtkCellDerivatives_h
52 #define vtkCellDerivatives_h
54 #include "vtkFiltersGeneralModule.h"
57 #define VTK_VECTOR_MODE_PASS_VECTORS 0
58 #define VTK_VECTOR_MODE_COMPUTE_GRADIENT 1
59 #define VTK_VECTOR_MODE_COMPUTE_VORTICITY 2
61 #define VTK_TENSOR_MODE_PASS_TENSORS 0
62 #define VTK_TENSOR_MODE_COMPUTE_GRADIENT 1
63 #define VTK_TENSOR_MODE_COMPUTE_STRAIN 2
64 #define VTK_TENSOR_MODE_COMPUTE_GREEN_LAGRANGE_STRAIN 3
86 vtkGetMacro(VectorMode,
int);
106 vtkGetMacro(TensorMode,
int);
compute derivatives of scalars and vectors
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
void SetTensorModeToComputeGradient()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
const char * GetVectorModeAsString()
void SetVectorModeToPassVectors()
void SetTensorModeToPassTensors()
void SetVectorModeToComputeGradient()
void SetTensorModeToComputeGreenLagrangeStrain()
static vtkCellDerivatives * New()
Construct to compute the gradient of the scalars and vectors.
void SetTensorModeToComputeStrain()
const char * GetTensorModeAsString()
~vtkCellDerivatives() override
void SetVectorModeToComputeVorticity()
Superclass for algorithms that produce output of the same type as input.
a simple class to control print indentation
#define VTK_TENSOR_MODE_COMPUTE_GRADIENT
#define VTK_VECTOR_MODE_COMPUTE_VORTICITY
#define VTK_TENSOR_MODE_PASS_TENSORS
#define VTK_VECTOR_MODE_COMPUTE_GRADIENT
#define VTK_TENSOR_MODE_COMPUTE_GREEN_LAGRANGE_STRAIN
#define VTK_VECTOR_MODE_PASS_VECTORS
#define VTK_TENSOR_MODE_COMPUTE_STRAIN
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.