Go to the documentation of this file.
48 #ifndef vtkCellDerivatives_h
49 #define vtkCellDerivatives_h
51 #include "vtkFiltersGeneralModule.h"
54 #define VTK_VECTOR_MODE_PASS_VECTORS 0
55 #define VTK_VECTOR_MODE_COMPUTE_GRADIENT 1
56 #define VTK_VECTOR_MODE_COMPUTE_VORTICITY 2
58 #define VTK_TENSOR_MODE_PASS_TENSORS 0
59 #define VTK_TENSOR_MODE_COMPUTE_GRADIENT 1
60 #define VTK_TENSOR_MODE_COMPUTE_STRAIN 2
61 #define VTK_TENSOR_MODE_COMPUTE_GREEN_LAGRANGE_STRAIN 3
82 vtkSetMacro(VectorMode,
int);
83 vtkGetMacro(VectorMode,
int);
90 const char *GetVectorModeAsString();
102 vtkSetMacro(TensorMode,
int);
103 vtkGetMacro(TensorMode,
int);
112 const char *GetTensorModeAsString();
#define VTK_TENSOR_MODE_COMPUTE_STRAIN
#define VTK_TENSOR_MODE_COMPUTE_GREEN_LAGRANGE_STRAIN
#define VTK_VECTOR_MODE_COMPUTE_VORTICITY
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
#define VTK_VECTOR_MODE_COMPUTE_GRADIENT
void SetTensorModeToComputeStrain()
Superclass for algorithms that produce output of the same type as input.
void SetTensorModeToComputeGreenLagrangeStrain()
a simple class to control print indentation
#define VTK_TENSOR_MODE_COMPUTE_GRADIENT
static vtkDataSetAlgorithm * New()
void SetVectorModeToComputeGradient()
void SetVectorModeToComputeVorticity()
#define VTK_VECTOR_MODE_PASS_VECTORS
void SetTensorModeToPassTensors()
void SetVectorModeToPassVectors()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
#define VTK_TENSOR_MODE_PASS_TENSORS
~vtkCellDerivatives() override
void SetTensorModeToComputeGradient()
compute derivatives of scalars and vectors