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