33 #ifndef vtkPythonCalculator_h 34 #define vtkPythonCalculator_h 36 #include "vtkPVClientServerCoreDefaultModule.h" 37 #include "vtkProgrammableFilter.h" 43 void PrintSelf(ostream& os, vtkIndent indent);
52 vtkSetMacro(ArrayAssociation,
int);
53 vtkGetMacro(ArrayAssociation,
int);
61 vtkSetMacro(CopyArrays,
bool);
62 vtkGetMacro(CopyArrays,
bool);
63 vtkBooleanMacro(CopyArrays,
bool);
72 vtkSetStringMacro(Expression) vtkGetStringMacro(Expression)
79 vtkSetStringMacro(ArrayName) vtkGetStringMacro(ArrayName)
85 static void ExecuteScript(
void*);
94 void Exec(
const char*);
96 virtual int FillOutputPortInformation(
int port, vtkInformation* info);
99 virtual int FillInputPortInformation(
int port, vtkInformation* info);
103 virtual int RequestDataObject(vtkInformation* request, vtkInformationVector** inputVector,
104 vtkInformationVector* outputVector);
Evaluates a Python expression vtkPythonCalculator uses Python to calculate an expression.