#include <vtkArrayCalculator.h>
Inheritance diagram for vtkArrayCalculator:
vtkArrayCalculator 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.
The functions that this array calculator understands is:
standard operations: + - * / ^ . access vector components: iHat, jHat, kHat abs acos asin atan ceil cos cosh exp floor log mag min max norm sign sin sinh sqrt tan tanhNote that some of these operations work on scalars, some on vectors, and some on both (e.g., you can multiply a scalar times a vector). The operations are performed tuple-wise (i.e., tuple-by-tuple). The user must specify which arrays to use as vectors and/or scalars, and the name of the output data array.
Definition at line 77 of file vtkArrayCalculator.h.
|
Reimplemented from vtkDataSetAlgorithm. Definition at line 80 of file vtkArrayCalculator.h. |
|
|
|
|
|
Reimplemented from vtkDataSetAlgorithm. |
|
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 vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkDataSetAlgorithm. |
|
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 vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkDataSetAlgorithm. |
|
Reimplemented from vtkDataSetAlgorithm. |
|
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. |
|
Set/Get the function to be evaluated. Reimplemented from vtkDataSetAlgorithm. |
|
Set/Get the function to be evaluated. |
|
Set/Get the function to be evaluated. |
|
Add an array name to the list of arrays used in the function and specify which components of the array to use in evaluating the function. The array name must match the name in the function. Use AddScalarVariable or AddVectorVariable to use a variable name different from the array name. |
|
Add an array name to the list of arrays used in the function and specify which components of the array to use in evaluating the function. The array name must match the name in the function. Use AddScalarVariable or AddVectorVariable to use a variable name different from the array name. |
|
Add a variable name, a corresponding array name, and which components of the array to use. |
|
Add a variable name, a corresponding array name, and which components of the array to use. |
|
Set the name of the array in which to store the result of evaluating this function. If this is the name of an existing array, that array will be overwritten. Otherwise a new array will be created with the specified name. |
|
Set the name of the array in which to store the result of evaluating this function. If this is the name of an existing array, that array will be overwritten. Otherwise a new array will be created with the specified name. |
|
Control whether the filter operates on point data or cell data. By default (AttributeModeToDefault), the filter uses point data. Alternatively you can explicitly set the filter to use point data (AttributeModeToUsePointData) or cell data (AttributeModeToUseCellData). |
|
Control whether the filter operates on point data or cell data. By default (AttributeModeToDefault), the filter uses point data. Alternatively you can explicitly set the filter to use point data (AttributeModeToUsePointData) or cell data (AttributeModeToUseCellData). |
|
Control whether the filter operates on point data or cell data. By default (AttributeModeToDefault), the filter uses point data. Alternatively you can explicitly set the filter to use point data (AttributeModeToUsePointData) or cell data (AttributeModeToUseCellData). Definition at line 129 of file vtkArrayCalculator.h. References VTK_ATTRIBUTE_MODE_DEFAULT. |
|
Control whether the filter operates on point data or cell data. By default (AttributeModeToDefault), the filter uses point data. Alternatively you can explicitly set the filter to use point data (AttributeModeToUsePointData) or cell data (AttributeModeToUseCellData). Definition at line 131 of file vtkArrayCalculator.h. References VTK_ATTRIBUTE_MODE_USE_POINT_DATA. |
|
Control whether the filter operates on point data or cell data. By default (AttributeModeToDefault), the filter uses point data. Alternatively you can explicitly set the filter to use point data (AttributeModeToUsePointData) or cell data (AttributeModeToUseCellData). Definition at line 133 of file vtkArrayCalculator.h. References VTK_ATTRIBUTE_MODE_USE_CELL_DATA. |
|
Control whether the filter operates on point data or cell data. By default (AttributeModeToDefault), the filter uses point data. Alternatively you can explicitly set the filter to use point data (AttributeModeToUsePointData) or cell data (AttributeModeToUseCellData). |
|
Remove all the variable names and their associated array names. |
|
Methods to get information about the current variables. Definition at line 143 of file vtkArrayCalculator.h. |
|
Remove all the variable names and their associated array names. |
|
Remove all the variable names and their associated array names. Definition at line 145 of file vtkArrayCalculator.h. |
|
Remove all the variable names and their associated array names. |
|
Remove all the variable names and their associated array names. Definition at line 147 of file vtkArrayCalculator.h. |
|
Remove all the variable names and their associated array names. |
|
Remove all the variable names and their associated array names. Definition at line 149 of file vtkArrayCalculator.h. |
|
Remove all the variable names and their associated array names. |
|
Remove all the variable names and their associated array names. Definition at line 151 of file vtkArrayCalculator.h. |
|
Remove all the variable names and their associated array names. |
|
Remove all the variable names and their associated array names. Definition at line 153 of file vtkArrayCalculator.h. |
|
Remove all the variable names and their associated array names. |
|
Remove all the variable names and their associated array names. |
|
Remove all the variable names and their associated array names. |
|
When ReplaceInvalidValues is on, all invalid values (such as sqrt(-2), note that function parser does not handle complex numbers) will be replaced by ReplacementValue. Otherwise an error will be reported |
|
When ReplaceInvalidValues is on, all invalid values (such as sqrt(-2), note that function parser does not handle complex numbers) will be replaced by ReplacementValue. Otherwise an error will be reported |
|
When ReplaceInvalidValues is on, all invalid values (such as sqrt(-2), note that function parser does not handle complex numbers) will be replaced by ReplacementValue. Otherwise an error will be reported |
|
When ReplaceInvalidValues is on, all invalid values (such as sqrt(-2), note that function parser does not handle complex numbers) will be replaced by ReplacementValue. Otherwise an error will be reported |
|
When ReplaceInvalidValues is on, all invalid values (such as sqrt(-2), note that function parser does not handle complex numbers) will be replaced by ReplacementValue. Otherwise an error will be reported |
|
When ReplaceInvalidValues is on, all invalid values (such as sqrt(-2), note that function parser does not handle complex numbers) will be replaced by ReplacementValue. Otherwise an error will be reported |
|
This is called by the superclass. This is the method you should override. Reimplemented from vtkDataSetAlgorithm. |
|
Definition at line 177 of file vtkArrayCalculator.h. |
|
Definition at line 178 of file vtkArrayCalculator.h. |
|
Definition at line 179 of file vtkArrayCalculator.h. |
|
Definition at line 180 of file vtkArrayCalculator.h. |
|
Definition at line 181 of file vtkArrayCalculator.h. |
|
Definition at line 182 of file vtkArrayCalculator.h. |
|
Definition at line 183 of file vtkArrayCalculator.h. |
|
Definition at line 184 of file vtkArrayCalculator.h. |
|
Definition at line 185 of file vtkArrayCalculator.h. |
|
Definition at line 186 of file vtkArrayCalculator.h. |
|
Definition at line 187 of file vtkArrayCalculator.h. |
|
Definition at line 188 of file vtkArrayCalculator.h. |
|
Definition at line 190 of file vtkArrayCalculator.h. |
|
Definition at line 191 of file vtkArrayCalculator.h. |