# 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 .vtkAbstractPointLocator import vtkAbstractPointLocator

class vtkOctreePointLocator(vtkAbstractPointLocator):
    """
    vtkOctreePointLocator - an octree spatial decomposition of a set of
    points
    
    Superclass: vtkAbstractPointLocator
    
    Given a vtkDataSet, create an octree that is locally refined such
    that all leaf octants contain less than a certain amount of points. 
    Note that there is no size constraint that a leaf octant in relation
    to any of its neighbors.
    
    This class can also generate a PolyData representation of the
    boundaries of the spatial regions in the decomposition.
    
    @sa
    vtkLocator vtkPointLocator vtkOctreePointLocatorNode
    """
    def BuildLocator(self): # real signature unknown; restored from __doc__
        """
        BuildLocator(self) -> None
        C++: void BuildLocator() override;
        
        Create the octree decomposition of the cells of the data set or
        data sets.  Cells are assigned to octree spatial regions based on
        the location of their centroids.
        
        This will NOT do anything if UseExistingSearchStructure is on.
        """
        pass

    def FindClosestNPoints(self, N, x, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        FindClosestNPoints(self, N:int, x:(float, float, float),
            result:vtkIdList) -> None
        C++: void FindClosestNPoints(int N, const double x[3],
            vtkIdList *result) override;
        
        Find the closest N points to a position. This returns the closest
        N points to a position. A faster method could be created that
        returned N close points to a position, but not necessarily the
        exact N closest. The returned points are sorted from closest to
        farthest. These methods are thread safe if BuildLocator() is
        directly or indirectly called from a single thread first.
        """
        pass

    def FindClosestPoint(self, x, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        FindClosestPoint(self, x:(float, float, float)) -> int
        C++: vtkIdType FindClosestPoint(const double x[3]) override;
        FindClosestPoint(self, x:float, y:float, z:float, dist2:float)
            -> int
        C++: vtkIdType FindClosestPoint(double x, double y, double z,
            double &dist2)
        
        Return the Id of the point that is closest to the given point.
        Set the square of the distance between the two points.
        """
        pass

    def FindClosestPointInRegion(self, regionId, x, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        FindClosestPointInRegion(self, regionId:int, x:[float, ...],
            dist2:float) -> int
        C++: vtkIdType FindClosestPointInRegion(int regionId, double *x,
            double &dist2)
        FindClosestPointInRegion(self, regionId:int, x:float, y:float,
            z:float, dist2:float) -> int
        C++: vtkIdType FindClosestPointInRegion(int regionId, double x,
            double y, double z, double &dist2)
        
        Find the Id of the point in the given leaf region which is
        closest to the given point.  Return the ID of the point, and set
        the square of the distance of between the points.
        """
        pass

    def FindClosestPointWithinRadius(self, radius, x, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        FindClosestPointWithinRadius(self, radius:float, x:(float, float,
            float), dist2:float) -> int
        C++: vtkIdType FindClosestPointWithinRadius(double radius,
            const double x[3], double &dist2) override;
        
        Given a position x and a radius r, return the id of the point
        closest to the point in that radius. dist2 returns the squared
        distance to the point.
        """
        pass

    def FindPointsInArea(self, area, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        FindPointsInArea(self, area:[float, ...], ids:vtkIdTypeArray,
            clearArray:bool=True) -> None
        C++: void FindPointsInArea(double *area, vtkIdTypeArray *ids,
            bool clearArray=true)
        
        Fill ids with points found in area.  The area is a 6-tuple
        containing (xmin, xmax, ymin, ymax, zmin, zmax). This method will
        clear the array by default.  To append ids to an array, set
        clearArray to false.
        """
        pass

    def FindPointsWithinRadius(self, radius, x, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        FindPointsWithinRadius(self, radius:float, x:(float, float, float)
            , result:vtkIdList) -> None
        C++: void FindPointsWithinRadius(double radius, const double x[3],
             vtkIdList *result) override;
        
        Find all points within a specified radius of position x. The
        result is not sorted in any specific manner.
        """
        pass

    def ForceBuildLocator(self): # real signature unknown; restored from __doc__
        """
        ForceBuildLocator(self) -> None
        C++: void ForceBuildLocator() override;
        
        Build the locator from the input dataset (even if
        UseExistingSearchStructure is on).
        """
        pass

    def FreeSearchStructure(self): # real signature unknown; restored from __doc__
        """
        FreeSearchStructure(self) -> None
        C++: void FreeSearchStructure() override;
        
        Delete the octree data structure.
        """
        pass

    def GenerateRepresentation(self, level, pd): # real signature unknown; restored from __doc__
        """
        GenerateRepresentation(self, level:int, pd:vtkPolyData) -> None
        C++: void GenerateRepresentation(int level, vtkPolyData *pd)
            override;
        
        Create a polydata representation of the boundaries of the octree
        regions.
        """
        pass

    def GetBounds(self): # real signature unknown; restored from __doc__
        """
        GetBounds(self) -> Pointer
        C++: double *GetBounds() override;
        GetBounds(self, bounds:[float, ...]) -> None
        C++: void GetBounds(double *bounds) override;
        
        Get the spatial bounds of the entire octree space. Sets bounds
        array to xmin, xmax, ymin, ymax, zmin, zmax.
        """
        pass

    def GetCreateCubicOctants(self): # real signature unknown; restored from __doc__
        """
        GetCreateCubicOctants(self) -> int
        C++: virtual int GetCreateCubicOctants()
        """
        return 0

    def GetFudgeFactor(self): # real signature unknown; restored from __doc__
        """
        GetFudgeFactor(self) -> float
        C++: virtual double GetFudgeFactor()
        
        Some algorithms on octrees require a value that is a very small
        distance relative to the diameter of the entire space divided by
        the octree.  This factor is the maximum axis-aligned width of the
        space multiplied by 10e-6.
        """
        return 0.0

    def GetMaximumPointsPerRegion(self): # real signature unknown; restored from __doc__
        """
        GetMaximumPointsPerRegion(self) -> int
        C++: virtual int GetMaximumPointsPerRegion()
        """
        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 GetNumberOfLeafNodes(self): # real signature unknown; restored from __doc__
        """
        GetNumberOfLeafNodes(self) -> int
        C++: virtual int GetNumberOfLeafNodes()
        
        The number of leaf nodes of the tree, the spatial regions
        """
        return 0

    def GetPointsInRegion(self, leafNodeId): # real signature unknown; restored from __doc__
        """
        GetPointsInRegion(self, leafNodeId:int) -> vtkIdTypeArray
        C++: vtkIdTypeArray *GetPointsInRegion(int leafNodeId)
        
        Get a list of the original IDs of all points in a leaf node.
        """
        pass

    def GetRegionBounds(self, regionID, bounds, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        GetRegionBounds(self, regionID:int, bounds:[float, float, float,
            float, float, float]) -> None
        C++: void GetRegionBounds(int regionID, double bounds[6])
        
        Get the spatial bounds of octree region
        """
        pass

    def GetRegionContainingPoint(self, x, y, z): # real signature unknown; restored from __doc__
        """
        GetRegionContainingPoint(self, x:float, y:float, z:float) -> int
        C++: int GetRegionContainingPoint(double x, double y, double z)
        
        Get the id of the leaf region containing the specified location.
        """
        return 0

    def GetRegionDataBounds(self, leafNodeID, bounds, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        GetRegionDataBounds(self, leafNodeID:int, bounds:[float, float,
            float, float, float, float]) -> None
        C++: void GetRegionDataBounds(int leafNodeID, double bounds[6])
        
        Get the bounds of the data within the leaf node
        """
        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) -> vtkOctreePointLocator
        C++: vtkOctreePointLocator *NewInstance()
        """
        return vtkOctreePointLocator

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkOctreePointLocator
        C++: static vtkOctreePointLocator *SafeDownCast(vtkObjectBase *o)
        """
        return vtkOctreePointLocator

    def SetCreateCubicOctants(self, _arg): # real signature unknown; restored from __doc__
        """
        SetCreateCubicOctants(self, _arg:int) -> None
        C++: virtual void SetCreateCubicOctants(int _arg)
        
        Get/Set macro for CreateCubicOctants.
        """
        pass

    def SetFudgeFactor(self, _arg): # real signature unknown; restored from __doc__
        """
        SetFudgeFactor(self, _arg:float) -> None
        C++: virtual void SetFudgeFactor(double _arg)
        """
        pass

    def SetMaximumPointsPerRegion(self, _arg): # real signature unknown; restored from __doc__
        """
        SetMaximumPointsPerRegion(self, _arg:int) -> None
        C++: virtual void SetMaximumPointsPerRegion(int _arg)
        
        Maximum number of points per spatial region.  Default is 100.
        """
        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__': 'vtkOctreePointLocator', 'IsTypeOf': <method 'IsTypeOf' of 'vtkmodules.vtkCommonDataModel.vtkOctreePointLocator' objects>, 'IsA': <method 'IsA' of 'vtkmodules.vtkCommonDataModel.vtkOctreePointLocator' objects>, 'SafeDownCast': <method 'SafeDownCast' of 'vtkmodules.vtkCommonDataModel.vtkOctreePointLocator' objects>, 'NewInstance': <method 'NewInstance' of 'vtkmodules.vtkCommonDataModel.vtkOctreePointLocator' objects>, 'GetNumberOfGenerationsFromBaseType': <method 'GetNumberOfGenerationsFromBaseType' of 'vtkmodules.vtkCommonDataModel.vtkOctreePointLocator' objects>, 'GetNumberOfGenerationsFromBase': <method 'GetNumberOfGenerationsFromBase' of 'vtkmodules.vtkCommonDataModel.vtkOctreePointLocator' objects>, 'SetMaximumPointsPerRegion': <method 'SetMaximumPointsPerRegion' of 'vtkmodules.vtkCommonDataModel.vtkOctreePointLocator' objects>, 'GetMaximumPointsPerRegion': <method 'GetMaximumPointsPerRegion' of 'vtkmodules.vtkCommonDataModel.vtkOctreePointLocator' objects>, 'SetCreateCubicOctants': <method 'SetCreateCubicOctants' of 'vtkmodules.vtkCommonDataModel.vtkOctreePointLocator' objects>, 'GetCreateCubicOctants': <method 'GetCreateCubicOctants' of 'vtkmodules.vtkCommonDataModel.vtkOctreePointLocator' objects>, 'GetFudgeFactor': <method 'GetFudgeFactor' of 'vtkmodules.vtkCommonDataModel.vtkOctreePointLocator' objects>, 'SetFudgeFactor': <method 'SetFudgeFactor' of 'vtkmodules.vtkCommonDataModel.vtkOctreePointLocator' objects>, 'GetBounds': <method 'GetBounds' of 'vtkmodules.vtkCommonDataModel.vtkOctreePointLocator' objects>, 'GetNumberOfLeafNodes': <method 'GetNumberOfLeafNodes' of 'vtkmodules.vtkCommonDataModel.vtkOctreePointLocator' objects>, 'GetRegionBounds': <method 'GetRegionBounds' of 'vtkmodules.vtkCommonDataModel.vtkOctreePointLocator' objects>, 'GetRegionDataBounds': <method 'GetRegionDataBounds' of 'vtkmodules.vtkCommonDataModel.vtkOctreePointLocator' objects>, 'GetRegionContainingPoint': <method 'GetRegionContainingPoint' of 'vtkmodules.vtkCommonDataModel.vtkOctreePointLocator' objects>, 'BuildLocator': <method 'BuildLocator' of 'vtkmodules.vtkCommonDataModel.vtkOctreePointLocator' objects>, 'ForceBuildLocator': <method 'ForceBuildLocator' of 'vtkmodules.vtkCommonDataModel.vtkOctreePointLocator' objects>, 'FindClosestPoint': <method 'FindClosestPoint' of 'vtkmodules.vtkCommonDataModel.vtkOctreePointLocator' objects>, 'FindClosestPointWithinRadius': <method 'FindClosestPointWithinRadius' of 'vtkmodules.vtkCommonDataModel.vtkOctreePointLocator' objects>, 'FindClosestPointInRegion': <method 'FindClosestPointInRegion' of 'vtkmodules.vtkCommonDataModel.vtkOctreePointLocator' objects>, 'FindPointsWithinRadius': <method 'FindPointsWithinRadius' of 'vtkmodules.vtkCommonDataModel.vtkOctreePointLocator' objects>, 'FindClosestNPoints': <method 'FindClosestNPoints' of 'vtkmodules.vtkCommonDataModel.vtkOctreePointLocator' objects>, 'GetPointsInRegion': <method 'GetPointsInRegion' of 'vtkmodules.vtkCommonDataModel.vtkOctreePointLocator' objects>, 'FreeSearchStructure': <method 'FreeSearchStructure' of 'vtkmodules.vtkCommonDataModel.vtkOctreePointLocator' objects>, 'GenerateRepresentation': <method 'GenerateRepresentation' of 'vtkmodules.vtkCommonDataModel.vtkOctreePointLocator' objects>, 'FindPointsInArea': <method 'FindPointsInArea' of 'vtkmodules.vtkCommonDataModel.vtkOctreePointLocator' objects>, '__new__': <built-in method __new__ of type object at 0x00007FF81D63C0A0>, '__repr__': <slot wrapper '__repr__' of 'vtkmodules.vtkCommonDataModel.vtkOctreePointLocator' objects>, '__str__': <slot wrapper '__str__' of 'vtkmodules.vtkCommonDataModel.vtkOctreePointLocator' objects>, '__getattribute__': <slot wrapper '__getattribute__' of 'vtkmodules.vtkCommonDataModel.vtkOctreePointLocator' objects>, '__setattr__': <slot wrapper '__setattr__' of 'vtkmodules.vtkCommonDataModel.vtkOctreePointLocator' objects>, '__delattr__': <slot wrapper '__delattr__' of 'vtkmodules.vtkCommonDataModel.vtkOctreePointLocator' objects>, '__dict__': <attribute '__dict__' of 'vtkmodules.vtkCommonDataModel.vtkOctreePointLocator' objects>, '__this__': <attribute '__this__' of 'vtkmodules.vtkCommonDataModel.vtkOctreePointLocator' objects>, '__doc__': 'vtkOctreePointLocator - an octree spatial decomposition of a set of\\npoints\\n\\nSuperclass: vtkAbstractPointLocator\\n\\nGiven a vtkDataSet, create an octree that is locally refined such\\nthat all leaf octants contain less than a certain amount of points. \\nNote that there is no size constraint that a leaf octant in relation\\nto any of its neighbors.\\n\\nThis class can also generate a PolyData representation of the\\nboundaries of the spatial regions in the decomposition.\\n\\n@sa\\nvtkLocator vtkPointLocator vtkOctreePointLocatorNode\\n\\n'})"
    __vtkname__ = 'vtkOctreePointLocator'


