# 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 .vtkImageData import vtkImageData

class vtkUniformGrid(vtkImageData):
    """
    vtkUniformGrid - image data with blanking
    
    Superclass: vtkImageData
    
    vtkUniformGrid is a subclass of vtkImageData. In addition to all the
    image data functionality, it supports blanking.
    """
    def BlankCell(self, ptId): # real signature unknown; restored from __doc__
        """
        BlankCell(self, ptId:int) -> None
        C++: virtual void BlankCell(vtkIdType ptId)
        BlankCell(self, i:int, j:int, k:int) -> None
        C++: virtual void BlankCell(const int i, const int j, const int k)
        
        Methods for supporting blanking of cells. Blanking turns on or
        off cells in the structured grid. These methods should be called
        only after the dimensions of the grid are set.
        """
        pass

    def BlankPoint(self, ptId): # real signature unknown; restored from __doc__
        """
        BlankPoint(self, ptId:int) -> None
        C++: virtual void BlankPoint(vtkIdType ptId)
        BlankPoint(self, i:int, j:int, k:int) -> None
        C++: virtual void BlankPoint(const int i, const int j,
            const int k)
        
        Methods for supporting blanking of cells. Blanking turns on or
        off points in the structured grid, and hence the cells connected
        to them. These methods should be called only after the dimensions
        of the grid are set.
        """
        pass

    def CopyStructure(self, ds): # real signature unknown; restored from __doc__
        """
        CopyStructure(self, ds:vtkDataSet) -> None
        C++: void CopyStructure(vtkDataSet *ds) override;
        
        Copy the geometric and topological structure of an input image
        data object.
        """
        pass

    def FindAndGetCell(self, x, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        FindAndGetCell(self, x:[float, float, float], cell:vtkCell,
            cellId:int, tol2:float, subId:int, pcoords:[float, float,
            float], weights:[float, ...]) -> vtkCell
        C++: vtkCell *FindAndGetCell(double x[3], vtkCell *cell,
            vtkIdType cellId, double tol2, int &subId, double pcoords[3],
            double *weights) override;
        
        Locate the cell that contains a point and return the cell. Also
        returns the subcell id, parametric coordinates and weights for
        subsequent interpolation. This method combines the derived class
        methods int FindCell and vtkCell *GetCell. Derived classes may
        provide a more efficient implementation. See for example
        vtkStructuredPoints. THIS METHOD IS NOT THREAD SAFE.
        """
        pass

    def FindCell(self, x, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        FindCell(self, x:[float, float, float], cell:vtkCell, cellId:int,
            tol2:float, subId:int, pcoords:[float, float, float],
            weights:[float, ...]) -> int
        C++: vtkIdType FindCell(double x[3], vtkCell *cell,
            vtkIdType cellId, double tol2, int &subId, double pcoords[3],
            double *weights) override;
        FindCell(self, x:[float, float, float], cell:vtkCell,
            gencell:vtkGenericCell, cellId:int, tol2:float, subId:int,
            pcoords:[float, float, float], weights:[float, ...]) -> int
        C++: vtkIdType FindCell(double x[3], vtkCell *cell,
            vtkGenericCell *gencell, vtkIdType cellId, double tol2,
            int &subId, double pcoords[3], double *weights) override;
        
        Locate cell based on global coordinate x and tolerance squared.
        If cell and cellId is non-nullptr, then search starts from this
        cell and looks at immediate neighbors.  Returns cellId >= 0 if
        inside, < 0 otherwise.  The parametric coordinates are provided
        in pcoords[3]. The interpolation weights are returned in
        weights[]. (The number of weights is equal to the number of
        points in the found cell). Tolerance is used to control how close
        the point is to be considered "in" the cell. THIS METHOD IS NOT
        THREAD SAFE.
        """
        pass

    def GetCell(self, i, j, k): # real signature unknown; restored from __doc__
        """
        GetCell(self, i:int, j:int, k:int) -> vtkCell
        C++: vtkCell *GetCell(int i, int j, int k) override;
        GetCell(self, cellId:int) -> vtkCell
        C++: vtkCell *GetCell(vtkIdType cellId) override;
        GetCell(self, cellId:int, cell:vtkGenericCell) -> None
        C++: void GetCell(vtkIdType cellId, vtkGenericCell *cell)
            override;
        
        Standard vtkDataSet API methods. See vtkDataSet for more
        information.
        """
        return vtkCell

    def GetCellPoints(self, cellId, ptIds): # real signature unknown; restored from __doc__
        """
        GetCellPoints(self, cellId:int, ptIds:vtkIdList) -> None
        C++: void GetCellPoints(vtkIdType cellId, vtkIdList *ptIds)
            override;
        GetCellPoints(self, cellId:int, npts:int, pts:(int, ...),
            ptIds:vtkIdList) -> None
        C++: virtual void GetCellPoints(vtkIdType cellId, vtkIdType &npts,
             vtkIdType const *&pts, vtkIdList *ptIds)
        
        Topological inquiry to get points defining cell. THIS METHOD IS
        THREAD SAFE IF FIRST CALLED FROM A SINGLE THREAD AND THE DATASET
        IS NOT MODIFIED
        """
        pass

    def GetCellType(self, cellId): # real signature unknown; restored from __doc__
        """
        GetCellType(self, cellId:int) -> int
        C++: int GetCellType(vtkIdType cellId) override;
        
        Get type of cell with cellId such that: 0 <= cellId <
        NumberOfCells. THIS METHOD IS THREAD SAFE IF FIRST CALLED FROM A
        SINGLE THREAD AND THE DATASET IS NOT MODIFIED
        """
        return 0

    def GetData(self, info): # real signature unknown; restored from __doc__
        """
        GetData(info:vtkInformation) -> vtkUniformGrid
        C++: static vtkUniformGrid *GetData(vtkInformation *info)
        GetData(v:vtkInformationVector, i:int=0) -> vtkUniformGrid
        C++: static vtkUniformGrid *GetData(vtkInformationVector *v,
            int i=0)
        
        Retrieve an instance of this class from an information object.
        """
        return vtkUniformGrid

    def GetDataObjectType(self): # real signature unknown; restored from __doc__
        """
        GetDataObjectType(self) -> int
        C++: int GetDataObjectType() override;
        
        Return what type of dataset this is.
        """
        return 0

    def GetGridDescription(self): # real signature unknown; restored from __doc__
        """
        GetGridDescription(self) -> int
        C++: int GetGridDescription()
        
        Returns the data description of this uniform grid instance.
        """
        return 0

    def GetMaxCellSize(self): # real signature unknown; restored from __doc__
        """
        GetMaxCellSize(self) -> int
        C++: int GetMaxCellSize() override;
        
        Convenience method returns largest cell size in dataset. This is
        generally used to allocate memory for supporting data structures.
        THIS METHOD IS THREAD SAFE
        """
        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 GetPointCells(self, ptId, cellIds): # real signature unknown; restored from __doc__
        """
        GetPointCells(self, ptId:int, cellIds:vtkIdList) -> None
        C++: void GetPointCells(vtkIdType ptId, vtkIdList *cellIds)
            override;
        
        Topological inquiry to get cells using point. THIS METHOD IS
        THREAD SAFE IF FIRST CALLED FROM A SINGLE THREAD AND THE DATASET
        IS NOT MODIFIED
        """
        pass

    def HasAnyBlankCells(self): # real signature unknown; restored from __doc__
        """
        HasAnyBlankCells(self) -> bool
        C++: bool HasAnyBlankCells() override;
        
        Returns 1 if there is any visibility constraint on the cells, 0
        otherwise.
        """
        return False

    def HasAnyBlankPoints(self): # real signature unknown; restored from __doc__
        """
        HasAnyBlankPoints(self) -> bool
        C++: bool HasAnyBlankPoints() override;
        
        Returns 1 if there is any visibility constraint on the points, 0
        otherwise.
        """
        return False

    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 IsCellVisible(self, cellId): # real signature unknown; restored from __doc__
        """
        IsCellVisible(self, cellId:int) -> int
        C++: virtual unsigned char IsCellVisible(vtkIdType cellId)
        
        Return non-zero value if specified cell is visible. These methods
        should be called only after the dimensions of the grid are set.
        """
        return 0

    def IsPointVisible(self, pointId): # real signature unknown; restored from __doc__
        """
        IsPointVisible(self, pointId:int) -> int
        C++: virtual unsigned char IsPointVisible(vtkIdType pointId)
        
        Return non-zero value if specified point is visible. These
        methods should be called only after the dimensions of the grid
        are set.
        """
        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 NewImageDataCopy(self): # real signature unknown; restored from __doc__
        """
        NewImageDataCopy(self) -> vtkImageData
        C++: virtual vtkImageData *NewImageDataCopy()
        """
        return vtkImageData

    def NewInstance(self): # real signature unknown; restored from __doc__
        """
        NewInstance(self) -> vtkUniformGrid
        C++: vtkUniformGrid *NewInstance()
        """
        return vtkUniformGrid

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkUniformGrid
        C++: static vtkUniformGrid *SafeDownCast(vtkObjectBase *o)
        """
        return vtkUniformGrid

    def UnBlankCell(self, ptId): # real signature unknown; restored from __doc__
        """
        UnBlankCell(self, ptId:int) -> None
        C++: virtual void UnBlankCell(vtkIdType ptId)
        UnBlankCell(self, i:int, j:int, k:int) -> None
        C++: virtual void UnBlankCell(const int i, const int j,
            const int k)
        """
        pass

    def UnBlankPoint(self, ptId): # real signature unknown; restored from __doc__
        """
        UnBlankPoint(self, ptId:int) -> None
        C++: virtual void UnBlankPoint(vtkIdType ptId)
        UnBlankPoint(self, i:int, j:int, k:int) -> None
        C++: virtual void UnBlankPoint(const int i, const int j,
            const int k)
        """
        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__': 'vtkUniformGrid', 'IsTypeOf': <method 'IsTypeOf' of 'vtkmodules.vtkCommonDataModel.vtkUniformGrid' objects>, 'IsA': <method 'IsA' of 'vtkmodules.vtkCommonDataModel.vtkUniformGrid' objects>, 'SafeDownCast': <method 'SafeDownCast' of 'vtkmodules.vtkCommonDataModel.vtkUniformGrid' objects>, 'NewInstance': <method 'NewInstance' of 'vtkmodules.vtkCommonDataModel.vtkUniformGrid' objects>, 'GetNumberOfGenerationsFromBaseType': <method 'GetNumberOfGenerationsFromBaseType' of 'vtkmodules.vtkCommonDataModel.vtkUniformGrid' objects>, 'GetNumberOfGenerationsFromBase': <method 'GetNumberOfGenerationsFromBase' of 'vtkmodules.vtkCommonDataModel.vtkUniformGrid' objects>, 'CopyStructure': <method 'CopyStructure' of 'vtkmodules.vtkCommonDataModel.vtkUniformGrid' objects>, 'GetDataObjectType': <method 'GetDataObjectType' of 'vtkmodules.vtkCommonDataModel.vtkUniformGrid' objects>, 'GetCell': <method 'GetCell' of 'vtkmodules.vtkCommonDataModel.vtkUniformGrid' objects>, 'FindCell': <method 'FindCell' of 'vtkmodules.vtkCommonDataModel.vtkUniformGrid' objects>, 'FindAndGetCell': <method 'FindAndGetCell' of 'vtkmodules.vtkCommonDataModel.vtkUniformGrid' objects>, 'GetCellType': <method 'GetCellType' of 'vtkmodules.vtkCommonDataModel.vtkUniformGrid' objects>, 'GetCellPoints': <method 'GetCellPoints' of 'vtkmodules.vtkCommonDataModel.vtkUniformGrid' objects>, 'GetPointCells': <method 'GetPointCells' of 'vtkmodules.vtkCommonDataModel.vtkUniformGrid' objects>, 'Initialize': <method 'Initialize' of 'vtkmodules.vtkCommonDataModel.vtkUniformGrid' objects>, 'GetMaxCellSize': <method 'GetMaxCellSize' of 'vtkmodules.vtkCommonDataModel.vtkUniformGrid' objects>, 'GetGridDescription': <method 'GetGridDescription' of 'vtkmodules.vtkCommonDataModel.vtkUniformGrid' objects>, 'BlankPoint': <method 'BlankPoint' of 'vtkmodules.vtkCommonDataModel.vtkUniformGrid' objects>, 'UnBlankPoint': <method 'UnBlankPoint' of 'vtkmodules.vtkCommonDataModel.vtkUniformGrid' objects>, 'BlankCell': <method 'BlankCell' of 'vtkmodules.vtkCommonDataModel.vtkUniformGrid' objects>, 'UnBlankCell': <method 'UnBlankCell' of 'vtkmodules.vtkCommonDataModel.vtkUniformGrid' objects>, 'HasAnyBlankCells': <method 'HasAnyBlankCells' of 'vtkmodules.vtkCommonDataModel.vtkUniformGrid' objects>, 'HasAnyBlankPoints': <method 'HasAnyBlankPoints' of 'vtkmodules.vtkCommonDataModel.vtkUniformGrid' objects>, 'IsPointVisible': <method 'IsPointVisible' of 'vtkmodules.vtkCommonDataModel.vtkUniformGrid' objects>, 'IsCellVisible': <method 'IsCellVisible' of 'vtkmodules.vtkCommonDataModel.vtkUniformGrid' objects>, 'NewImageDataCopy': <method 'NewImageDataCopy' of 'vtkmodules.vtkCommonDataModel.vtkUniformGrid' objects>, 'GetData': <method 'GetData' of 'vtkmodules.vtkCommonDataModel.vtkUniformGrid' objects>, '__new__': <built-in method __new__ of type object at 0x00007FF81D6550B0>, '__repr__': <slot wrapper '__repr__' of 'vtkmodules.vtkCommonDataModel.vtkUniformGrid' objects>, '__str__': <slot wrapper '__str__' of 'vtkmodules.vtkCommonDataModel.vtkUniformGrid' objects>, '__getattribute__': <slot wrapper '__getattribute__' of 'vtkmodules.vtkCommonDataModel.vtkUniformGrid' objects>, '__setattr__': <slot wrapper '__setattr__' of 'vtkmodules.vtkCommonDataModel.vtkUniformGrid' objects>, '__delattr__': <slot wrapper '__delattr__' of 'vtkmodules.vtkCommonDataModel.vtkUniformGrid' objects>, '__dict__': <attribute '__dict__' of 'vtkmodules.vtkCommonDataModel.vtkUniformGrid' objects>, '__this__': <attribute '__this__' of 'vtkmodules.vtkCommonDataModel.vtkUniformGrid' objects>, '__doc__': 'vtkUniformGrid - image data with blanking\\n\\nSuperclass: vtkImageData\\n\\nvtkUniformGrid is a subclass of vtkImageData. In addition to all the\\nimage data functionality, it supports blanking.\\n\\n'})"
    __vtkname__ = 'vtkUniformGrid'


