|
ParaView
|
perform mathematical operations on data in field data arrays More...
#include <vtkPVArrayCalculator.h>


Public Member Functions | |
| virtual const char * | GetClassName () |
| virtual int | IsA (const char *type) |
| void | PrintSelf (ostream &os, vtkIndent indent) |
Static Public Member Functions | |
| static int | IsTypeOf (const char *type) |
| static vtkPVArrayCalculator * | SafeDownCast (vtkObject *o) |
| static vtkPVArrayCalculator * | New () |
Protected Member Functions | |
| vtkPVArrayCalculator () | |
| ~vtkPVArrayCalculator () | |
| virtual int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
| void | UpdateArrayAndVariableNames (vtkDataObject *theInputObj, vtkDataSetAttributes *inDataAttrs) |
perform mathematical operations on data in field data arrays
vtkPVArrayCalculator performs operations on vectors or scalars in field data arrays. It uses vtkFunctionParser to do the parsing and to evaluate the function for each entry in the input arrays. The arrays used in a given function must be all in point data or all in cell data. The resulting array will be stored as a field data array. The result array can either be stored in a new array or it can overwrite an existing array.
Definition at line 40 of file vtkPVArrayCalculator.h.
| vtkPVArrayCalculator::vtkPVArrayCalculator | ( | ) | [protected] |
| vtkPVArrayCalculator::~vtkPVArrayCalculator | ( | ) | [protected] |
| virtual const char* vtkPVArrayCalculator::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkArrayCalculator.
| static int vtkPVArrayCalculator::IsTypeOf | ( | const char * | type | ) | [static] |
Reimplemented from vtkArrayCalculator.
| virtual int vtkPVArrayCalculator::IsA | ( | const char * | type | ) | [virtual] |
Reimplemented from vtkArrayCalculator.
| static vtkPVArrayCalculator* vtkPVArrayCalculator::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkArrayCalculator.
| void vtkPVArrayCalculator::PrintSelf | ( | ostream & | os, |
| vtkIndent | indent | ||
| ) | [virtual] |
Reimplemented from vtkArrayCalculator.
| static vtkPVArrayCalculator* vtkPVArrayCalculator::New | ( | ) | [static] |
Reimplemented from vtkArrayCalculator.
| virtual int vtkPVArrayCalculator::RequestData | ( | vtkInformation * | , |
| vtkInformationVector ** | , | ||
| vtkInformationVector * | |||
| ) | [protected, virtual] |
Reimplemented from vtkArrayCalculator.
| 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.
1.7.5.1