30 #ifndef vtkPythonProgrammableFilter_h 31 #define vtkPythonProgrammableFilter_h 36 class vtkPythonProgrammableFilterImplementation;
50 vtkSetStringMacro(Script);
51 vtkGetStringMacro(Script);
58 vtkSetStringMacro(InformationScript);
59 vtkGetStringMacro(InformationScript);
66 vtkSetStringMacro(UpdateExtentScript);
67 vtkGetStringMacro(UpdateExtentScript);
75 vtkSetStringMacro(CheckNeedsUpdateScript);
76 vtkGetStringMacro(CheckNeedsUpdateScript);
84 void SetParameterInternal(
const char* name,
const char* value);
85 void SetParameter(
const char* name,
const char* value);
86 void SetParameter(
const char* name,
int value);
87 void SetParameter(
const char* name,
double value);
88 void SetParameter(
const char* name,
double value1,
double value2);
89 void SetParameter(
const char* name,
double value1,
double value2,
double value3);
96 void AddParameter(
const char* name,
const char* value);
97 void ClearParameter(
const char* name);
103 void ClearParameters();
108 static void ExecuteScript(
void*);
115 vtkSetMacro(OutputDataSetType,
int);
116 vtkGetMacro(OutputDataSetType,
int);
124 vtkSetStringMacro(PythonPath);
125 vtkGetStringMacro(PythonPath);
141 bool GetNeedsUpdate();
147 vtkSetMacro(NeedsUpdate,
bool);
156 void Exec(
const char*,
const char*);
202 vtkPythonProgrammableFilterImplementation*
const Implementation;
char * CheckNeedsUpdateScript
void PrintSelf(ostream &os, vtkIndent indent)
virtual void SetNumberOfInputPorts(int n)
void SetNumberOfInputPorts(int numberOfInputPorts) override
Set the number of input ports This function is explicitly exposed to enable a vtkClientServerInterpre...
virtual int FillInputPortInformation(int port, vtkInformation *info)
#define VTKPVVTKEXTENSIONSFILTERSPYTHON_EXPORT
char * UpdateExtentScript
static vtkProgrammableFilter * New()
Executes a user supplied python script on its input dataset to produce an output dataset.
void operator=(const vtkObjectBase &)