# encoding: utf-8
# module vtkmodules.vtkCommonExecutionModel
# from C:\Users\xukai\Downloads\发票2\venv\Lib\site-packages\vtkmodules\vtkCommonExecutionModel.cp311-win_amd64.pyd
# by generator 1.147
# no doc

# imports
import vtkmodules.vtkCommonCore as __vtkmodules_vtkCommonCore


from .vtkAlgorithm import vtkAlgorithm

class vtkPolyDataAlgorithm(vtkAlgorithm):
    """
    vtkPolyDataAlgorithm - Superclass for algorithms that produce only
    polydata as output
    
    Superclass: vtkAlgorithm
    
    vtkPolyDataAlgorithm is a convenience class to make writing
    algorithms easier. It is also designed to help transition old
    algorithms to the new pipeline architecture. There are some
    assumptions and defaults made by this class you should be aware of.
    This class defaults such that your filter will have one input port
    and one output port. If that is not the case simply change it with
    SetNumberOfInputPorts etc. See this class constructor for the
    default. This class also provides a FillInputPortInfo method that by
    default says that all inputs will be PolyData. If that isn't the case
    then please override this method in your subclass.
    """
    def AddInputData(self, __a): # real signature unknown; restored from __doc__
        """
        AddInputData(self, __a:vtkDataObject) -> None
        C++: void AddInputData(vtkDataObject *)
        AddInputData(self, __a:int, __b:vtkDataObject) -> None
        C++: void AddInputData(int, vtkDataObject *)
        
        Assign a data object as input. Note that this method does not
        establish a pipeline connection. Use AddInputConnection() to
        setup a pipeline connection.
        """
        pass

    def GetInput(self): # real signature unknown; restored from __doc__
        """
        GetInput(self) -> vtkDataObject
        C++: vtkDataObject *GetInput()
        GetInput(self, port:int) -> vtkDataObject
        C++: vtkDataObject *GetInput(int port)
        """
        pass

    def GetNumberOfGenerationsFromBase(self, type): # real signature unknown; restored from __doc__
        """
        GetNumberOfGenerationsFromBase(self, type:str) -> int
        C++: vtkIdType GetNumberOfGenerationsFromBase(const char *type)
            override;
        
        Given the name of a base class of this class type, return the
        distance of inheritance between this class type and the named
        class (how many generations of inheritance are there between this
        class and the named class). If the named class is not in this
        class's inheritance tree, return a negative value. Valid
        responses will always be nonnegative. This method works in
        combination with vtkTypeMacro found in vtkSetGet.h.
        """
        return 0

    def GetNumberOfGenerationsFromBaseType(self, type): # real signature unknown; restored from __doc__
        """
        GetNumberOfGenerationsFromBaseType(type:str) -> int
        C++: static vtkIdType GetNumberOfGenerationsFromBaseType(
            const char *type)
        
        Given a the name of a base class of this class type, return the
        distance of inheritance between this class type and the named
        class (how many generations of inheritance are there between this
        class and the named class). If the named class is not in this
        class's inheritance tree, return a negative value. Valid
        responses will always be nonnegative. This method works in
        combination with vtkTypeMacro found in vtkSetGet.h.
        """
        return 0

    def GetOutput(self): # real signature unknown; restored from __doc__
        """
        GetOutput(self) -> vtkPolyData
        C++: vtkPolyData *GetOutput()
        GetOutput(self, __a:int) -> vtkPolyData
        C++: vtkPolyData *GetOutput(int)
        
        Get the output data object for a port on this algorithm.
        """
        pass

    def GetPolyDataInput(self, port): # real signature unknown; restored from __doc__
        """
        GetPolyDataInput(self, port:int) -> vtkPolyData
        C++: vtkPolyData *GetPolyDataInput(int port)
        """
        pass

    def IsA(self, type): # real signature unknown; restored from __doc__
        """
        IsA(self, type:str) -> int
        C++: vtkTypeBool IsA(const char *type) override;
        
        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.
        """
        return 0

    def IsTypeOf(self, type): # real signature unknown; restored from __doc__
        """
        IsTypeOf(type:str) -> int
        C++: static vtkTypeBool IsTypeOf(const char *type)
        
        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.
        """
        return 0

    def NewInstance(self): # real signature unknown; restored from __doc__
        """
        NewInstance(self) -> vtkPolyDataAlgorithm
        C++: vtkPolyDataAlgorithm *NewInstance()
        """
        return vtkPolyDataAlgorithm

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkPolyDataAlgorithm
        C++: static vtkPolyDataAlgorithm *SafeDownCast(vtkObjectBase *o)
        """
        return vtkPolyDataAlgorithm

    def SetInputData(self, __a): # real signature unknown; restored from __doc__
        """
        SetInputData(self, __a:vtkDataObject) -> None
        C++: void SetInputData(vtkDataObject *)
        SetInputData(self, __a:int, __b:vtkDataObject) -> None
        C++: void SetInputData(int, vtkDataObject *)
        
        Assign a data object as input. Note that this method does not
        establish a pipeline connection. Use SetInputConnection() to
        setup a pipeline connection.
        """
        pass

    def SetOutput(self, d): # real signature unknown; restored from __doc__
        """
        SetOutput(self, d:vtkDataObject) -> None
        C++: virtual void SetOutput(vtkDataObject *d)
        """
        pass

    def __delattr__(self, *args, **kwargs): # real signature unknown
        """ Implement delattr(self, name). """
        pass

    def __getattribute__(self, *args, **kwargs): # real signature unknown
        """ Return getattr(self, name). """
        pass

    def __init__(self, *args, **kwargs): # real signature unknown
        pass

    @staticmethod # known case of __new__
    def __new__(*args, **kwargs): # real signature unknown
        """ Create and return a new object.  See help(type) for accurate signature. """
        pass

    def __repr__(self, *args, **kwargs): # real signature unknown
        """ Return repr(self). """
        pass

    def __setattr__(self, *args, **kwargs): # real signature unknown
        """ Implement setattr(self, name, value). """
        pass

    def __str__(self, *args, **kwargs): # real signature unknown
        """ Return str(self). """
        pass

    __this__ = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """Pointer to the C++ object."""


    __dict__ = None # (!) real value is 'mappingproxy({\'__vtkname__\': \'vtkPolyDataAlgorithm\', \'IsTypeOf\': <method \'IsTypeOf\' of \'vtkmodules.vtkCommonExecutionModel.vtkPolyDataAlgorithm\' objects>, \'IsA\': <method \'IsA\' of \'vtkmodules.vtkCommonExecutionModel.vtkPolyDataAlgorithm\' objects>, \'SafeDownCast\': <method \'SafeDownCast\' of \'vtkmodules.vtkCommonExecutionModel.vtkPolyDataAlgorithm\' objects>, \'NewInstance\': <method \'NewInstance\' of \'vtkmodules.vtkCommonExecutionModel.vtkPolyDataAlgorithm\' objects>, \'GetNumberOfGenerationsFromBaseType\': <method \'GetNumberOfGenerationsFromBaseType\' of \'vtkmodules.vtkCommonExecutionModel.vtkPolyDataAlgorithm\' objects>, \'GetNumberOfGenerationsFromBase\': <method \'GetNumberOfGenerationsFromBase\' of \'vtkmodules.vtkCommonExecutionModel.vtkPolyDataAlgorithm\' objects>, \'GetOutput\': <method \'GetOutput\' of \'vtkmodules.vtkCommonExecutionModel.vtkPolyDataAlgorithm\' objects>, \'SetOutput\': <method \'SetOutput\' of \'vtkmodules.vtkCommonExecutionModel.vtkPolyDataAlgorithm\' objects>, \'GetInput\': <method \'GetInput\' of \'vtkmodules.vtkCommonExecutionModel.vtkPolyDataAlgorithm\' objects>, \'GetPolyDataInput\': <method \'GetPolyDataInput\' of \'vtkmodules.vtkCommonExecutionModel.vtkPolyDataAlgorithm\' objects>, \'SetInputData\': <method \'SetInputData\' of \'vtkmodules.vtkCommonExecutionModel.vtkPolyDataAlgorithm\' objects>, \'AddInputData\': <method \'AddInputData\' of \'vtkmodules.vtkCommonExecutionModel.vtkPolyDataAlgorithm\' objects>, \'__new__\': <built-in method __new__ of type object at 0x00007FF82F4E73B0>, \'__repr__\': <slot wrapper \'__repr__\' of \'vtkmodules.vtkCommonExecutionModel.vtkPolyDataAlgorithm\' objects>, \'__str__\': <slot wrapper \'__str__\' of \'vtkmodules.vtkCommonExecutionModel.vtkPolyDataAlgorithm\' objects>, \'__getattribute__\': <slot wrapper \'__getattribute__\' of \'vtkmodules.vtkCommonExecutionModel.vtkPolyDataAlgorithm\' objects>, \'__setattr__\': <slot wrapper \'__setattr__\' of \'vtkmodules.vtkCommonExecutionModel.vtkPolyDataAlgorithm\' objects>, \'__delattr__\': <slot wrapper \'__delattr__\' of \'vtkmodules.vtkCommonExecutionModel.vtkPolyDataAlgorithm\' objects>, \'__dict__\': <attribute \'__dict__\' of \'vtkmodules.vtkCommonExecutionModel.vtkPolyDataAlgorithm\' objects>, \'__this__\': <attribute \'__this__\' of \'vtkmodules.vtkCommonExecutionModel.vtkPolyDataAlgorithm\' objects>, \'__doc__\': "vtkPolyDataAlgorithm - Superclass for algorithms that produce only\\npolydata as output\\n\\nSuperclass: vtkAlgorithm\\n\\nvtkPolyDataAlgorithm is a convenience class to make writing\\nalgorithms easier. It is also designed to help transition old\\nalgorithms to the new pipeline architecture. There are some\\nassumptions and defaults made by this class you should be aware of.\\nThis class defaults such that your filter will have one input port\\nand one output port. If that is not the case simply change it with\\nSetNumberOfInputPorts etc. See this class constructor for the\\ndefault. This class also provides a FillInputPortInfo method that by\\ndefault says that all inputs will be PolyData. If that isn\'t the case\\nthen please override this method in your subclass.\\n\\n"})'
    __vtkname__ = 'vtkPolyDataAlgorithm'


