# 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 vtkSelectionAlgorithm(vtkAlgorithm):
    """
    vtkSelectionAlgorithm - Superclass for algorithms that produce only
    Selection as output
    
    Superclass: vtkAlgorithm
    
    vtkSelectionAlgorithm is a convenience class to make writing
    algorithms easier. It is also designed to help transition old
    algorithms to the new pipeline edgehitecture. 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 Selection. If that isn't the
    case then please override this method in your subclass. You should
    implement the subclass's algorithm into RequestData( request,
    inputVec, outputVec).
    
    @par Thanks: Thanks to Patricia Crossno, Ken Moreland, Andrew Wilson
    and Brian Wylie from Sandia National Laboratories for their help in
    developing this class.
    """
    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) -> vtkSelection
        C++: vtkSelection *GetOutput()
        GetOutput(self, index:int) -> vtkSelection
        C++: vtkSelection *GetOutput(int index)
        
        Get the output data object for a port on this algorithm.
        """
        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) -> vtkSelectionAlgorithm
        C++: vtkSelectionAlgorithm *NewInstance()
        """
        return vtkSelectionAlgorithm

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkSelectionAlgorithm
        C++: static vtkSelectionAlgorithm *SafeDownCast(vtkObjectBase *o)
        """
        return vtkSelectionAlgorithm

    def SetInputData(self, obj): # real signature unknown; restored from __doc__
        """
        SetInputData(self, obj:vtkDataObject) -> None
        C++: void SetInputData(vtkDataObject *obj)
        SetInputData(self, index:int, obj:vtkDataObject) -> None
        C++: void SetInputData(int index, vtkDataObject *obj)
        
        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 __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__\': \'vtkSelectionAlgorithm\', \'IsTypeOf\': <method \'IsTypeOf\' of \'vtkmodules.vtkCommonExecutionModel.vtkSelectionAlgorithm\' objects>, \'IsA\': <method \'IsA\' of \'vtkmodules.vtkCommonExecutionModel.vtkSelectionAlgorithm\' objects>, \'SafeDownCast\': <method \'SafeDownCast\' of \'vtkmodules.vtkCommonExecutionModel.vtkSelectionAlgorithm\' objects>, \'NewInstance\': <method \'NewInstance\' of \'vtkmodules.vtkCommonExecutionModel.vtkSelectionAlgorithm\' objects>, \'GetNumberOfGenerationsFromBaseType\': <method \'GetNumberOfGenerationsFromBaseType\' of \'vtkmodules.vtkCommonExecutionModel.vtkSelectionAlgorithm\' objects>, \'GetNumberOfGenerationsFromBase\': <method \'GetNumberOfGenerationsFromBase\' of \'vtkmodules.vtkCommonExecutionModel.vtkSelectionAlgorithm\' objects>, \'GetOutput\': <method \'GetOutput\' of \'vtkmodules.vtkCommonExecutionModel.vtkSelectionAlgorithm\' objects>, \'SetInputData\': <method \'SetInputData\' of \'vtkmodules.vtkCommonExecutionModel.vtkSelectionAlgorithm\' objects>, \'__new__\': <built-in method __new__ of type object at 0x00007FF82F4E8940>, \'__repr__\': <slot wrapper \'__repr__\' of \'vtkmodules.vtkCommonExecutionModel.vtkSelectionAlgorithm\' objects>, \'__str__\': <slot wrapper \'__str__\' of \'vtkmodules.vtkCommonExecutionModel.vtkSelectionAlgorithm\' objects>, \'__getattribute__\': <slot wrapper \'__getattribute__\' of \'vtkmodules.vtkCommonExecutionModel.vtkSelectionAlgorithm\' objects>, \'__setattr__\': <slot wrapper \'__setattr__\' of \'vtkmodules.vtkCommonExecutionModel.vtkSelectionAlgorithm\' objects>, \'__delattr__\': <slot wrapper \'__delattr__\' of \'vtkmodules.vtkCommonExecutionModel.vtkSelectionAlgorithm\' objects>, \'__dict__\': <attribute \'__dict__\' of \'vtkmodules.vtkCommonExecutionModel.vtkSelectionAlgorithm\' objects>, \'__this__\': <attribute \'__this__\' of \'vtkmodules.vtkCommonExecutionModel.vtkSelectionAlgorithm\' objects>, \'__doc__\': "vtkSelectionAlgorithm - Superclass for algorithms that produce only\\nSelection as output\\n\\nSuperclass: vtkAlgorithm\\n\\nvtkSelectionAlgorithm is a convenience class to make writing\\nalgorithms easier. It is also designed to help transition old\\nalgorithms to the new pipeline edgehitecture. 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 Selection. If that isn\'t the\\ncase then please override this method in your subclass. You should\\nimplement the subclass\'s algorithm into RequestData( request,\\ninputVec, outputVec).\\n\\n@par Thanks: Thanks to Patricia Crossno, Ken Moreland, Andrew Wilson\\nand Brian Wylie from Sandia National Laboratories for their help in\\ndeveloping this class.\\n\\n"})'
    __vtkname__ = 'vtkSelectionAlgorithm'


