# 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 .vtkImplicitFunction import vtkImplicitFunction

class vtkSpheres(vtkImplicitFunction):
    """
    vtkSpheres - implicit function for a set of spheres
    
    Superclass: vtkImplicitFunction
    
    vtkSpheres computes the implicit function and function gradient for a
    set of spheres. The spheres are combined via a union operation (i.e.,
    the minimum value from the evaluation of all spheres is taken).
    
    The function value is the distance of a point to the closest sphere,
    with negative values interior to the spheres, positive outside the
    spheres, and distance=0 on the spheres surface.  The function
    gradient is the sphere normal at the function value.
    
    @sa
    vtkPlanes vtkImplicitBoolean
    """
    def EvaluateFunction(self, x, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        EvaluateFunction(self, x:[float, float, float]) -> float
        C++: double EvaluateFunction(double x[3]) override;
        EvaluateFunction(self, input:vtkDataArray, output:vtkDataArray)
            -> None
        C++: virtual void EvaluateFunction(vtkDataArray *input,
            vtkDataArray *output)
        EvaluateFunction(self, x:float, y:float, z:float) -> float
        C++: virtual double EvaluateFunction(double x, double y, double z)
        
        Evaluate function at position x-y-z and return value.  You should
        generally not call this method directly, you should use
        FunctionValue() instead.  This method must be implemented by any
        derived class.
        """
        pass

    def EvaluateGradient(self, x, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        EvaluateGradient(self, x:[float, float, float], n:[float, float,
            float]) -> None
        C++: void EvaluateGradient(double x[3], double n[3]) override;
        
        Evaluate spheres gradient. Gradients point towards the outside of
        the spheres.
        """
        pass

    def GetCenters(self): # real signature unknown; restored from __doc__
        """
        GetCenters(self) -> vtkPoints
        C++: virtual vtkPoints *GetCenters()
        """
        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 GetNumberOfSpheres(self): # real signature unknown; restored from __doc__
        """
        GetNumberOfSpheres(self) -> int
        C++: int GetNumberOfSpheres()
        
        Return the number of spheres in the set of spheres.
        """
        return 0

    def GetRadii(self): # real signature unknown; restored from __doc__
        """
        GetRadii(self) -> vtkDataArray
        C++: virtual vtkDataArray *GetRadii()
        """
        pass

    def GetSphere(self, i): # real signature unknown; restored from __doc__
        """
        GetSphere(self, i:int) -> vtkSphere
        C++: vtkSphere *GetSphere(int i)
        GetSphere(self, i:int, sphere:vtkSphere) -> None
        C++: void GetSphere(int i, vtkSphere *sphere)
        
        Create and return a pointer to a vtkSphere object at the ith
        position. Asking for a sphere outside the allowable range returns
        nullptr.  This method always returns the same object. 
        Alternatively use GetSphere(int i, vtkSphere *sphere) to update a
        user supplied sphere.
        """
        return vtkSphere

    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) -> vtkSpheres
        C++: vtkSpheres *NewInstance()
        """
        return vtkSpheres

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkSpheres
        C++: static vtkSpheres *SafeDownCast(vtkObjectBase *o)
        """
        return vtkSpheres

    def SetCenters(self, __a): # real signature unknown; restored from __doc__
        """
        SetCenters(self, __a:vtkPoints) -> None
        C++: virtual void SetCenters(vtkPoints *)
        
        Specify a list of points defining sphere centers.
        """
        pass

    def SetRadii(self, radii): # real signature unknown; restored from __doc__
        """
        SetRadii(self, radii:vtkDataArray) -> None
        C++: void SetRadii(vtkDataArray *radii)
        
        Specify a list of radii for the spheres. There is a one-to-one
        correspondence between sphere points and sphere radii.
        """
        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__': 'vtkSpheres', 'IsTypeOf': <method 'IsTypeOf' of 'vtkmodules.vtkCommonDataModel.vtkSpheres' objects>, 'IsA': <method 'IsA' of 'vtkmodules.vtkCommonDataModel.vtkSpheres' objects>, 'SafeDownCast': <method 'SafeDownCast' of 'vtkmodules.vtkCommonDataModel.vtkSpheres' objects>, 'NewInstance': <method 'NewInstance' of 'vtkmodules.vtkCommonDataModel.vtkSpheres' objects>, 'GetNumberOfGenerationsFromBaseType': <method 'GetNumberOfGenerationsFromBaseType' of 'vtkmodules.vtkCommonDataModel.vtkSpheres' objects>, 'GetNumberOfGenerationsFromBase': <method 'GetNumberOfGenerationsFromBase' of 'vtkmodules.vtkCommonDataModel.vtkSpheres' objects>, 'EvaluateFunction': <method 'EvaluateFunction' of 'vtkmodules.vtkCommonDataModel.vtkSpheres' objects>, 'EvaluateGradient': <method 'EvaluateGradient' of 'vtkmodules.vtkCommonDataModel.vtkSpheres' objects>, 'SetCenters': <method 'SetCenters' of 'vtkmodules.vtkCommonDataModel.vtkSpheres' objects>, 'GetCenters': <method 'GetCenters' of 'vtkmodules.vtkCommonDataModel.vtkSpheres' objects>, 'SetRadii': <method 'SetRadii' of 'vtkmodules.vtkCommonDataModel.vtkSpheres' objects>, 'GetRadii': <method 'GetRadii' of 'vtkmodules.vtkCommonDataModel.vtkSpheres' objects>, 'GetNumberOfSpheres': <method 'GetNumberOfSpheres' of 'vtkmodules.vtkCommonDataModel.vtkSpheres' objects>, 'GetSphere': <method 'GetSphere' of 'vtkmodules.vtkCommonDataModel.vtkSpheres' objects>, '__new__': <built-in method __new__ of type object at 0x00007FF81D64CFE0>, '__repr__': <slot wrapper '__repr__' of 'vtkmodules.vtkCommonDataModel.vtkSpheres' objects>, '__str__': <slot wrapper '__str__' of 'vtkmodules.vtkCommonDataModel.vtkSpheres' objects>, '__getattribute__': <slot wrapper '__getattribute__' of 'vtkmodules.vtkCommonDataModel.vtkSpheres' objects>, '__setattr__': <slot wrapper '__setattr__' of 'vtkmodules.vtkCommonDataModel.vtkSpheres' objects>, '__delattr__': <slot wrapper '__delattr__' of 'vtkmodules.vtkCommonDataModel.vtkSpheres' objects>, '__dict__': <attribute '__dict__' of 'vtkmodules.vtkCommonDataModel.vtkSpheres' objects>, '__this__': <attribute '__this__' of 'vtkmodules.vtkCommonDataModel.vtkSpheres' objects>, '__doc__': 'vtkSpheres - implicit function for a set of spheres\\n\\nSuperclass: vtkImplicitFunction\\n\\nvtkSpheres computes the implicit function and function gradient for a\\nset of spheres. The spheres are combined via a union operation (i.e.,\\nthe minimum value from the evaluation of all spheres is taken).\\n\\nThe function value is the distance of a point to the closest sphere,\\nwith negative values interior to the spheres, positive outside the\\nspheres, and distance=0 on the spheres surface.  The function\\ngradient is the sphere normal at the function value.\\n\\n@sa\\nvtkPlanes vtkImplicitBoolean\\n\\n'})"
    __vtkname__ = 'vtkSpheres'


