perform mathematical operations on data in field data arrays
More...
#include <vtkPVArrayCalculator.h>
Inherits vtkArrayCalculator.
perform mathematical operations on data in field data arrays
vtkPVArrayCalculator performs operations on vectors or scalars in field data arrays. vtkArrayCalculator provides API for users to add scalar/vector fields and their mapping with the input fields. We extend vtkArrayCalculator to automatically add scalar/vector fields mapping using the array available in the input.
- See also
- vtkArrayCalculator vtkFunctionParser
Definition at line 40 of file vtkPVArrayCalculator.h.
◆ Superclass
◆ vtkPVArrayCalculator()
vtkPVArrayCalculator::vtkPVArrayCalculator |
( |
| ) |
|
|
protected |
◆ ~vtkPVArrayCalculator()
vtkPVArrayCalculator::~vtkPVArrayCalculator |
( |
| ) |
|
|
protected |
◆ GetClassName()
virtual const char* vtkPVArrayCalculator::GetClassName |
( |
| ) |
|
|
virtual |
◆ IsTypeOf()
static int vtkPVArrayCalculator::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
◆ IsA()
virtual int vtkPVArrayCalculator::IsA |
( |
const char * |
type | ) |
|
|
virtual |
◆ SafeDownCast()
◆ PrintSelf()
void vtkPVArrayCalculator::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
◆ New()
◆ RequestData()
virtual int vtkPVArrayCalculator::RequestData |
( |
vtkInformation * |
, |
|
|
vtkInformationVector ** |
, |
|
|
vtkInformationVector * |
|
|
) |
| |
|
protectedvirtual |
◆ UpdateArrayAndVariableNames()
void vtkPVArrayCalculator::UpdateArrayAndVariableNames |
( |
vtkDataObject * |
theInputObj, |
|
|
vtkDataSetAttributes * |
inDataAttrs |
|
) |
| |
|
protected |
This function updates the (scalar and vector arrays / variables) names to make them consistent with those of the upstream calculator(s).
This addresses the scenarios where the user modifies the name of a calculator whose output is the input of a (some) subsequent calculator(s) or the user changes the input of a downstream calculator. Argument inDataAttrs refers to the attributes of the input dataset. This function should be called by RequestData() only.
The documentation for this class was generated from the following file: