# 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 vtkMultiTimeStepAlgorithm(vtkAlgorithm):
    """
    vtkMultiTimeStepAlgorithm - Superclass for algorithms that would like
    to make multiple time requests
    
    Superclass: vtkAlgorithm
    
    This class can be inherited by any algorithm that wishes to make
    multiple time requests upstream.
    
    A subclass should override `RequestUpdateExtent` and use
    `vtkMultiTimeStepAlgorithm::UPDATE_TIME_STEPS` key to indicate which
    timesteps are to be requested. This class will then take care of
    executing the upstream pipeline to obtain the requested timesteps.
    
    Subclasses can then override `Execute` which is provided a vector of
    input data objects corresponding to the requested timesteps.
    
    In VTK 9.1 and earlier, subclasses overrode `RequestData` instead of
    `Execute`. RequestData was passed a `vtkMultiBlockDataSet` with
    blocks corresponding to the input timesteps. However, with addition
    of vtkPartitionedDataSet and vtkPartitionedDataSetCollection in VTK
    9.2, it is not possible to package all input data types into a
    multiblock dataset. Hence, the method is deprecated and only used
    when `Execute` is not overridden.
    """
    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 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) -> vtkMultiTimeStepAlgorithm
        C++: vtkMultiTimeStepAlgorithm *NewInstance()
        """
        return vtkMultiTimeStepAlgorithm

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkMultiTimeStepAlgorithm
        C++: static vtkMultiTimeStepAlgorithm *SafeDownCast(
            vtkObjectBase *o)
        """
        return vtkMultiTimeStepAlgorithm

    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__': 'vtkMultiTimeStepAlgorithm', 'IsTypeOf': <method 'IsTypeOf' of 'vtkmodules.vtkCommonExecutionModel.vtkMultiTimeStepAlgorithm' objects>, 'IsA': <method 'IsA' of 'vtkmodules.vtkCommonExecutionModel.vtkMultiTimeStepAlgorithm' objects>, 'SafeDownCast': <method 'SafeDownCast' of 'vtkmodules.vtkCommonExecutionModel.vtkMultiTimeStepAlgorithm' objects>, 'NewInstance': <method 'NewInstance' of 'vtkmodules.vtkCommonExecutionModel.vtkMultiTimeStepAlgorithm' objects>, 'GetNumberOfGenerationsFromBaseType': <method 'GetNumberOfGenerationsFromBaseType' of 'vtkmodules.vtkCommonExecutionModel.vtkMultiTimeStepAlgorithm' objects>, 'GetNumberOfGenerationsFromBase': <method 'GetNumberOfGenerationsFromBase' of 'vtkmodules.vtkCommonExecutionModel.vtkMultiTimeStepAlgorithm' objects>, '__new__': <built-in method __new__ of type object at 0x00007FF82F4E5790>, '__repr__': <slot wrapper '__repr__' of 'vtkmodules.vtkCommonExecutionModel.vtkMultiTimeStepAlgorithm' objects>, '__str__': <slot wrapper '__str__' of 'vtkmodules.vtkCommonExecutionModel.vtkMultiTimeStepAlgorithm' objects>, '__getattribute__': <slot wrapper '__getattribute__' of 'vtkmodules.vtkCommonExecutionModel.vtkMultiTimeStepAlgorithm' objects>, '__setattr__': <slot wrapper '__setattr__' of 'vtkmodules.vtkCommonExecutionModel.vtkMultiTimeStepAlgorithm' objects>, '__delattr__': <slot wrapper '__delattr__' of 'vtkmodules.vtkCommonExecutionModel.vtkMultiTimeStepAlgorithm' objects>, '__dict__': <attribute '__dict__' of 'vtkmodules.vtkCommonExecutionModel.vtkMultiTimeStepAlgorithm' objects>, '__this__': <attribute '__this__' of 'vtkmodules.vtkCommonExecutionModel.vtkMultiTimeStepAlgorithm' objects>, '__doc__': 'vtkMultiTimeStepAlgorithm - Superclass for algorithms that would like\\nto make multiple time requests\\n\\nSuperclass: vtkAlgorithm\\n\\nThis class can be inherited by any algorithm that wishes to make\\nmultiple time requests upstream.\\n\\nA subclass should override `RequestUpdateExtent` and use\\n`vtkMultiTimeStepAlgorithm::UPDATE_TIME_STEPS` key to indicate which\\ntimesteps are to be requested. This class will then take care of\\nexecuting the upstream pipeline to obtain the requested timesteps.\\n\\nSubclasses can then override `Execute` which is provided a vector of\\ninput data objects corresponding to the requested timesteps.\\n\\nIn VTK 9.1 and earlier, subclasses overrode `RequestData` instead of\\n`Execute`. RequestData was passed a `vtkMultiBlockDataSet` with\\nblocks corresponding to the input timesteps. However, with addition\\nof vtkPartitionedDataSet and vtkPartitionedDataSetCollection in VTK\\n9.2, it is not possible to package all input data types into a\\nmultiblock dataset. Hence, the method is deprecated and only used\\nwhen `Execute` is not overridden.\\n\\n'})"
    __vtkname__ = 'vtkMultiTimeStepAlgorithm'


