 |
VTK
9.0.1
|
Go to the documentation of this file.
41 #ifndef vtkPythonAlgorithm_h
42 #define vtkPythonAlgorithm_h
43 #if !defined(__VTK_WRAP__) || defined(__VTK_WRAP_HIERARCHY__) || defined(__VTK_WRAP_PYTHON__)
45 #include "vtkPython.h"
48 #include "vtkFiltersPythonModule.h"
50 class vtkSmartPyObject;
93 int CheckResult(
const char* method,
const vtkSmartPyObject& res);
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Superclass for all sources, filters, and sinks in VTK.
void SetNumberOfOutputPorts(int n) override
Set the number of output ports provided by the algorithm.
static vtkPythonAlgorithm * New()
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
a simple class to control print indentation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
algorithm that can be implemented in Python
vtkTypeBool ProcessRequest(vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo) override
Upstream/Downstream requests form the generalized interface through which executives invoke a algorit...
void SetNumberOfInputPorts(int n) override
Set the number of input ports used by the algorithm.
~vtkPythonAlgorithm() override
void SetPythonObject(PyObject *obj)
Specify the Python object to use to operate on the data.