# 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 vtkReaderAlgorithm(vtkAlgorithm):
    """
    vtkReaderAlgorithm - Superclass for readers that implement a
    simplified API.
    
    Superclass: vtkAlgorithm
    
    This class and associated subclasses were created to make it easier
    to develop readers. When directly subclassing from other algorithm
    classes one has to learn a general purpose API that somewhat
    obfuscates pipeline functionality behind information keys. One has to
    know how to find time and pieces requests using keys for example.
    Furthermore, these classes together with specialized executives can
    implement common reader functionality for things such as file series
    (for time and/or partitions), caching, mapping time requests to
    indices etc. This class implements the most basic API which is
    specialized as needed by subclasses (for file series for example).
    """
    def CreateOutput(self, currentOutput): # real signature unknown; restored from __doc__
        """
        CreateOutput(self, currentOutput:vtkDataObject) -> vtkDataObject
        C++: virtual vtkDataObject *CreateOutput(
            vtkDataObject *currentOutput)
        
        This can be overridden by a subclass to create an output that is
        determined by the file being read. If the output is known at
        compile time, it is easier to override
        FillOutputPortInformation() to set
        vtkDataObject::DATA_TYPE_NAME(). The subclass should compare the
        new output type with the type of the currentOutput argument and
        return currentOutput without changing its reference count if the
        types are same.
        """
        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 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) -> vtkReaderAlgorithm
        C++: vtkReaderAlgorithm *NewInstance()
        """
        return vtkReaderAlgorithm

    def ReadArrays(self, piece, npieces, nghosts, timestep, output): # real signature unknown; restored from __doc__
        """
        ReadArrays(self, piece:int, npieces:int, nghosts:int,
            timestep:int, output:vtkDataObject) -> int
        C++: virtual int ReadArrays(int piece, int npieces, int nghosts,
            int timestep, vtkDataObject *output)
        
        Read all the arrays (point, cell, field etc.). This is called
        after ReadPoints() so the data object should already contain the
        mesh and points.
        """
        return 0

    def ReadMesh(self, piece, npieces, nghosts, timestep, output): # real signature unknown; restored from __doc__
        """
        ReadMesh(self, piece:int, npieces:int, nghosts:int, timestep:int,
            output:vtkDataObject) -> int
        C++: virtual int ReadMesh(int piece, int npieces, int nghosts,
            int timestep, vtkDataObject *output)
        
        Read the mesh (connectivity) for a given set of data
        partitioning, number of ghost levels and time step (index). The
        reader populates the data object passed in as the last argument.
        It is OK to read more than the mesh (points, arrays etc.).
        However, this may interfere with any caching implemented by the
        executive (i.e. cause more reads).
        """
        return 0

    def ReadMetaData(self, metadata): # real signature unknown; restored from __doc__
        """
        ReadMetaData(self, metadata:vtkInformation) -> int
        C++: virtual int ReadMetaData(vtkInformation *metadata)
        
        Provide meta-data for the pipeline. This meta-data cannot vary
        over time as this method will not be called when only a request
        is changed. These include things like time steps. Subclasses may
        have specialized interfaces making this simpler.
        """
        return 0

    def ReadPoints(self, piece, npieces, nghosts, timestep, output): # real signature unknown; restored from __doc__
        """
        ReadPoints(self, piece:int, npieces:int, nghosts:int,
            timestep:int, output:vtkDataObject) -> int
        C++: virtual int ReadPoints(int piece, int npieces, int nghosts,
            int timestep, vtkDataObject *output)
        
        Read the points. The reader populates the input data object. This
        is called after ReadMesh() so the data object should already
        contain the mesh.
        """
        return 0

    def ReadTimeDependentMetaData(self, __a, __b): # real signature unknown; restored from __doc__
        """
        ReadTimeDependentMetaData(self, __a:int, __b:vtkInformation)
            -> int
        C++: virtual int ReadTimeDependentMetaData(int, vtkInformation *)
        
        Provide meta-data for the pipeline. This meta-data can vary over
        time as this method will be called after a request is changed
        (such as time) These include things like whole extent. Subclasses
        may have specialized interfaces making this simpler.
        """
        return 0

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkReaderAlgorithm
        C++: static vtkReaderAlgorithm *SafeDownCast(vtkObjectBase *o)
        """
        return vtkReaderAlgorithm

    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__': 'vtkReaderAlgorithm', 'IsTypeOf': <method 'IsTypeOf' of 'vtkmodules.vtkCommonExecutionModel.vtkReaderAlgorithm' objects>, 'IsA': <method 'IsA' of 'vtkmodules.vtkCommonExecutionModel.vtkReaderAlgorithm' objects>, 'SafeDownCast': <method 'SafeDownCast' of 'vtkmodules.vtkCommonExecutionModel.vtkReaderAlgorithm' objects>, 'NewInstance': <method 'NewInstance' of 'vtkmodules.vtkCommonExecutionModel.vtkReaderAlgorithm' objects>, 'GetNumberOfGenerationsFromBaseType': <method 'GetNumberOfGenerationsFromBaseType' of 'vtkmodules.vtkCommonExecutionModel.vtkReaderAlgorithm' objects>, 'GetNumberOfGenerationsFromBase': <method 'GetNumberOfGenerationsFromBase' of 'vtkmodules.vtkCommonExecutionModel.vtkReaderAlgorithm' objects>, 'CreateOutput': <method 'CreateOutput' of 'vtkmodules.vtkCommonExecutionModel.vtkReaderAlgorithm' objects>, 'ReadMetaData': <method 'ReadMetaData' of 'vtkmodules.vtkCommonExecutionModel.vtkReaderAlgorithm' objects>, 'ReadTimeDependentMetaData': <method 'ReadTimeDependentMetaData' of 'vtkmodules.vtkCommonExecutionModel.vtkReaderAlgorithm' objects>, 'ReadMesh': <method 'ReadMesh' of 'vtkmodules.vtkCommonExecutionModel.vtkReaderAlgorithm' objects>, 'ReadPoints': <method 'ReadPoints' of 'vtkmodules.vtkCommonExecutionModel.vtkReaderAlgorithm' objects>, 'ReadArrays': <method 'ReadArrays' of 'vtkmodules.vtkCommonExecutionModel.vtkReaderAlgorithm' objects>, '__new__': <built-in method __new__ of type object at 0x00007FF82F4E79D0>, '__repr__': <slot wrapper '__repr__' of 'vtkmodules.vtkCommonExecutionModel.vtkReaderAlgorithm' objects>, '__str__': <slot wrapper '__str__' of 'vtkmodules.vtkCommonExecutionModel.vtkReaderAlgorithm' objects>, '__getattribute__': <slot wrapper '__getattribute__' of 'vtkmodules.vtkCommonExecutionModel.vtkReaderAlgorithm' objects>, '__setattr__': <slot wrapper '__setattr__' of 'vtkmodules.vtkCommonExecutionModel.vtkReaderAlgorithm' objects>, '__delattr__': <slot wrapper '__delattr__' of 'vtkmodules.vtkCommonExecutionModel.vtkReaderAlgorithm' objects>, '__dict__': <attribute '__dict__' of 'vtkmodules.vtkCommonExecutionModel.vtkReaderAlgorithm' objects>, '__this__': <attribute '__this__' of 'vtkmodules.vtkCommonExecutionModel.vtkReaderAlgorithm' objects>, '__doc__': 'vtkReaderAlgorithm - Superclass for readers that implement a\\nsimplified API.\\n\\nSuperclass: vtkAlgorithm\\n\\nThis class and associated subclasses were created to make it easier\\nto develop readers. When directly subclassing from other algorithm\\nclasses one has to learn a general purpose API that somewhat\\nobfuscates pipeline functionality behind information keys. One has to\\nknow how to find time and pieces requests using keys for example.\\nFurthermore, these classes together with specialized executives can\\nimplement common reader functionality for things such as file series\\n(for time and/or partitions), caching, mapping time requests to\\nindices etc. This class implements the most basic API which is\\nspecialized as needed by subclasses (for file series for example).\\n\\n'})"
    __vtkname__ = 'vtkReaderAlgorithm'


