# 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 .vtkFindCellStrategy import vtkFindCellStrategy

class vtkClosestPointStrategy(vtkFindCellStrategy):
    """
    vtkClosestPointStrategy - implement a specific
    vtkPointSet::FindCell() strategy based
             on closest point
    
    Superclass: vtkFindCellStrategy
    
    vtkClosestPointStrategy is implements a FindCell() strategy based on
    locating the closest point in a dataset, and then searching the
    attached cells. While relatively fast, it does not always return the
    correct result (it may not find a cell, since the closest cell may
    not be connected to the closest point). vtkCellLocatorStrategy or
    vtkClosestNPointsStrategy will produce better results at the cost of
    speed.
    
    @sa
    vtkFindCellStrategy vtkPointSet vtkCellLocatorStrategy
    vtkClosestNPointsStrategy
    """
    def CopyParameters(self, from_): # real signature unknown; restored from __doc__
        """
        CopyParameters(self, from_:vtkFindCellStrategy) -> None
        C++: void CopyParameters(vtkFindCellStrategy *from) override;
        
        Copy essential parameters between instances of this class. This
        generally is used to copy from instance prototype to another, or
        to copy strategies between thread instances.  Sub-classes can
        contribute to the parameter copying process via chaining.
        """
        pass

    def FindCell(self, x, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        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;
        
        Implement the specific strategy. This method should only be
        called after the Initialize() method has been invoked.
        """
        pass

    def FindClosestPointWithinRadius(self, x, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        FindClosestPointWithinRadius(self, x:[float, float, float],
            radius:float, closestPoint:[float, float, float],
            cell:vtkGenericCell, cellId:int, subId:int, dist2:float,
            inside:int) -> int
        C++: vtkIdType FindClosestPointWithinRadius(double x[3],
            double radius, double closestPoint[3], vtkGenericCell *cell,
            vtkIdType &cellId, int &subId, double &dist2, int &inside)
            override;
        
        Implement the specific strategy. This method should only be
        called after the Initialize() method has been invoked.
        """
        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 GetPointLocator(self): # real signature unknown; restored from __doc__
        """
        GetPointLocator(self) -> vtkAbstractPointLocator
        C++: virtual vtkAbstractPointLocator *GetPointLocator()
        """
        return vtkAbstractPointLocator

    def Initialize(self, ps): # real signature unknown; restored from __doc__
        """
        Initialize(self, ps:vtkPointSet) -> int
        C++: int Initialize(vtkPointSet *ps) override;
        
        Provide the necessary initialization method (see superclass for
        more information). This method sets up the point locator,
        vtkPointSet relationship. It will use the vtkPointSet's default
        locator if not defined by SetPointLocator() below.
        """
        return 0

    def InsideCellBounds(self, x, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        InsideCellBounds(self, x:[float, float, float], cellId:int)
            -> bool
        C++: bool InsideCellBounds(double x[3], vtkIdType cellId)
            override;
        
        Implement the specific strategy.
        """
        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) -> vtkClosestPointStrategy
        C++: vtkClosestPointStrategy *NewInstance()
        """
        return vtkClosestPointStrategy

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkClosestPointStrategy
        C++: static vtkClosestPointStrategy *SafeDownCast(
            vtkObjectBase *o)
        """
        return vtkClosestPointStrategy

    def SelectCell(self, self_, cellId, cell, gencell): # real signature unknown; restored from __doc__
        """
        SelectCell(self, self_:vtkPointSet, cellId:int, cell:vtkCell,
            gencell:vtkGenericCell) -> vtkCell
        C++: vtkCell *SelectCell(vtkPointSet *self, vtkIdType cellId,
            vtkCell *cell, vtkGenericCell *gencell)
        
        Subclasses use this method to select the current cell.
        """
        return vtkCell

    def SetPointLocator(self, __a): # real signature unknown; restored from __doc__
        """
        SetPointLocator(self, __a:vtkAbstractPointLocator) -> None
        C++: virtual void SetPointLocator(vtkAbstractPointLocator *)
        
        Set / get an instance of vtkAbstractPointLocator which is used to
        implement the strategy for FindCell(). Note if a locator is not
        specified, then the default locator instantiated by the
        vtkPointSet provided in the Initialize() method is used.
        """
        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__': 'vtkClosestPointStrategy', 'IsTypeOf': <method 'IsTypeOf' of 'vtkmodules.vtkCommonDataModel.vtkClosestPointStrategy' objects>, 'IsA': <method 'IsA' of 'vtkmodules.vtkCommonDataModel.vtkClosestPointStrategy' objects>, 'SafeDownCast': <method 'SafeDownCast' of 'vtkmodules.vtkCommonDataModel.vtkClosestPointStrategy' objects>, 'NewInstance': <method 'NewInstance' of 'vtkmodules.vtkCommonDataModel.vtkClosestPointStrategy' objects>, 'GetNumberOfGenerationsFromBaseType': <method 'GetNumberOfGenerationsFromBaseType' of 'vtkmodules.vtkCommonDataModel.vtkClosestPointStrategy' objects>, 'GetNumberOfGenerationsFromBase': <method 'GetNumberOfGenerationsFromBase' of 'vtkmodules.vtkCommonDataModel.vtkClosestPointStrategy' objects>, 'Initialize': <method 'Initialize' of 'vtkmodules.vtkCommonDataModel.vtkClosestPointStrategy' objects>, 'FindCell': <method 'FindCell' of 'vtkmodules.vtkCommonDataModel.vtkClosestPointStrategy' objects>, 'FindClosestPointWithinRadius': <method 'FindClosestPointWithinRadius' of 'vtkmodules.vtkCommonDataModel.vtkClosestPointStrategy' objects>, 'InsideCellBounds': <method 'InsideCellBounds' of 'vtkmodules.vtkCommonDataModel.vtkClosestPointStrategy' objects>, 'SetPointLocator': <method 'SetPointLocator' of 'vtkmodules.vtkCommonDataModel.vtkClosestPointStrategy' objects>, 'GetPointLocator': <method 'GetPointLocator' of 'vtkmodules.vtkCommonDataModel.vtkClosestPointStrategy' objects>, 'SelectCell': <method 'SelectCell' of 'vtkmodules.vtkCommonDataModel.vtkClosestPointStrategy' objects>, 'CopyParameters': <method 'CopyParameters' of 'vtkmodules.vtkCommonDataModel.vtkClosestPointStrategy' objects>, '__new__': <built-in method __new__ of type object at 0x00007FF81D616CF0>, '__repr__': <slot wrapper '__repr__' of 'vtkmodules.vtkCommonDataModel.vtkClosestPointStrategy' objects>, '__str__': <slot wrapper '__str__' of 'vtkmodules.vtkCommonDataModel.vtkClosestPointStrategy' objects>, '__getattribute__': <slot wrapper '__getattribute__' of 'vtkmodules.vtkCommonDataModel.vtkClosestPointStrategy' objects>, '__setattr__': <slot wrapper '__setattr__' of 'vtkmodules.vtkCommonDataModel.vtkClosestPointStrategy' objects>, '__delattr__': <slot wrapper '__delattr__' of 'vtkmodules.vtkCommonDataModel.vtkClosestPointStrategy' objects>, '__dict__': <attribute '__dict__' of 'vtkmodules.vtkCommonDataModel.vtkClosestPointStrategy' objects>, '__this__': <attribute '__this__' of 'vtkmodules.vtkCommonDataModel.vtkClosestPointStrategy' objects>, '__doc__': 'vtkClosestPointStrategy - implement a specific\\nvtkPointSet::FindCell() strategy based\\n         on closest point\\n\\nSuperclass: vtkFindCellStrategy\\n\\nvtkClosestPointStrategy is implements a FindCell() strategy based on\\nlocating the closest point in a dataset, and then searching the\\nattached cells. While relatively fast, it does not always return the\\ncorrect result (it may not find a cell, since the closest cell may\\nnot be connected to the closest point). vtkCellLocatorStrategy or\\nvtkClosestNPointsStrategy will produce better results at the cost of\\nspeed.\\n\\n@sa\\nvtkFindCellStrategy vtkPointSet vtkCellLocatorStrategy\\nvtkClosestNPointsStrategy\\n\\n'})"
    __vtkname__ = 'vtkClosestPointStrategy'


