# 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 vtkKdTreePointLocator(vtkAbstractPointLocator):
    """
    vtkKdTreePointLocator - class to quickly locate points in 3-space
    
    Superclass: vtkAbstractPointLocator
    
    vtkKdTreePointLocator is a wrapper class that derives from
    vtkAbstractPointLocator and calls the search functions in vtkKdTree.
    
    @sa
    vtkKdTree
    """
    def BuildLocator(self): # real signature unknown; restored from __doc__
        """
        BuildLocator(self) -> None
        C++: void BuildLocator() override;
        
        Build the locator from the input dataset. 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 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;
        
        Given a position x, return the id of the point closest to it.
        Alternative method requires separate x-y-z values. These methods
        are thread safe if BuildLocator() is directly or indirectly
        called from a single thread first.
        """
        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 FindPointsWithinRadius(self, R, x, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        FindPointsWithinRadius(self, R:float, x:(float, float, float),
            result:vtkIdList) -> None
        C++: void FindPointsWithinRadius(double R, const double x[3],
            vtkIdList *result) override;
        
        Find all points within a specified radius R of position x. The
        result is not sorted in any specific manner. These methods are
        thread safe if BuildLocator() is directly or indirectly called
        from a single thread first.
        """
        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).
        
        This function is not pure virtual to maintain backwards
        compatibility.
        """
        pass

    def FreeSearchStructure(self): # real signature unknown; restored from __doc__
        """
        FreeSearchStructure(self) -> None
        C++: void FreeSearchStructure() override;
        
        See vtkLocator interface documentation. These methods are not
        thread safe.
        """
        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;
        
        Method to build a representation at a particular level. Note that
        the method GetLevel() returns the maximum number of levels
        available for the tree. You must provide a vtkPolyData object
        into which to place the data.
        """
        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 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) -> vtkKdTreePointLocator
        C++: vtkKdTreePointLocator *NewInstance()
        """
        return vtkKdTreePointLocator

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkKdTreePointLocator
        C++: static vtkKdTreePointLocator *SafeDownCast(vtkObjectBase *o)
        """
        return vtkKdTreePointLocator

    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__': 'vtkKdTreePointLocator', 'IsTypeOf': <method 'IsTypeOf' of 'vtkmodules.vtkCommonDataModel.vtkKdTreePointLocator' objects>, 'IsA': <method 'IsA' of 'vtkmodules.vtkCommonDataModel.vtkKdTreePointLocator' objects>, 'SafeDownCast': <method 'SafeDownCast' of 'vtkmodules.vtkCommonDataModel.vtkKdTreePointLocator' objects>, 'NewInstance': <method 'NewInstance' of 'vtkmodules.vtkCommonDataModel.vtkKdTreePointLocator' objects>, 'GetNumberOfGenerationsFromBaseType': <method 'GetNumberOfGenerationsFromBaseType' of 'vtkmodules.vtkCommonDataModel.vtkKdTreePointLocator' objects>, 'GetNumberOfGenerationsFromBase': <method 'GetNumberOfGenerationsFromBase' of 'vtkmodules.vtkCommonDataModel.vtkKdTreePointLocator' objects>, 'FindClosestPoint': <method 'FindClosestPoint' of 'vtkmodules.vtkCommonDataModel.vtkKdTreePointLocator' objects>, 'FindClosestPointWithinRadius': <method 'FindClosestPointWithinRadius' of 'vtkmodules.vtkCommonDataModel.vtkKdTreePointLocator' objects>, 'FindClosestNPoints': <method 'FindClosestNPoints' of 'vtkmodules.vtkCommonDataModel.vtkKdTreePointLocator' objects>, 'FindPointsWithinRadius': <method 'FindPointsWithinRadius' of 'vtkmodules.vtkCommonDataModel.vtkKdTreePointLocator' objects>, 'FreeSearchStructure': <method 'FreeSearchStructure' of 'vtkmodules.vtkCommonDataModel.vtkKdTreePointLocator' objects>, 'BuildLocator': <method 'BuildLocator' of 'vtkmodules.vtkCommonDataModel.vtkKdTreePointLocator' objects>, 'ForceBuildLocator': <method 'ForceBuildLocator' of 'vtkmodules.vtkCommonDataModel.vtkKdTreePointLocator' objects>, 'GenerateRepresentation': <method 'GenerateRepresentation' of 'vtkmodules.vtkCommonDataModel.vtkKdTreePointLocator' objects>, '__new__': <built-in method __new__ of type object at 0x00007FF81D636610>, '__repr__': <slot wrapper '__repr__' of 'vtkmodules.vtkCommonDataModel.vtkKdTreePointLocator' objects>, '__str__': <slot wrapper '__str__' of 'vtkmodules.vtkCommonDataModel.vtkKdTreePointLocator' objects>, '__getattribute__': <slot wrapper '__getattribute__' of 'vtkmodules.vtkCommonDataModel.vtkKdTreePointLocator' objects>, '__setattr__': <slot wrapper '__setattr__' of 'vtkmodules.vtkCommonDataModel.vtkKdTreePointLocator' objects>, '__delattr__': <slot wrapper '__delattr__' of 'vtkmodules.vtkCommonDataModel.vtkKdTreePointLocator' objects>, '__dict__': <attribute '__dict__' of 'vtkmodules.vtkCommonDataModel.vtkKdTreePointLocator' objects>, '__this__': <attribute '__this__' of 'vtkmodules.vtkCommonDataModel.vtkKdTreePointLocator' objects>, '__doc__': 'vtkKdTreePointLocator - class to quickly locate points in 3-space\\n\\nSuperclass: vtkAbstractPointLocator\\n\\nvtkKdTreePointLocator is a wrapper class that derives from\\nvtkAbstractPointLocator and calls the search functions in vtkKdTree.\\n\\n@sa\\nvtkKdTree\\n\\n'})"
    __vtkname__ = 'vtkKdTreePointLocator'


