 |
VTK
9.1.0
|
Go to the documentation of this file.
48 #ifndef vtkCellDerivatives_h
49 #define vtkCellDerivatives_h
52 #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
87 vtkSetMacro(VectorMode,
int);
88 vtkGetMacro(VectorMode,
int);
104 vtkSetMacro(TensorMode,
int);
105 vtkGetMacro(TensorMode,
int);
#define VTK_TENSOR_MODE_COMPUTE_STRAIN
const char * GetVectorModeAsString()
Control how the filter works to generate vector cell data.
#define VTK_TENSOR_MODE_COMPUTE_GREEN_LAGRANGE_STRAIN
#define VTK_VECTOR_MODE_COMPUTE_VORTICITY
#define VTK_VECTOR_MODE_COMPUTE_GRADIENT
void SetTensorModeToComputeStrain()
Control how the filter works to generate tensor cell data.
Superclass for algorithms that produce output of the same type as input.
void SetTensorModeToComputeGreenLagrangeStrain()
Control how the filter works to generate tensor cell data.
static vtkCellDerivatives * New()
Construct to compute the gradient of the scalars and vectors.
a simple class to control print indentation
#define VTK_TENSOR_MODE_COMPUTE_GRADIENT
void SetVectorModeToComputeGradient()
Control how the filter works to generate vector cell data.
void SetVectorModeToComputeVorticity()
Control how the filter works to generate vector cell data.
#define VTK_VECTOR_MODE_PASS_VECTORS
void SetTensorModeToPassTensors()
Control how the filter works to generate tensor cell data.
const char * GetTensorModeAsString()
Control how the filter works to generate tensor cell data.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
void SetVectorModeToPassVectors()
Control how the filter works to generate vector cell data.
~vtkCellDerivatives() override=default
#define VTK_TENSOR_MODE_PASS_TENSORS
void SetTensorModeToComputeGradient()
Control how the filter works to generate tensor cell data.
compute derivatives of scalars and vectors
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for type information and printing.