# 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 vtkPartitionedDataSetCollection(vtkDataObjectTree):
    """
    vtkPartitionedDataSetCollection - Composite dataset that groups
    datasets as a collection.
    
    Superclass: vtkDataObjectTree
    
    vtkPartitionedDataSetCollection is a vtkCompositeDataSet that stores
    a collection of non-null vtkPartitionedDataSets. These items can
    represent different concepts depending on the context. For example,
    they can represent region of different materials in a simulation or
    parts in an assembly. It is not requires that items have anything in
    common. For example, they can have completely different point or cell
    arrays.
    """
    def CopyStructure(self, input): # real signature unknown; restored from __doc__
        """
        CopyStructure(self, input:vtkCompositeDataSet) -> None
        C++: void CopyStructure(vtkCompositeDataSet *input) override;
        
        Copies the tree structure from the input. All pointers to
        non-composite data objects are initialized to nullptr. This also
        shallow copies the meta data associated with all the nodes.
        """
        pass

    def DeepCopy(self, src): # real signature unknown; restored from __doc__
        """
        DeepCopy(self, src:vtkDataObject) -> None
        C++: void DeepCopy(vtkDataObject *src) override;
        """
        pass

    def GetCompositeIndex(self, idx): # real signature unknown; restored from __doc__
        """
        GetCompositeIndex(self, idx:int) -> int
        C++: unsigned int GetCompositeIndex(unsigned int idx)
        GetCompositeIndex(self, idx:int, partition:int) -> int
        C++: unsigned int GetCompositeIndex(unsigned int idx,
            unsigned int partition)
        
        Returns the composite index (sometimes referred to as the
        flat-index) for either a partitioned dataset or a specific
        partition in a partitioned dataset.
        """
        return 0

    def GetData(self, info): # real signature unknown; restored from __doc__
        """
        GetData(info:vtkInformation) -> vtkPartitionedDataSetCollection
        C++: static vtkPartitionedDataSetCollection *GetData(
            vtkInformation *info)
        GetData(v:vtkInformationVector, i:int=0)
            -> vtkPartitionedDataSetCollection
        C++: static vtkPartitionedDataSetCollection *GetData(
            vtkInformationVector *v, int i=0)
        
        Retrieve an instance of this class from an information object.
        """
        return vtkPartitionedDataSetCollection

    def GetDataAssembly(self): # real signature unknown; restored from __doc__
        """
        GetDataAssembly(self) -> vtkDataAssembly
        C++: virtual vtkDataAssembly *GetDataAssembly()
        
        DataAssembly provides a way to define hierarchical organization
        of partitioned-datasets. These methods provide access to the data
        assembly instances associated, if any.
        """
        return vtkDataAssembly

    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, idx): # real signature unknown; restored from __doc__
        """
        GetMetaData(self, idx:int) -> vtkInformation
        C++: vtkInformation *GetMetaData(unsigned int idx)
        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 GetMTime(self): # real signature unknown; restored from __doc__
        """
        GetMTime(self) -> int
        C++: vtkMTimeType GetMTime() override;
        
        Overridden to include DataAssembly MTime.
        """
        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 GetNumberOfPartitionedDataSets(self): # real signature unknown; restored from __doc__
        """
        GetNumberOfPartitionedDataSets(self) -> int
        C++: unsigned int GetNumberOfPartitionedDataSets()
        
        Returns the number of blocks.
        """
        return 0

    def GetNumberOfPartitions(self, idx): # real signature unknown; restored from __doc__
        """
        GetNumberOfPartitions(self, idx:int) -> int
        C++: unsigned int GetNumberOfPartitions(unsigned int idx)
        
        Returns the number of partitions in a partitioned dataset at the
        given index.
        """
        return 0

    def GetPartition(self, idx, partition): # real signature unknown; restored from __doc__
        """
        GetPartition(self, idx:int, partition:int) -> vtkDataSet
        C++: vtkDataSet *GetPartition(unsigned int idx,
            unsigned int partition)
        """
        return vtkDataSet

    def GetPartitionAsDataObject(self, idx, partition): # real signature unknown; restored from __doc__
        """
        GetPartitionAsDataObject(self, idx:int, partition:int)
            -> vtkDataObject
        C++: vtkDataObject *GetPartitionAsDataObject(unsigned int idx,
            unsigned int partition)
        """
        return vtkDataObject

    def GetPartitionedDataSet(self, idx): # real signature unknown; restored from __doc__
        """
        GetPartitionedDataSet(self, idx:int) -> vtkPartitionedDataSet
        C++: vtkPartitionedDataSet *GetPartitionedDataSet(
            unsigned int idx)
        
        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 vtkPartitionedDataSet

    def HasMetaData(self, idx): # real signature unknown; restored from __doc__
        """
        HasMetaData(self, idx:int) -> int
        C++: int HasMetaData(unsigned int idx)
        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 Initialize(self): # real signature unknown; restored from __doc__
        """
        Initialize(self) -> None
        C++: void Initialize() override;
        
        Restore data object to initial state,
        """
        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) -> vtkPartitionedDataSetCollection
        C++: vtkPartitionedDataSetCollection *NewInstance()
        """
        return vtkPartitionedDataSetCollection

    def RemovePartitionedDataSet(self, idx): # real signature unknown; restored from __doc__
        """
        RemovePartitionedDataSet(self, idx:int) -> None
        C++: void RemovePartitionedDataSet(unsigned int idx)
        
        Remove the given block from the dataset.
        """
        pass

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkPartitionedDataSetCollection
        C++: static vtkPartitionedDataSetCollection *SafeDownCast(
            vtkObjectBase *o)
        """
        return vtkPartitionedDataSetCollection

    def SetDataAssembly(self, assembly): # real signature unknown; restored from __doc__
        """
        SetDataAssembly(self, assembly:vtkDataAssembly) -> None
        C++: void SetDataAssembly(vtkDataAssembly *assembly)
        """
        pass

    def SetNumberOfPartitionedDataSets(self, numDataSets): # real signature unknown; restored from __doc__
        """
        SetNumberOfPartitionedDataSets(self, numDataSets:int) -> None
        C++: void SetNumberOfPartitionedDataSets(unsigned int numDataSets)
        
        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 with empty `vtkPartitionedDataSetCollection`
        instances.
        """
        pass

    def SetNumberOfPartitions(self, idx, numPartitions): # real signature unknown; restored from __doc__
        """
        SetNumberOfPartitions(self, idx:int, numPartitions:int) -> None
        C++: void SetNumberOfPartitions(unsigned int idx,
            unsigned int numPartitions)
        
        Set number of partitions at a given index. Note, this will call
        `SetNumberOfPartitionedDataSets` if needed to grow the
        collection.
        """
        pass

    def SetPartition(self, idx, partition, p_object): # real signature unknown; restored from __doc__
        """
        SetPartition(self, idx:int, partition:int, object:vtkDataObject)
            -> None
        C++: void SetPartition(unsigned int idx, unsigned int partition,
            vtkDataObject *object)
        
        API to get/set partitions using a tuple index.
        """
        pass

    def SetPartitionedDataSet(self, idx, dataset): # real signature unknown; restored from __doc__
        """
        SetPartitionedDataSet(self, idx:int,
            dataset:vtkPartitionedDataSet) -> None
        C++: void SetPartitionedDataSet(unsigned int idx,
            vtkPartitionedDataSet *dataset)
        
        Sets the data object as the given block. The total number of
        blocks will be resized to fit the requested block no.
        
        @remark `dataset` cannot be nullptr.
        """
        pass

    def ShallowCopy(self, src): # real signature unknown; restored from __doc__
        """
        ShallowCopy(self, src:vtkDataObject) -> None
        C++: void ShallowCopy(vtkDataObject *src) override;
        
        Overridden to handle vtkDataAssembly.
        """
        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__': 'vtkPartitionedDataSetCollection', 'IsTypeOf': <method 'IsTypeOf' of 'vtkmodules.vtkCommonDataModel.vtkPartitionedDataSetCollection' objects>, 'IsA': <method 'IsA' of 'vtkmodules.vtkCommonDataModel.vtkPartitionedDataSetCollection' objects>, 'SafeDownCast': <method 'SafeDownCast' of 'vtkmodules.vtkCommonDataModel.vtkPartitionedDataSetCollection' objects>, 'NewInstance': <method 'NewInstance' of 'vtkmodules.vtkCommonDataModel.vtkPartitionedDataSetCollection' objects>, 'GetNumberOfGenerationsFromBaseType': <method 'GetNumberOfGenerationsFromBaseType' of 'vtkmodules.vtkCommonDataModel.vtkPartitionedDataSetCollection' objects>, 'GetNumberOfGenerationsFromBase': <method 'GetNumberOfGenerationsFromBase' of 'vtkmodules.vtkCommonDataModel.vtkPartitionedDataSetCollection' objects>, 'GetDataObjectType': <method 'GetDataObjectType' of 'vtkmodules.vtkCommonDataModel.vtkPartitionedDataSetCollection' objects>, 'SetNumberOfPartitionedDataSets': <method 'SetNumberOfPartitionedDataSets' of 'vtkmodules.vtkCommonDataModel.vtkPartitionedDataSetCollection' objects>, 'GetNumberOfPartitionedDataSets': <method 'GetNumberOfPartitionedDataSets' of 'vtkmodules.vtkCommonDataModel.vtkPartitionedDataSetCollection' objects>, 'GetPartitionedDataSet': <method 'GetPartitionedDataSet' of 'vtkmodules.vtkCommonDataModel.vtkPartitionedDataSetCollection' objects>, 'SetPartitionedDataSet': <method 'SetPartitionedDataSet' of 'vtkmodules.vtkCommonDataModel.vtkPartitionedDataSetCollection' objects>, 'RemovePartitionedDataSet': <method 'RemovePartitionedDataSet' of 'vtkmodules.vtkCommonDataModel.vtkPartitionedDataSetCollection' objects>, 'SetPartition': <method 'SetPartition' of 'vtkmodules.vtkCommonDataModel.vtkPartitionedDataSetCollection' objects>, 'GetPartition': <method 'GetPartition' of 'vtkmodules.vtkCommonDataModel.vtkPartitionedDataSetCollection' objects>, 'GetPartitionAsDataObject': <method 'GetPartitionAsDataObject' of 'vtkmodules.vtkCommonDataModel.vtkPartitionedDataSetCollection' objects>, 'GetNumberOfPartitions': <method 'GetNumberOfPartitions' of 'vtkmodules.vtkCommonDataModel.vtkPartitionedDataSetCollection' objects>, 'SetNumberOfPartitions': <method 'SetNumberOfPartitions' of 'vtkmodules.vtkCommonDataModel.vtkPartitionedDataSetCollection' objects>, 'HasMetaData': <method 'HasMetaData' of 'vtkmodules.vtkCommonDataModel.vtkPartitionedDataSetCollection' objects>, 'GetMetaData': <method 'GetMetaData' of 'vtkmodules.vtkCommonDataModel.vtkPartitionedDataSetCollection' objects>, 'GetDataAssembly': <method 'GetDataAssembly' of 'vtkmodules.vtkCommonDataModel.vtkPartitionedDataSetCollection' objects>, 'SetDataAssembly': <method 'SetDataAssembly' of 'vtkmodules.vtkCommonDataModel.vtkPartitionedDataSetCollection' objects>, 'GetCompositeIndex': <method 'GetCompositeIndex' of 'vtkmodules.vtkCommonDataModel.vtkPartitionedDataSetCollection' objects>, 'GetData': <method 'GetData' of 'vtkmodules.vtkCommonDataModel.vtkPartitionedDataSetCollection' objects>, 'GetMTime': <method 'GetMTime' of 'vtkmodules.vtkCommonDataModel.vtkPartitionedDataSetCollection' objects>, 'ShallowCopy': <method 'ShallowCopy' of 'vtkmodules.vtkCommonDataModel.vtkPartitionedDataSetCollection' objects>, 'DeepCopy': <method 'DeepCopy' of 'vtkmodules.vtkCommonDataModel.vtkPartitionedDataSetCollection' objects>, 'CopyStructure': <method 'CopyStructure' of 'vtkmodules.vtkCommonDataModel.vtkPartitionedDataSetCollection' objects>, 'Initialize': <method 'Initialize' of 'vtkmodules.vtkCommonDataModel.vtkPartitionedDataSetCollection' objects>, '__new__': <built-in method __new__ of type object at 0x00007FF81D63DB30>, '__repr__': <slot wrapper '__repr__' of 'vtkmodules.vtkCommonDataModel.vtkPartitionedDataSetCollection' objects>, '__str__': <slot wrapper '__str__' of 'vtkmodules.vtkCommonDataModel.vtkPartitionedDataSetCollection' objects>, '__getattribute__': <slot wrapper '__getattribute__' of 'vtkmodules.vtkCommonDataModel.vtkPartitionedDataSetCollection' objects>, '__setattr__': <slot wrapper '__setattr__' of 'vtkmodules.vtkCommonDataModel.vtkPartitionedDataSetCollection' objects>, '__delattr__': <slot wrapper '__delattr__' of 'vtkmodules.vtkCommonDataModel.vtkPartitionedDataSetCollection' objects>, '__dict__': <attribute '__dict__' of 'vtkmodules.vtkCommonDataModel.vtkPartitionedDataSetCollection' objects>, '__this__': <attribute '__this__' of 'vtkmodules.vtkCommonDataModel.vtkPartitionedDataSetCollection' objects>, '__doc__': 'vtkPartitionedDataSetCollection - Composite dataset that groups\\ndatasets as a collection.\\n\\nSuperclass: vtkDataObjectTree\\n\\nvtkPartitionedDataSetCollection is a vtkCompositeDataSet that stores\\na collection of non-null vtkPartitionedDataSets. These items can\\nrepresent different concepts depending on the context. For example,\\nthey can represent region of different materials in a simulation or\\nparts in an assembly. It is not requires that items have anything in\\ncommon. For example, they can have completely different point or cell\\narrays.\\n\\n'})"
    __vtkname__ = 'vtkPartitionedDataSetCollection'


