47 #ifndef vtkCellDerivatives_h
48 #define vtkCellDerivatives_h
53 #define VTK_VECTOR_MODE_PASS_VECTORS 0
54 #define VTK_VECTOR_MODE_COMPUTE_GRADIENT 1
55 #define VTK_VECTOR_MODE_COMPUTE_VORTICITY 2
57 #define VTK_TENSOR_MODE_PASS_TENSORS 0
58 #define VTK_TENSOR_MODE_COMPUTE_GRADIENT 1
59 #define VTK_TENSOR_MODE_COMPUTE_STRAIN 2
76 vtkSetMacro(VectorMode,
int);
77 vtkGetMacro(VectorMode,
int);
84 const char *GetVectorModeAsString();
93 vtkSetMacro(TensorMode,
int);
94 vtkGetMacro(TensorMode,
int);
101 const char *GetTensorModeAsString();
void SetTensorModeToComputeGradient()
#define VTK_VECTOR_MODE_PASS_VECTORS
#define VTK_TENSOR_MODE_COMPUTE_GRADIENT
void SetTensorModeToComputeStrain()
#define VTK_TENSOR_MODE_PASS_TENSORS
void SetVectorModeToComputeGradient()
#define VTK_TENSOR_MODE_COMPUTE_STRAIN
a simple class to control print indentation
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
#define VTKFILTERSGENERAL_EXPORT
#define VTK_VECTOR_MODE_COMPUTE_VORTICITY
void SetVectorModeToComputeVorticity()
void SetTensorModeToPassTensors()
#define VTK_VECTOR_MODE_COMPUTE_GRADIENT
void SetVectorModeToPassVectors()
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce output of the same type as input.
static vtkDataSetAlgorithm * New()
compute derivatives of scalars and vectors