# 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 .vtkPointSet import vtkPointSet

class vtkUnstructuredGridBase(vtkPointSet):
    """
    vtkUnstructuredGridBase - dataset represents arbitrary combinations
    of all possible cell types.
    
    Superclass: vtkPointSet
    
    May be mapped onto a non-standard memory layout.
    
    vtkUnstructuredGridBase defines the core vtkUnstructuredGrid API,
    omitting functions that are implementation dependent.
    
    @sa
    vtkMappedDataArray vtkUnstructuredGrid
    """
    def Allocate(self, numCells=1000, extSize=1000): # real signature unknown; restored from __doc__
        """
        Allocate(self, numCells:int=1000, extSize:int=1000) -> None
        C++: virtual void Allocate(vtkIdType numCells=1000,
            int extSize=1000)
        
        Allocate memory for the number of cells indicated. extSize is not
        used.
        """
        pass

    def DeepCopy(self, src): # real signature unknown; restored from __doc__
        """
        DeepCopy(self, src:vtkDataObject) -> None
        C++: void DeepCopy(vtkDataObject *src) override;
        
        Shallow and Deep copy.
        """
        pass

    def GetData(self, info): # real signature unknown; restored from __doc__
        """
        GetData(info:vtkInformation) -> vtkUnstructuredGridBase
        C++: static vtkUnstructuredGridBase *GetData(vtkInformation *info)
        GetData(v:vtkInformationVector, i:int=0)
            -> vtkUnstructuredGridBase
        C++: static vtkUnstructuredGridBase *GetData(
            vtkInformationVector *v, int i=0)
        
        Retrieve an instance of this class from an information object.
        """
        return vtkUnstructuredGridBase

    def GetDataObjectType(self): # real signature unknown; restored from __doc__
        """
        GetDataObjectType(self) -> int
        C++: int GetDataObjectType() override;
        
        Return the type of data object.
        """
        return 0

    def GetIdsOfCellsOfType(self, type, array): # real signature unknown; restored from __doc__
        """
        GetIdsOfCellsOfType(self, type:int, array:vtkIdTypeArray) -> None
        C++: virtual void GetIdsOfCellsOfType(int type,
            vtkIdTypeArray *array)
        
        Fill vtkIdTypeArray container with list of cell Ids.  This method
        traverses all cells and, for a particular cell type, inserts the
        cell Id into the container.
        """
        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 InsertNextCell(self, type, npts, ptIds, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        InsertNextCell(self, type:int, npts:int, ptIds:(int, ...)) -> int
        C++: vtkIdType InsertNextCell(int type, vtkIdType npts,
            const vtkIdType ptIds[])
        InsertNextCell(self, type:int, ptIds:vtkIdList) -> int
        C++: vtkIdType InsertNextCell(int type, vtkIdList *ptIds)
        InsertNextCell(self, type:int, npts:int, ptIds:(int, ...),
            nfaces:int, faces:(int, ...)) -> int
        C++: vtkIdType InsertNextCell(int type, vtkIdType npts,
            const vtkIdType ptIds[], vtkIdType nfaces,
            const vtkIdType faces[])
        
        Insert/create cell in object by type and list of point ids
        defining cell topology. Most cells require just a type which
        implicitly defines a set of points and their ordering. For
        non-polyhedron cell type, npts is the number of unique points in
        the cell. pts are the list of global point Ids. For polyhedron
        cell, a special input format is required. npts is the number of
        faces in the cell. ptIds is the list of face stream:
        (numFace0Pts, id1, id2, id3, numFace1Pts,id1, id2, id3, ...) Make
        sure you have called Allocate() before calling this method
        """
        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 IsHomogeneous(self): # real signature unknown; restored from __doc__
        """
        IsHomogeneous(self) -> int
        C++: virtual int IsHomogeneous()
        
        Traverse cells and determine if cells are all of the same type.
        """
        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) -> vtkUnstructuredGridBase
        C++: vtkUnstructuredGridBase *NewInstance()
        """
        return vtkUnstructuredGridBase

    def ReplaceCell(self, cellId, npts, pts, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        ReplaceCell(self, cellId:int, npts:int, pts:(int, ...)) -> None
        C++: void ReplaceCell(vtkIdType cellId, int npts,
            const vtkIdType pts[])
        
        Replace the points defining cell "cellId" with a new set of
        points. This operator is (typically) used when links from points
        to cells have not been built (i.e., BuildLinks() has not been
        executed). Use the operator ReplaceLinkedCell() to replace a cell
        when cell structure has been built.
        """
        pass

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkUnstructuredGridBase
        C++: static vtkUnstructuredGridBase *SafeDownCast(
            vtkObjectBase *o)
        """
        return vtkUnstructuredGridBase

    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__': 'vtkUnstructuredGridBase', 'IsTypeOf': <method 'IsTypeOf' of 'vtkmodules.vtkCommonDataModel.vtkUnstructuredGridBase' objects>, 'IsA': <method 'IsA' of 'vtkmodules.vtkCommonDataModel.vtkUnstructuredGridBase' objects>, 'SafeDownCast': <method 'SafeDownCast' of 'vtkmodules.vtkCommonDataModel.vtkUnstructuredGridBase' objects>, 'NewInstance': <method 'NewInstance' of 'vtkmodules.vtkCommonDataModel.vtkUnstructuredGridBase' objects>, 'GetNumberOfGenerationsFromBaseType': <method 'GetNumberOfGenerationsFromBaseType' of 'vtkmodules.vtkCommonDataModel.vtkUnstructuredGridBase' objects>, 'GetNumberOfGenerationsFromBase': <method 'GetNumberOfGenerationsFromBase' of 'vtkmodules.vtkCommonDataModel.vtkUnstructuredGridBase' objects>, 'GetDataObjectType': <method 'GetDataObjectType' of 'vtkmodules.vtkCommonDataModel.vtkUnstructuredGridBase' objects>, 'Allocate': <method 'Allocate' of 'vtkmodules.vtkCommonDataModel.vtkUnstructuredGridBase' objects>, 'DeepCopy': <method 'DeepCopy' of 'vtkmodules.vtkCommonDataModel.vtkUnstructuredGridBase' objects>, 'InsertNextCell': <method 'InsertNextCell' of 'vtkmodules.vtkCommonDataModel.vtkUnstructuredGridBase' objects>, 'ReplaceCell': <method 'ReplaceCell' of 'vtkmodules.vtkCommonDataModel.vtkUnstructuredGridBase' objects>, 'GetIdsOfCellsOfType': <method 'GetIdsOfCellsOfType' of 'vtkmodules.vtkCommonDataModel.vtkUnstructuredGridBase' objects>, 'IsHomogeneous': <method 'IsHomogeneous' of 'vtkmodules.vtkCommonDataModel.vtkUnstructuredGridBase' objects>, 'GetData': <method 'GetData' of 'vtkmodules.vtkCommonDataModel.vtkUnstructuredGridBase' objects>, '__new__': <built-in method __new__ of type object at 0x00007FF81D6564A0>, '__repr__': <slot wrapper '__repr__' of 'vtkmodules.vtkCommonDataModel.vtkUnstructuredGridBase' objects>, '__str__': <slot wrapper '__str__' of 'vtkmodules.vtkCommonDataModel.vtkUnstructuredGridBase' objects>, '__getattribute__': <slot wrapper '__getattribute__' of 'vtkmodules.vtkCommonDataModel.vtkUnstructuredGridBase' objects>, '__setattr__': <slot wrapper '__setattr__' of 'vtkmodules.vtkCommonDataModel.vtkUnstructuredGridBase' objects>, '__delattr__': <slot wrapper '__delattr__' of 'vtkmodules.vtkCommonDataModel.vtkUnstructuredGridBase' objects>, '__dict__': <attribute '__dict__' of 'vtkmodules.vtkCommonDataModel.vtkUnstructuredGridBase' objects>, '__this__': <attribute '__this__' of 'vtkmodules.vtkCommonDataModel.vtkUnstructuredGridBase' objects>, '__doc__': 'vtkUnstructuredGridBase - dataset represents arbitrary combinations\\nof all possible cell types.\\n\\nSuperclass: vtkPointSet\\n\\nMay be mapped onto a non-standard memory layout.\\n\\nvtkUnstructuredGridBase defines the core vtkUnstructuredGrid API,\\nomitting functions that are implementation dependent.\\n\\n@sa\\nvtkMappedDataArray vtkUnstructuredGrid\\n\\n'})"
    __vtkname__ = 'vtkUnstructuredGridBase'


