VTK
|
compute derivatives of scalars and vectors More...
#include <vtkCellDerivatives.h>
compute derivatives of scalars and vectors
vtkCellDerivatives is a filter that computes derivatives of scalars and vectors at the center of cells. You can choose to generate different output including the scalar gradient (a vector), computed tensor vorticity (a vector), gradient of input vectors (a tensor), and strain matrix of the input vectors (a tensor); or you may choose to pass data through to the output.
Note that it is assumed that on input scalars and vector point data is available, which are then used to generate cell vectors and tensors. (The interpolation functions of the cells are used to compute the derivatives which is why point data is required.)
Definition at line 61 of file vtkCellDerivatives.h.
Reimplemented from vtkDataSetAlgorithm.
Definition at line 64 of file vtkCellDerivatives.h.
vtkCellDerivatives::vtkCellDerivatives | ( | ) | [protected] |
vtkCellDerivatives::~vtkCellDerivatives | ( | ) | [inline, protected] |
Definition at line 106 of file vtkCellDerivatives.h.
static int vtkCellDerivatives::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkDataSetAlgorithm.
virtual int vtkCellDerivatives::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkDataSetAlgorithm.
static vtkCellDerivatives* vtkCellDerivatives::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkDataSetAlgorithm.
virtual vtkObjectBase* vtkCellDerivatives::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkDataSetAlgorithm.
Reimplemented from vtkDataSetAlgorithm.
void vtkCellDerivatives::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkDataSetAlgorithm.
static vtkCellDerivatives* vtkCellDerivatives::New | ( | ) | [static] |
Construct to compute the gradient of the scalars and vectors.
Reimplemented from vtkDataSetAlgorithm.
virtual void vtkCellDerivatives::SetVectorMode | ( | int | ) | [virtual] |
Control how the filter works to generate vector cell data. You can choose to pass the input cell vectors, compute the gradient of the input scalars, or extract the vorticity of the computed vector gradient tensor. By default (VectorModeToComputeGradient), the filter will take the gradient of the input scalar data.
virtual int vtkCellDerivatives::GetVectorMode | ( | ) | [virtual] |
Control how the filter works to generate vector cell data. You can choose to pass the input cell vectors, compute the gradient of the input scalars, or extract the vorticity of the computed vector gradient tensor. By default (VectorModeToComputeGradient), the filter will take the gradient of the input scalar data.
void vtkCellDerivatives::SetVectorModeToPassVectors | ( | ) | [inline] |
Control how the filter works to generate vector cell data. You can choose to pass the input cell vectors, compute the gradient of the input scalars, or extract the vorticity of the computed vector gradient tensor. By default (VectorModeToComputeGradient), the filter will take the gradient of the input scalar data.
Definition at line 78 of file vtkCellDerivatives.h.
void vtkCellDerivatives::SetVectorModeToComputeGradient | ( | ) | [inline] |
Control how the filter works to generate vector cell data. You can choose to pass the input cell vectors, compute the gradient of the input scalars, or extract the vorticity of the computed vector gradient tensor. By default (VectorModeToComputeGradient), the filter will take the gradient of the input scalar data.
Definition at line 80 of file vtkCellDerivatives.h.
void vtkCellDerivatives::SetVectorModeToComputeVorticity | ( | ) | [inline] |
Control how the filter works to generate vector cell data. You can choose to pass the input cell vectors, compute the gradient of the input scalars, or extract the vorticity of the computed vector gradient tensor. By default (VectorModeToComputeGradient), the filter will take the gradient of the input scalar data.
Definition at line 82 of file vtkCellDerivatives.h.
const char* vtkCellDerivatives::GetVectorModeAsString | ( | ) |
Control how the filter works to generate vector cell data. You can choose to pass the input cell vectors, compute the gradient of the input scalars, or extract the vorticity of the computed vector gradient tensor. By default (VectorModeToComputeGradient), the filter will take the gradient of the input scalar data.
virtual void vtkCellDerivatives::SetTensorMode | ( | int | ) | [virtual] |
Control how the filter works to generate tensor cell data. You can choose to pass the input cell tensors, compute the gradient of the input vectors, or compute the strain tensor of the vector gradient tensor. By default (TensorModeToComputeGradient), the filter will take the gradient of the vector data to construct a tensor.
virtual int vtkCellDerivatives::GetTensorMode | ( | ) | [virtual] |
Control how the filter works to generate tensor cell data. You can choose to pass the input cell tensors, compute the gradient of the input vectors, or compute the strain tensor of the vector gradient tensor. By default (TensorModeToComputeGradient), the filter will take the gradient of the vector data to construct a tensor.
void vtkCellDerivatives::SetTensorModeToPassTensors | ( | ) | [inline] |
Control how the filter works to generate tensor cell data. You can choose to pass the input cell tensors, compute the gradient of the input vectors, or compute the strain tensor of the vector gradient tensor. By default (TensorModeToComputeGradient), the filter will take the gradient of the vector data to construct a tensor.
Definition at line 95 of file vtkCellDerivatives.h.
void vtkCellDerivatives::SetTensorModeToComputeGradient | ( | ) | [inline] |
Control how the filter works to generate tensor cell data. You can choose to pass the input cell tensors, compute the gradient of the input vectors, or compute the strain tensor of the vector gradient tensor. By default (TensorModeToComputeGradient), the filter will take the gradient of the vector data to construct a tensor.
Definition at line 97 of file vtkCellDerivatives.h.
void vtkCellDerivatives::SetTensorModeToComputeStrain | ( | ) | [inline] |
Control how the filter works to generate tensor cell data. You can choose to pass the input cell tensors, compute the gradient of the input vectors, or compute the strain tensor of the vector gradient tensor. By default (TensorModeToComputeGradient), the filter will take the gradient of the vector data to construct a tensor.
Definition at line 99 of file vtkCellDerivatives.h.
const char* vtkCellDerivatives::GetTensorModeAsString | ( | ) |
Control how the filter works to generate tensor cell data. You can choose to pass the input cell tensors, compute the gradient of the input vectors, or compute the strain tensor of the vector gradient tensor. By default (TensorModeToComputeGradient), the filter will take the gradient of the vector data to construct a tensor.
int vtkCellDerivatives::RequestData | ( | vtkInformation * | , |
vtkInformationVector ** | , | ||
vtkInformationVector * | |||
) | [protected, virtual] |
This is called within ProcessRequest when a request asks the algorithm to do its work. This is the method you should override to do whatever the algorithm is designed to do. This happens during the fourth pass in the pipeline execution process.
Reimplemented from vtkDataSetAlgorithm.
int vtkCellDerivatives::VectorMode [protected] |
Definition at line 109 of file vtkCellDerivatives.h.
int vtkCellDerivatives::TensorMode [protected] |
Definition at line 110 of file vtkCellDerivatives.h.