# encoding: utf-8
# module vtkmodules.vtkCommonDataModel
# from C:\Users\xukai\Downloads\发票2\venv\Lib\site-packages\vtkmodules\vtkCommonDataModel.cp311-win_amd64.pyd
# by generator 1.147
# no doc

# imports
import vtkmodules.vtkCommonCore as __vtkmodules_vtkCommonCore
import vtkmodules.vtkCommonMath as __vtkmodules_vtkCommonMath
import vtkmodules.vtkCommonTransforms as __vtkmodules_vtkCommonTransforms


from .vtkDataObjectTree import vtkDataObjectTree

class vtkMultiBlockDataSet(vtkDataObjectTree):
    """
    vtkMultiBlockDataSet - Composite dataset that organizes datasets into
    blocks.
    
    Superclass: vtkDataObjectTree
    
    vtkMultiBlockDataSet is a vtkCompositeDataSet that stores a hierarchy
    of datasets. The dataset collection consists of multiple blocks. Each
    block can itself be a vtkMultiBlockDataSet, thus providing for a full
    tree structure. Sub-blocks are usually used to distribute blocks
    across processors. For example, a 1 block dataset can be distributed
    as following:
     proc 0:
     Block 0:
       * ds 0
       * (null)
    
     proc 1:
     Block 0:
       * (null)
       * ds 1
    """
    def GetBlock(self, blockno): # real signature unknown; restored from __doc__
        """
        GetBlock(self, blockno:int) -> vtkDataObject
        C++: vtkDataObject *GetBlock(unsigned int blockno)
        
        Returns the block at the given index. It is recommended that one
        uses the iterators to iterate over composite datasets rather than
        using this API.
        """
        return vtkDataObject

    def GetData(self, info): # real signature unknown; restored from __doc__
        """
        GetData(info:vtkInformation) -> vtkMultiBlockDataSet
        C++: static vtkMultiBlockDataSet *GetData(vtkInformation *info)
        GetData(v:vtkInformationVector, i:int=0) -> vtkMultiBlockDataSet
        C++: static vtkMultiBlockDataSet *GetData(vtkInformationVector *v,
             int i=0)
        
        Retrieve an instance of this class from an information object.
        """
        return vtkMultiBlockDataSet

    def GetDataObjectType(self): # real signature unknown; restored from __doc__
        """
        GetDataObjectType(self) -> int
        C++: int GetDataObjectType() override;
        
        Return class name of data type (see vtkType.h for definitions).
        """
        return 0

    def GetMetaData(self, blockno): # real signature unknown; restored from __doc__
        """
        GetMetaData(self, blockno:int) -> vtkInformation
        C++: vtkInformation *GetMetaData(unsigned int blockno)
        GetMetaData(self, iter:vtkCompositeDataIterator) -> vtkInformation
        C++: vtkInformation *GetMetaData(vtkCompositeDataIterator *iter)
            override;
        
        Returns the meta-data for the block. If none is already present,
        a new vtkInformation object will be allocated. Use HasMetaData to
        avoid allocating vtkInformation objects.
        """
        pass

    def GetNumberOfBlocks(self): # real signature unknown; restored from __doc__
        """
        GetNumberOfBlocks(self) -> int
        C++: unsigned int GetNumberOfBlocks()
        
        Returns the number of blocks.
        """
        return 0

    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 HasMetaData(self, blockno): # real signature unknown; restored from __doc__
        """
        HasMetaData(self, blockno:int) -> int
        C++: int HasMetaData(unsigned int blockno)
        HasMetaData(self, iter:vtkCompositeDataIterator) -> int
        C++: int HasMetaData(vtkCompositeDataIterator *iter) override;
        
        Returns true if meta-data is available for a given block.
        """
        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) -> vtkMultiBlockDataSet
        C++: vtkMultiBlockDataSet *NewInstance()
        """
        return vtkMultiBlockDataSet

    def RemoveBlock(self, blockno): # real signature unknown; restored from __doc__
        """
        RemoveBlock(self, blockno:int) -> None
        C++: void RemoveBlock(unsigned int blockno)
        
        Remove the given block from the dataset.
        """
        pass

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkMultiBlockDataSet
        C++: static vtkMultiBlockDataSet *SafeDownCast(vtkObjectBase *o)
        """
        return vtkMultiBlockDataSet

    def SetBlock(self, blockno, block): # real signature unknown; restored from __doc__
        """
        SetBlock(self, blockno:int, block:vtkDataObject) -> None
        C++: void SetBlock(unsigned int blockno, vtkDataObject *block)
        
        Sets the data object as the given block. The total number of
        blocks will be resized to fit the requested block no.
        
        @remark while most vtkDataObject subclasses, including
        vtkMultiBlockDataSet as acceptable as a block,
        `vtkPartitionedDataSet`, `vtkPartitionedDataSetCollection`, and
        `vtkUniformGridAMR` are not valid.
        """
        pass

    def SetNumberOfBlocks(self, numBlocks): # real signature unknown; restored from __doc__
        """
        SetNumberOfBlocks(self, numBlocks:int) -> None
        C++: void SetNumberOfBlocks(unsigned int numBlocks)
        
        Set the number of blocks. This will cause allocation if the new
        number of blocks is greater than the current size. All new blocks
        are initialized to null.
        """
        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__': 'vtkMultiBlockDataSet', 'IsTypeOf': <method 'IsTypeOf' of 'vtkmodules.vtkCommonDataModel.vtkMultiBlockDataSet' objects>, 'IsA': <method 'IsA' of 'vtkmodules.vtkCommonDataModel.vtkMultiBlockDataSet' objects>, 'SafeDownCast': <method 'SafeDownCast' of 'vtkmodules.vtkCommonDataModel.vtkMultiBlockDataSet' objects>, 'NewInstance': <method 'NewInstance' of 'vtkmodules.vtkCommonDataModel.vtkMultiBlockDataSet' objects>, 'GetNumberOfGenerationsFromBaseType': <method 'GetNumberOfGenerationsFromBaseType' of 'vtkmodules.vtkCommonDataModel.vtkMultiBlockDataSet' objects>, 'GetNumberOfGenerationsFromBase': <method 'GetNumberOfGenerationsFromBase' of 'vtkmodules.vtkCommonDataModel.vtkMultiBlockDataSet' objects>, 'GetDataObjectType': <method 'GetDataObjectType' of 'vtkmodules.vtkCommonDataModel.vtkMultiBlockDataSet' objects>, 'SetNumberOfBlocks': <method 'SetNumberOfBlocks' of 'vtkmodules.vtkCommonDataModel.vtkMultiBlockDataSet' objects>, 'GetNumberOfBlocks': <method 'GetNumberOfBlocks' of 'vtkmodules.vtkCommonDataModel.vtkMultiBlockDataSet' objects>, 'GetBlock': <method 'GetBlock' of 'vtkmodules.vtkCommonDataModel.vtkMultiBlockDataSet' objects>, 'SetBlock': <method 'SetBlock' of 'vtkmodules.vtkCommonDataModel.vtkMultiBlockDataSet' objects>, 'RemoveBlock': <method 'RemoveBlock' of 'vtkmodules.vtkCommonDataModel.vtkMultiBlockDataSet' objects>, 'HasMetaData': <method 'HasMetaData' of 'vtkmodules.vtkCommonDataModel.vtkMultiBlockDataSet' objects>, 'GetMetaData': <method 'GetMetaData' of 'vtkmodules.vtkCommonDataModel.vtkMultiBlockDataSet' objects>, 'GetData': <method 'GetData' of 'vtkmodules.vtkCommonDataModel.vtkMultiBlockDataSet' objects>, '__new__': <built-in method __new__ of type object at 0x00007FF81D63A5E0>, '__repr__': <slot wrapper '__repr__' of 'vtkmodules.vtkCommonDataModel.vtkMultiBlockDataSet' objects>, '__str__': <slot wrapper '__str__' of 'vtkmodules.vtkCommonDataModel.vtkMultiBlockDataSet' objects>, '__getattribute__': <slot wrapper '__getattribute__' of 'vtkmodules.vtkCommonDataModel.vtkMultiBlockDataSet' objects>, '__setattr__': <slot wrapper '__setattr__' of 'vtkmodules.vtkCommonDataModel.vtkMultiBlockDataSet' objects>, '__delattr__': <slot wrapper '__delattr__' of 'vtkmodules.vtkCommonDataModel.vtkMultiBlockDataSet' objects>, '__dict__': <attribute '__dict__' of 'vtkmodules.vtkCommonDataModel.vtkMultiBlockDataSet' objects>, '__this__': <attribute '__this__' of 'vtkmodules.vtkCommonDataModel.vtkMultiBlockDataSet' objects>, '__doc__': 'vtkMultiBlockDataSet - Composite dataset that organizes datasets into\\nblocks.\\n\\nSuperclass: vtkDataObjectTree\\n\\nvtkMultiBlockDataSet is a vtkCompositeDataSet that stores a hierarchy\\nof datasets. The dataset collection consists of multiple blocks. Each\\nblock can itself be a vtkMultiBlockDataSet, thus providing for a full\\ntree structure. Sub-blocks are usually used to distribute blocks\\nacross processors. For example, a 1 block dataset can be distributed\\nas following:\\n proc 0:\\n Block 0:\\n   * ds 0\\n   * (null)\\n\\n proc 1:\\n Block 0:\\n   * (null)\\n   * ds 1\\n \\n\\n'})"
    __vtkname__ = 'vtkMultiBlockDataSet'


