47 #ifndef __vtkCellDerivatives_h
48 #define __vtkCellDerivatives_h
52 #define VTK_VECTOR_MODE_PASS_VECTORS 0
53 #define VTK_VECTOR_MODE_COMPUTE_GRADIENT 1
54 #define VTK_VECTOR_MODE_COMPUTE_VORTICITY 2
56 #define VTK_TENSOR_MODE_PASS_TENSORS 0
57 #define VTK_TENSOR_MODE_COMPUTE_GRADIENT 1
58 #define VTK_TENSOR_MODE_COMPUTE_STRAIN 2
75 vtkSetMacro(VectorMode,
int);
76 vtkGetMacro(VectorMode,
int);
83 const char *GetVectorModeAsString();
92 vtkSetMacro(TensorMode,
int);
93 vtkGetMacro(TensorMode,
int);
100 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 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