#include <vtkArrayCalculator.h>
Inheritance diagram for vtkArrayCalculator:
Public Methods | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | RemoveAllVariables () |
void | SetFunction (const char *function) |
virtual char * | GetFunction () |
void | AddScalarArrayName (const char *arrayName, int component=0) |
void | AddVectorArrayName (const char *arrayName, int component0=0, int component1=1, int component2=2) |
void | AddScalarVariable (const char *variableName, const char *arrayName, int component=0) |
void | AddVectorVariable (const char *variableName, const char *arrayName, int component0=0, int component1=1, int component2=2) |
void | SetResultArrayName (const char *name) |
virtual char * | GetResultArrayName () |
virtual void | SetAttributeMode (int) |
virtual int | GetAttributeMode () |
void | SetAttributeModeToDefault () |
void | SetAttributeModeToUsePointData () |
void | SetAttributeModeToUseCellData () |
const char * | GetAttributeModeAsString () |
char ** | GetScalarArrayNames () |
char * | GetScalarArrayName (int i) |
char ** | GetVectorArrayNames () |
char * | GetVectorArrayName (int i) |
char ** | GetScalarVariableNames () |
char * | GetScalarVariableName (int i) |
char ** | GetVectorVariableNames () |
char * | GetVectorVariableName (int i) |
int * | GetSelectedScalarComponents () |
int | GetSelectedScalarComponent (int i) |
int ** | GetSelectedVectorComponents () |
int * | GetSelectedVectorComponents (int i) |
virtual int | GetNumberOfScalarArrays () |
virtual int | GetNumberOfVectorArrays () |
Static Public Methods | |
int | IsTypeOf (const char *type) |
vtkArrayCalculator * | SafeDownCast (vtkObject *o) |
vtkArrayCalculator * | New () |
Protected Methods | |
vtkArrayCalculator () | |
~vtkArrayCalculator () | |
void | Execute () |
Protected Attributes | |
char * | Function |
char * | ResultArrayName |
char ** | ScalarArrayNames |
char ** | VectorArrayNames |
char ** | ScalarVariableNames |
char ** | VectorVariableNames |
int | NumberOfScalarArrays |
int | NumberOfVectorArrays |
int | AttributeMode |
int * | SelectedScalarComponents |
int ** | SelectedVectorComponents |
vtkFunctionParser * | FunctionParser |
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.
Definition at line 74 of file vtkArrayCalculator.h.
|
|
|
|
|
Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkDataSetToDataSetFilter. |
|
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 vtkDataSetToDataSetFilter. |
|
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 vtkDataSetToDataSetFilter. |
|
Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkDataSetToDataSetFilter. |
|
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 vtkSource. |
|
Instantiate object with no start, end, or progress methods. Reimplemented from vtkDataSetSource. |
|
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 126 of file vtkArrayCalculator.h. |
|
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 128 of file vtkArrayCalculator.h. |
|
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 130 of file vtkArrayCalculator.h. |
|
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 140 of file vtkArrayCalculator.h. |
|
Methods to get information about the current variables. |
|
Methods to get information about the current variables. Definition at line 142 of file vtkArrayCalculator.h. |
|
Methods to get information about the current variables. |
|
Methods to get information about the current variables. Definition at line 144 of file vtkArrayCalculator.h. |
|
Methods to get information about the current variables. |
|
Methods to get information about the current variables. Definition at line 146 of file vtkArrayCalculator.h. |
|
Methods to get information about the current variables. |
|
Methods to get information about the current variables. Definition at line 148 of file vtkArrayCalculator.h. |
|
Methods to get information about the current variables. |
|
Methods to get information about the current variables. Definition at line 150 of file vtkArrayCalculator.h. |
|
Methods to get information about the current variables. |
|
Methods to get information about the current variables. |
|
Methods to get information about the current variables. |
|
This method is the old style execute method Reimplemented from vtkSource. |
|
Definition at line 162 of file vtkArrayCalculator.h. |
|
Definition at line 163 of file vtkArrayCalculator.h. |
|
Definition at line 164 of file vtkArrayCalculator.h. |
|
Definition at line 165 of file vtkArrayCalculator.h. |
|
Definition at line 166 of file vtkArrayCalculator.h. |
|
Definition at line 167 of file vtkArrayCalculator.h. |
|
Definition at line 168 of file vtkArrayCalculator.h. |
|
Definition at line 169 of file vtkArrayCalculator.h. |
|
Definition at line 170 of file vtkArrayCalculator.h. |
|
Definition at line 171 of file vtkArrayCalculator.h. |
|
Definition at line 172 of file vtkArrayCalculator.h. |
|
Definition at line 173 of file vtkArrayCalculator.h. |