# 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 vtkImplicitSelectionLoop(vtkImplicitFunction):
    """
    vtkImplicitSelectionLoop - implicit function for a selection loop
    
    Superclass: vtkImplicitFunction
    
    vtkImplicitSelectionLoop computes the implicit function value and
    function gradient for an irregular, cylinder-like object whose cross
    section is defined by a set of points forming a loop. The loop need
    not be convex nor its points coplanar. However, the loop must be
    non-self-intersecting when projected onto the plane defined by the
    accumulated cross product around the loop (i.e., the axis of the
    loop). (Alternatively, you can specify the normal to use.)
    
    The following procedure is used to compute the implicit function
    value for a point x. Each point of the loop is first projected onto
    the plane defined by the loop normal. This forms a polygon. Then, to
    evaluate the implicit function value, inside/outside tests are used
    to determine if x is inside the polygon, and the distance to the loop
    boundary is computed (negative values are inside the loop).
    
    One example application of this implicit function class is to draw a
    loop on the surface of a mesh, and use the loop to clip or extract
    cells from within the loop. Remember, the selection loop is
    "infinite" in length, you can use a plane (in boolean combination) to
    cap the extent of the selection loop. Another trick is to use a
    connectivity filter to extract the closest region to a given point
    (i.e., one of the points used to define the selection loop).
    
    @sa
    vtkImplicitFunction vtkImplicitBoolean vtkExtractGeometry
    vtkClipPolyData vtkConnectivityFilter vtkPolyDataConnectivityFilter
    """
    def AutomaticNormalGenerationOff(self): # real signature unknown; restored from __doc__
        """
        AutomaticNormalGenerationOff(self) -> None
        C++: virtual void AutomaticNormalGenerationOff()
        """
        pass

    def AutomaticNormalGenerationOn(self): # real signature unknown; restored from __doc__
        """
        AutomaticNormalGenerationOn(self) -> None
        C++: virtual void AutomaticNormalGenerationOn()
        """
        pass

    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 selection loop returning the gradient.
        """
        pass

    def GetAutomaticNormalGeneration(self): # real signature unknown; restored from __doc__
        """
        GetAutomaticNormalGeneration(self) -> int
        C++: virtual vtkTypeBool GetAutomaticNormalGeneration()
        """
        return 0

    def GetLoop(self): # real signature unknown; restored from __doc__
        """
        GetLoop(self) -> vtkPoints
        C++: virtual vtkPoints *GetLoop()
        """
        pass

    def GetMTime(self): # real signature unknown; restored from __doc__
        """
        GetMTime(self) -> int
        C++: vtkMTimeType GetMTime() override;
        
        Overload GetMTime() because we depend on the Loop
        """
        return 0

    def GetNormal(self): # real signature unknown; restored from __doc__
        """
        GetNormal(self) -> (float, float, float)
        C++: virtual double *GetNormal()
        """
        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) -> vtkImplicitSelectionLoop
        C++: vtkImplicitSelectionLoop *NewInstance()
        """
        return vtkImplicitSelectionLoop

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkImplicitSelectionLoop
        C++: static vtkImplicitSelectionLoop *SafeDownCast(
            vtkObjectBase *o)
        """
        return vtkImplicitSelectionLoop

    def SetAutomaticNormalGeneration(self, _arg): # real signature unknown; restored from __doc__
        """
        SetAutomaticNormalGeneration(self, _arg:int) -> None
        C++: virtual void SetAutomaticNormalGeneration(vtkTypeBool _arg)
        
        Turn on/off automatic normal generation. By default, the normal
        is computed from the accumulated cross product of the edges. You
        can also specify the normal to use.
        """
        pass

    def SetLoop(self, __a): # real signature unknown; restored from __doc__
        """
        SetLoop(self, __a:vtkPoints) -> None
        C++: virtual void SetLoop(vtkPoints *)
        
        Set/Get the array of point coordinates defining the loop. There
        must be at least three points used to define a loop.
        """
        pass

    def SetNormal(self, _arg1, _arg2, _arg3): # real signature unknown; restored from __doc__
        """
        SetNormal(self, _arg1:float, _arg2:float, _arg3:float) -> None
        C++: virtual void SetNormal(double _arg1, double _arg2,
            double _arg3)
        SetNormal(self, _arg:(float, float, float)) -> None
        C++: virtual void SetNormal(const double _arg[3])
        
        Set / get the normal used to determine whether a point is inside
        or outside the selection loop.
        """
        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__\': \'vtkImplicitSelectionLoop\', \'IsTypeOf\': <method \'IsTypeOf\' of \'vtkmodules.vtkCommonDataModel.vtkImplicitSelectionLoop\' objects>, \'IsA\': <method \'IsA\' of \'vtkmodules.vtkCommonDataModel.vtkImplicitSelectionLoop\' objects>, \'SafeDownCast\': <method \'SafeDownCast\' of \'vtkmodules.vtkCommonDataModel.vtkImplicitSelectionLoop\' objects>, \'NewInstance\': <method \'NewInstance\' of \'vtkmodules.vtkCommonDataModel.vtkImplicitSelectionLoop\' objects>, \'GetNumberOfGenerationsFromBaseType\': <method \'GetNumberOfGenerationsFromBaseType\' of \'vtkmodules.vtkCommonDataModel.vtkImplicitSelectionLoop\' objects>, \'GetNumberOfGenerationsFromBase\': <method \'GetNumberOfGenerationsFromBase\' of \'vtkmodules.vtkCommonDataModel.vtkImplicitSelectionLoop\' objects>, \'EvaluateFunction\': <method \'EvaluateFunction\' of \'vtkmodules.vtkCommonDataModel.vtkImplicitSelectionLoop\' objects>, \'EvaluateGradient\': <method \'EvaluateGradient\' of \'vtkmodules.vtkCommonDataModel.vtkImplicitSelectionLoop\' objects>, \'SetLoop\': <method \'SetLoop\' of \'vtkmodules.vtkCommonDataModel.vtkImplicitSelectionLoop\' objects>, \'GetLoop\': <method \'GetLoop\' of \'vtkmodules.vtkCommonDataModel.vtkImplicitSelectionLoop\' objects>, \'SetAutomaticNormalGeneration\': <method \'SetAutomaticNormalGeneration\' of \'vtkmodules.vtkCommonDataModel.vtkImplicitSelectionLoop\' objects>, \'GetAutomaticNormalGeneration\': <method \'GetAutomaticNormalGeneration\' of \'vtkmodules.vtkCommonDataModel.vtkImplicitSelectionLoop\' objects>, \'AutomaticNormalGenerationOn\': <method \'AutomaticNormalGenerationOn\' of \'vtkmodules.vtkCommonDataModel.vtkImplicitSelectionLoop\' objects>, \'AutomaticNormalGenerationOff\': <method \'AutomaticNormalGenerationOff\' of \'vtkmodules.vtkCommonDataModel.vtkImplicitSelectionLoop\' objects>, \'SetNormal\': <method \'SetNormal\' of \'vtkmodules.vtkCommonDataModel.vtkImplicitSelectionLoop\' objects>, \'GetNormal\': <method \'GetNormal\' of \'vtkmodules.vtkCommonDataModel.vtkImplicitSelectionLoop\' objects>, \'GetMTime\': <method \'GetMTime\' of \'vtkmodules.vtkCommonDataModel.vtkImplicitSelectionLoop\' objects>, \'__new__\': <built-in method __new__ of type object at 0x00007FF81D632510>, \'__repr__\': <slot wrapper \'__repr__\' of \'vtkmodules.vtkCommonDataModel.vtkImplicitSelectionLoop\' objects>, \'__str__\': <slot wrapper \'__str__\' of \'vtkmodules.vtkCommonDataModel.vtkImplicitSelectionLoop\' objects>, \'__getattribute__\': <slot wrapper \'__getattribute__\' of \'vtkmodules.vtkCommonDataModel.vtkImplicitSelectionLoop\' objects>, \'__setattr__\': <slot wrapper \'__setattr__\' of \'vtkmodules.vtkCommonDataModel.vtkImplicitSelectionLoop\' objects>, \'__delattr__\': <slot wrapper \'__delattr__\' of \'vtkmodules.vtkCommonDataModel.vtkImplicitSelectionLoop\' objects>, \'__dict__\': <attribute \'__dict__\' of \'vtkmodules.vtkCommonDataModel.vtkImplicitSelectionLoop\' objects>, \'__this__\': <attribute \'__this__\' of \'vtkmodules.vtkCommonDataModel.vtkImplicitSelectionLoop\' objects>, \'__doc__\': \'vtkImplicitSelectionLoop - implicit function for a selection loop\\n\\nSuperclass: vtkImplicitFunction\\n\\nvtkImplicitSelectionLoop computes the implicit function value and\\nfunction gradient for an irregular, cylinder-like object whose cross\\nsection is defined by a set of points forming a loop. The loop need\\nnot be convex nor its points coplanar. However, the loop must be\\nnon-self-intersecting when projected onto the plane defined by the\\naccumulated cross product around the loop (i.e., the axis of the\\nloop). (Alternatively, you can specify the normal to use.)\\n\\nThe following procedure is used to compute the implicit function\\nvalue for a point x. Each point of the loop is first projected onto\\nthe plane defined by the loop normal. This forms a polygon. Then, to\\nevaluate the implicit function value, inside/outside tests are used\\nto determine if x is inside the polygon, and the distance to the loop\\nboundary is computed (negative values are inside the loop).\\n\\nOne example application of this implicit function class is to draw a\\nloop on the surface of a mesh, and use the loop to clip or extract\\ncells from within the loop. Remember, the selection loop is\\n"infinite" in length, you can use a plane (in boolean combination) to\\ncap the extent of the selection loop. Another trick is to use a\\nconnectivity filter to extract the closest region to a given point\\n(i.e., one of the points used to define the selection loop).\\n\\n@sa\\nvtkImplicitFunction vtkImplicitBoolean vtkExtractGeometry\\nvtkClipPolyData vtkConnectivityFilter vtkPolyDataConnectivityFilter\\n\\n\'})'
    __vtkname__ = 'vtkImplicitSelectionLoop'


