# 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


class vtkAMRInformation(__vtkmodules_vtkCommonCore.vtkObject):
    """
    vtkAMRInformation - Meta data that describes the structure of an AMR
    data set
    
    Superclass: vtkObject
    
    vtkAMRInformation encapsulates the following meta information for an
    AMR data set
    - a list of vtkAMRBox objects
    - Refinement ratio between AMR levels
    - Grid spacing for each level
    - The file block index for each block
    - parent child information, if requested
    
    @sa
    vtkOverlappingAMR, vtkAMRBox
    """
    def Audit(self): # real signature unknown; restored from __doc__
        """
        Audit(self) -> bool
        C++: bool Audit()
        
        Checks whether the meta data is internally consistent.
        """
        return False

    def ComputeIndexPair(self, index, level, id): # real signature unknown; restored from __doc__
        """
        ComputeIndexPair(self, index:int, level:int, id:int) -> None
        C++: void ComputeIndexPair(unsigned int index,
            unsigned int &level, unsigned int &id)
        
        Returns the an index pair given a single index
        """
        pass

    def DeepCopy(self, other): # real signature unknown; restored from __doc__
        """
        DeepCopy(self, other:vtkAMRInformation) -> None
        C++: void DeepCopy(vtkAMRInformation *other)
        """
        pass

    def FindCell(self, q, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        FindCell(self, q:[float, float, float], level:int, index:int,
            cellIdx:int) -> bool
        C++: bool FindCell(double q[3], unsigned int level,
            unsigned int index, int &cellIdx)
        
        Given a point q, find whether q is bounded by the data set at
        (level,index).  If it is, set cellIdx to the cell index and
        return true; otherwise return false
        """
        pass

    def FindGrid(self, q, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        FindGrid(self, q:[float, float, float], level:int, gridId:int)
            -> bool
        C++: bool FindGrid(double q[3], int level, unsigned int &gridId)
        FindGrid(self, q:[float, float, float], level:int, gridId:int)
            -> bool
        C++: bool FindGrid(double q[3], unsigned int &level,
            unsigned int &gridId)
        
        find the grid that contains the point q at the specified level
        """
        pass

    def GenerateParentChildInformation(self): # real signature unknown; restored from __doc__
        """
        GenerateParentChildInformation(self) -> None
        C++: void GenerateParentChildInformation()
        
        Generate the parent/child relationships - needed to be called
        before GetParents or GetChildren can be used!
        """
        pass

    def GenerateRefinementRatio(self): # real signature unknown; restored from __doc__
        """
        GenerateRefinementRatio(self) -> None
        C++: void GenerateRefinementRatio()
        
        This method computes the refinement ratio at each level. At each
        level, l, the refinement ratio r_l is computed by r_l = D_{l} /
        D_{l+1}, where D_{l+1} and D_{l} are the grid spacings at the
        next and current level respectively.
        
        * .SECTION Assumptions
        * 1) Within each level, the refinement ratios are the same for
          all blocks.
        * 2) The refinement ratio is uniform along each dimension of the
          block.
        """
        pass

    def GetAMRBlockSourceIndex(self, index): # real signature unknown; restored from __doc__
        """
        GetAMRBlockSourceIndex(self, index:int) -> int
        C++: int GetAMRBlockSourceIndex(int index)
        
        Get/Set the SourceIndex of a block. Typically, this is a
        file-type specific index that can be used by a reader to load a
        particular file block
        """
        return 0

    def GetAMRBox(self, level, id): # real signature unknown; restored from __doc__
        """
        GetAMRBox(self, level:int, id:int) -> vtkAMRBox
        C++: const vtkAMRBox &GetAMRBox(unsigned int level,
            unsigned int id)
        """
        return vtkAMRBox

    def GetBounds(self): # real signature unknown; restored from __doc__
        """
        GetBounds(self) -> Pointer
        C++: const double *GetBounds()
        GetBounds(self, level:int, id:int, bb:[float, ...]) -> None
        C++: void GetBounds(unsigned int level, unsigned int id,
            double *bb)
        
        Returns the bounds of the entire domain
        """
        pass

    def GetChildren(self, level, index, numChildren): # real signature unknown; restored from __doc__
        """
        GetChildren(self, level:int, index:int, numChildren:int)
            -> Pointer
        C++: unsigned int *GetChildren(unsigned int level,
            unsigned int index, unsigned int &numChildren)
        
        Return a pointer to Children of a block.  The first entry is the
        number of children the block has followed by its children ids in
        level+1. If none exits it returns nullptr.
        """
        pass

    def GetCoarsenedAMRBox(self, level, id, box): # real signature unknown; restored from __doc__
        """
        GetCoarsenedAMRBox(self, level:int, id:int, box:vtkAMRBox) -> bool
        C++: bool GetCoarsenedAMRBox(unsigned int level, unsigned int id,
            vtkAMRBox &box)
        
        return the amr box coarsened to the previous level
        """
        return False

    def GetGridDescription(self): # real signature unknown; restored from __doc__
        """
        GetGridDescription(self) -> int
        C++: virtual int GetGridDescription()
        
        returns the value of vtkUniformGrid::GridDescription() of any
        block
        """
        return 0

    def GetIndex(self, level, id): # real signature unknown; restored from __doc__
        """
        GetIndex(self, level:int, id:int) -> int
        C++: int GetIndex(unsigned int level, unsigned int id)
        
        Returns the single index from a pair of indices
        """
        return 0

    def GetNumberOfDataSets(self, level): # real signature unknown; restored from __doc__
        """
        GetNumberOfDataSets(self, level:int) -> int
        C++: unsigned int GetNumberOfDataSets(unsigned int level)
        
        Returns the number of datasets at the given levelx
        """
        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 GetNumberOfLevels(self): # real signature unknown; restored from __doc__
        """
        GetNumberOfLevels(self) -> int
        C++: unsigned int GetNumberOfLevels()
        
        Return the number of levels
        """
        return 0

    def GetNumBlocks(self): # real signature unknown; restored from __doc__
        """
        GetNumBlocks(self) -> (int, ...)
        C++: const std::vector<int> &GetNumBlocks()
        
        Returns internal arrays.
        """
        pass

    def GetOrigin(self, origin, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        GetOrigin(self, origin:[float, float, float]) -> None
        C++: void GetOrigin(double origin[3])
        GetOrigin(self) -> Pointer
        C++: double *GetOrigin()
        GetOrigin(self, level:int, id:int, origin:[float, ...]) -> bool
        C++: bool GetOrigin(unsigned int level, unsigned int id,
            double *origin)
        
        Get the AMR dataset origin The origin is essentially the minimum
        of all the grids.
        """
        pass

    def GetParents(self, level, index, numParents): # real signature unknown; restored from __doc__
        """
        GetParents(self, level:int, index:int, numParents:int) -> Pointer
        C++: unsigned int *GetParents(unsigned int level,
            unsigned int index, unsigned int &numParents)
        
        Return a pointer to Parents of a block.  The first entry is the
        number of parents the block has followed by its parent ids in
        level-1. If none exits it returns nullptr.
        """
        pass

    def GetRefinementRatio(self, level): # real signature unknown; restored from __doc__
        """
        GetRefinementRatio(self, level:int) -> int
        C++: int GetRefinementRatio(unsigned int level)
        
        Returns the refinement of a given level.
        """
        return 0

    def GetSpacing(self, level, spacing, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        GetSpacing(self, level:int, spacing:[float, float, float]) -> None
        C++: void GetSpacing(unsigned int level, double spacing[3])
        
        Return the spacing at the given fiven
        """
        pass

    def GetTotalNumberOfBlocks(self): # real signature unknown; restored from __doc__
        """
        GetTotalNumberOfBlocks(self) -> int
        C++: unsigned int GetTotalNumberOfBlocks()
        
        Returns total number of datasets
        """
        return 0

    def HasChildrenInformation(self): # real signature unknown; restored from __doc__
        """
        HasChildrenInformation(self) -> bool
        C++: bool HasChildrenInformation()
        
        Return whether parent child information has been generated
        """
        return False

    def HasRefinementRatio(self): # real signature unknown; restored from __doc__
        """
        HasRefinementRatio(self) -> bool
        C++: bool HasRefinementRatio()
        
        Returns whether refinement ratio has been set (either by calling
        GenerateRefinementRatio() or by calling SetRefinementRatio()
        """
        return False

    def HasSpacing(self, level): # real signature unknown; restored from __doc__
        """
        HasSpacing(self, level:int) -> bool
        C++: bool HasSpacing(unsigned int level)
        """
        return False

    def Initialize(self, numLevels, blocksPerLevel, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        Initialize(self, numLevels:int, blocksPerLevel:(int, ...)) -> None
        C++: void Initialize(int numLevels, const int *blocksPerLevel)
        
        Initialize the meta information numLevels is the number of levels
        blocksPerLevel[i] is the number of blocks at level i
        """
        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) -> vtkAMRInformation
        C++: vtkAMRInformation *NewInstance()
        """
        return vtkAMRInformation

    def PrintParentChildInfo(self, level, index): # real signature unknown; restored from __doc__
        """
        PrintParentChildInfo(self, level:int, index:int) -> None
        C++: void PrintParentChildInfo(unsigned int level,
            unsigned int index)
        
        Prints the parents and children of a requested block (Debug
        Routine)
        """
        pass

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkAMRInformation
        C++: static vtkAMRInformation *SafeDownCast(vtkObjectBase *o)
        """
        return vtkAMRInformation

    def SetAMRBlockSourceIndex(self, index, sourceId): # real signature unknown; restored from __doc__
        """
        SetAMRBlockSourceIndex(self, index:int, sourceId:int) -> None
        C++: void SetAMRBlockSourceIndex(int index, int sourceId)
        """
        pass

    def SetAMRBox(self, level, id, box): # real signature unknown; restored from __doc__
        """
        SetAMRBox(self, level:int, id:int, box:vtkAMRBox) -> None
        C++: void SetAMRBox(unsigned int level, unsigned int id,
            const vtkAMRBox &box)
        
        Methods to set and get the AMR box at a given position
        """
        pass

    def SetGridDescription(self, description): # real signature unknown; restored from __doc__
        """
        SetGridDescription(self, description:int) -> None
        C++: void SetGridDescription(int description)
        """
        pass

    def SetOrigin(self, origin, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        SetOrigin(self, origin:(float, ...)) -> None
        C++: void SetOrigin(const double *origin)
        """
        pass

    def SetRefinementRatio(self, level, ratio): # real signature unknown; restored from __doc__
        """
        SetRefinementRatio(self, level:int, ratio:int) -> None
        C++: void SetRefinementRatio(unsigned int level, int ratio)
        
        Set the refinement ratio at a level. This method should be called
        for all levels, if called at all.
        """
        pass

    def SetSpacing(self, level, h, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        SetSpacing(self, level:int, h:(float, ...)) -> None
        C++: void SetSpacing(unsigned int level, const double *h)
        
        Set the spacing at a given level
        """
        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__': 'vtkAMRInformation', 'IsTypeOf': <method 'IsTypeOf' of 'vtkmodules.vtkCommonDataModel.vtkAMRInformation' objects>, 'IsA': <method 'IsA' of 'vtkmodules.vtkCommonDataModel.vtkAMRInformation' objects>, 'SafeDownCast': <method 'SafeDownCast' of 'vtkmodules.vtkCommonDataModel.vtkAMRInformation' objects>, 'NewInstance': <method 'NewInstance' of 'vtkmodules.vtkCommonDataModel.vtkAMRInformation' objects>, 'GetNumberOfGenerationsFromBaseType': <method 'GetNumberOfGenerationsFromBaseType' of 'vtkmodules.vtkCommonDataModel.vtkAMRInformation' objects>, 'GetNumberOfGenerationsFromBase': <method 'GetNumberOfGenerationsFromBase' of 'vtkmodules.vtkCommonDataModel.vtkAMRInformation' objects>, 'Initialize': <method 'Initialize' of 'vtkmodules.vtkCommonDataModel.vtkAMRInformation' objects>, 'GetGridDescription': <method 'GetGridDescription' of 'vtkmodules.vtkCommonDataModel.vtkAMRInformation' objects>, 'SetGridDescription': <method 'SetGridDescription' of 'vtkmodules.vtkCommonDataModel.vtkAMRInformation' objects>, 'GetOrigin': <method 'GetOrigin' of 'vtkmodules.vtkCommonDataModel.vtkAMRInformation' objects>, 'SetOrigin': <method 'SetOrigin' of 'vtkmodules.vtkCommonDataModel.vtkAMRInformation' objects>, 'GetNumberOfLevels': <method 'GetNumberOfLevels' of 'vtkmodules.vtkCommonDataModel.vtkAMRInformation' objects>, 'GetNumberOfDataSets': <method 'GetNumberOfDataSets' of 'vtkmodules.vtkCommonDataModel.vtkAMRInformation' objects>, 'GetTotalNumberOfBlocks': <method 'GetTotalNumberOfBlocks' of 'vtkmodules.vtkCommonDataModel.vtkAMRInformation' objects>, 'GetIndex': <method 'GetIndex' of 'vtkmodules.vtkCommonDataModel.vtkAMRInformation' objects>, 'ComputeIndexPair': <method 'ComputeIndexPair' of 'vtkmodules.vtkCommonDataModel.vtkAMRInformation' objects>, 'GetBounds': <method 'GetBounds' of 'vtkmodules.vtkCommonDataModel.vtkAMRInformation' objects>, 'GetSpacing': <method 'GetSpacing' of 'vtkmodules.vtkCommonDataModel.vtkAMRInformation' objects>, 'HasSpacing': <method 'HasSpacing' of 'vtkmodules.vtkCommonDataModel.vtkAMRInformation' objects>, 'SetAMRBox': <method 'SetAMRBox' of 'vtkmodules.vtkCommonDataModel.vtkAMRInformation' objects>, 'GetAMRBox': <method 'GetAMRBox' of 'vtkmodules.vtkCommonDataModel.vtkAMRInformation' objects>, 'GetCoarsenedAMRBox': <method 'GetCoarsenedAMRBox' of 'vtkmodules.vtkCommonDataModel.vtkAMRInformation' objects>, 'GetAMRBlockSourceIndex': <method 'GetAMRBlockSourceIndex' of 'vtkmodules.vtkCommonDataModel.vtkAMRInformation' objects>, 'SetAMRBlockSourceIndex': <method 'SetAMRBlockSourceIndex' of 'vtkmodules.vtkCommonDataModel.vtkAMRInformation' objects>, 'GenerateRefinementRatio': <method 'GenerateRefinementRatio' of 'vtkmodules.vtkCommonDataModel.vtkAMRInformation' objects>, 'HasRefinementRatio': <method 'HasRefinementRatio' of 'vtkmodules.vtkCommonDataModel.vtkAMRInformation' objects>, 'SetRefinementRatio': <method 'SetRefinementRatio' of 'vtkmodules.vtkCommonDataModel.vtkAMRInformation' objects>, 'GetRefinementRatio': <method 'GetRefinementRatio' of 'vtkmodules.vtkCommonDataModel.vtkAMRInformation' objects>, 'SetSpacing': <method 'SetSpacing' of 'vtkmodules.vtkCommonDataModel.vtkAMRInformation' objects>, 'HasChildrenInformation': <method 'HasChildrenInformation' of 'vtkmodules.vtkCommonDataModel.vtkAMRInformation' objects>, 'GetParents': <method 'GetParents' of 'vtkmodules.vtkCommonDataModel.vtkAMRInformation' objects>, 'GetChildren': <method 'GetChildren' of 'vtkmodules.vtkCommonDataModel.vtkAMRInformation' objects>, 'PrintParentChildInfo': <method 'PrintParentChildInfo' of 'vtkmodules.vtkCommonDataModel.vtkAMRInformation' objects>, 'GenerateParentChildInformation': <method 'GenerateParentChildInformation' of 'vtkmodules.vtkCommonDataModel.vtkAMRInformation' objects>, 'Audit': <method 'Audit' of 'vtkmodules.vtkCommonDataModel.vtkAMRInformation' objects>, 'FindCell': <method 'FindCell' of 'vtkmodules.vtkCommonDataModel.vtkAMRInformation' objects>, 'FindGrid': <method 'FindGrid' of 'vtkmodules.vtkCommonDataModel.vtkAMRInformation' objects>, 'GetNumBlocks': <method 'GetNumBlocks' of 'vtkmodules.vtkCommonDataModel.vtkAMRInformation' objects>, 'DeepCopy': <method 'DeepCopy' of 'vtkmodules.vtkCommonDataModel.vtkAMRInformation' objects>, '__new__': <built-in method __new__ of type object at 0x00007FF81D659320>, '__repr__': <slot wrapper '__repr__' of 'vtkmodules.vtkCommonDataModel.vtkAMRInformation' objects>, '__str__': <slot wrapper '__str__' of 'vtkmodules.vtkCommonDataModel.vtkAMRInformation' objects>, '__getattribute__': <slot wrapper '__getattribute__' of 'vtkmodules.vtkCommonDataModel.vtkAMRInformation' objects>, '__setattr__': <slot wrapper '__setattr__' of 'vtkmodules.vtkCommonDataModel.vtkAMRInformation' objects>, '__delattr__': <slot wrapper '__delattr__' of 'vtkmodules.vtkCommonDataModel.vtkAMRInformation' objects>, '__dict__': <attribute '__dict__' of 'vtkmodules.vtkCommonDataModel.vtkAMRInformation' objects>, '__this__': <attribute '__this__' of 'vtkmodules.vtkCommonDataModel.vtkAMRInformation' objects>, '__doc__': 'vtkAMRInformation - Meta data that describes the structure of an AMR\\ndata set\\n\\nSuperclass: vtkObject\\n\\nvtkAMRInformation encapsulates the following meta information for an\\nAMR data set\\n- a list of vtkAMRBox objects\\n- Refinement ratio between AMR levels\\n- Grid spacing for each level\\n- The file block index for each block\\n- parent child information, if requested\\n\\n@sa\\nvtkOverlappingAMR, vtkAMRBox\\n\\n'})"
    __vtkname__ = 'vtkAMRInformation'


