# 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 vtkImplicitBoolean(vtkImplicitFunction):
    """
    vtkImplicitBoolean - implicit function consisting of boolean
    combinations of implicit functions
    
    Superclass: vtkImplicitFunction
    
    vtkImplicitBoolean is an implicit function consisting of boolean
    combinations of implicit functions. The class has a list of functions
    (FunctionList) that are combined according to a specified operator
    (VTK_UNION or VTK_INTERSECTION or VTK_DIFFERENCE). You can use nested
    combinations of vtkImplicitFunction's (and/or vtkImplicitBoolean) to
    create elaborate implicit functions.  vtkImplicitBoolean is a
    concrete implementation of vtkImplicitFunction.
    
    The operators work as follows. The VTK_UNION operator takes the
    minimum value of all implicit functions. The VTK_INTERSECTION
    operator takes the maximum value of all implicit functions. The
    VTK_DIFFERENCE operator subtracts the 2nd through last implicit
    functions from the first. The VTK_UNION_OF_MAGNITUDES takes the
    minimum absolute value of the implicit functions.
    """
    def AddFunction(self, in_): # real signature unknown; restored from __doc__
        """
        AddFunction(self, in_:vtkImplicitFunction) -> None
        C++: void AddFunction(vtkImplicitFunction *in)
        
        Add another implicit function to the list of functions.
        """
        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], g:[float, float,
            float]) -> None
        C++: void EvaluateGradient(double x[3], double g[3]) override;
        
        Evaluate gradient of boolean combination.
        """
        pass

    def GetFunction(self): # real signature unknown; restored from __doc__
        """
        GetFunction(self) -> vtkImplicitFunctionCollection
        C++: vtkImplicitFunctionCollection *GetFunction()
        
        Return the collection of implicit functions.
        """
        return vtkImplicitFunctionCollection

    def GetMTime(self): # real signature unknown; restored from __doc__
        """
        GetMTime(self) -> int
        C++: vtkMTimeType GetMTime() override;
        
        Override modified time retrieval because of object dependencies.
        """
        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 GetOperationType(self): # real signature unknown; restored from __doc__
        """
        GetOperationType(self) -> int
        C++: virtual int GetOperationType()
        """
        return 0

    def GetOperationTypeAsString(self): # real signature unknown; restored from __doc__
        """
        GetOperationTypeAsString(self) -> str
        C++: const char *GetOperationTypeAsString()
        """
        return ""

    def GetOperationTypeMaxValue(self): # real signature unknown; restored from __doc__
        """
        GetOperationTypeMaxValue(self) -> int
        C++: virtual int GetOperationTypeMaxValue()
        """
        return 0

    def GetOperationTypeMinValue(self): # real signature unknown; restored from __doc__
        """
        GetOperationTypeMinValue(self) -> int
        C++: virtual int GetOperationTypeMinValue()
        """
        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) -> vtkImplicitBoolean
        C++: vtkImplicitBoolean *NewInstance()
        """
        return vtkImplicitBoolean

    def RemoveFunction(self, in_): # real signature unknown; restored from __doc__
        """
        RemoveFunction(self, in_:vtkImplicitFunction) -> None
        C++: void RemoveFunction(vtkImplicitFunction *in)
        
        Remove a function from the list of implicit functions to boolean.
        """
        pass

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkImplicitBoolean
        C++: static vtkImplicitBoolean *SafeDownCast(vtkObjectBase *o)
        """
        return vtkImplicitBoolean

    def SetOperationType(self, _arg): # real signature unknown; restored from __doc__
        """
        SetOperationType(self, _arg:int) -> None
        C++: virtual void SetOperationType(int _arg)
        
        Specify the type of boolean operation.
        """
        pass

    def SetOperationTypeToDifference(self): # real signature unknown; restored from __doc__
        """
        SetOperationTypeToDifference(self) -> None
        C++: void SetOperationTypeToDifference()
        """
        pass

    def SetOperationTypeToIntersection(self): # real signature unknown; restored from __doc__
        """
        SetOperationTypeToIntersection(self) -> None
        C++: void SetOperationTypeToIntersection()
        """
        pass

    def SetOperationTypeToUnion(self): # real signature unknown; restored from __doc__
        """
        SetOperationTypeToUnion(self) -> None
        C++: void SetOperationTypeToUnion()
        """
        pass

    def SetOperationTypeToUnionOfMagnitudes(self): # real signature unknown; restored from __doc__
        """
        SetOperationTypeToUnionOfMagnitudes(self) -> None
        C++: void SetOperationTypeToUnionOfMagnitudes()
        """
        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."""


    OperationType = None # (!) real value is "<class 'vtkmodules.vtkCommonDataModel.vtkImplicitBoolean.OperationType'>"
    VTK_DIFFERENCE = 2
    VTK_INTERSECTION = 1
    VTK_UNION = 0
    VTK_UNION_OF_MAGNITUDES = 3
    __dict__ = None # (!) real value is 'mappingproxy({\'__vtkname__\': \'vtkImplicitBoolean\', \'IsTypeOf\': <method \'IsTypeOf\' of \'vtkmodules.vtkCommonDataModel.vtkImplicitBoolean\' objects>, \'IsA\': <method \'IsA\' of \'vtkmodules.vtkCommonDataModel.vtkImplicitBoolean\' objects>, \'SafeDownCast\': <method \'SafeDownCast\' of \'vtkmodules.vtkCommonDataModel.vtkImplicitBoolean\' objects>, \'NewInstance\': <method \'NewInstance\' of \'vtkmodules.vtkCommonDataModel.vtkImplicitBoolean\' objects>, \'GetNumberOfGenerationsFromBaseType\': <method \'GetNumberOfGenerationsFromBaseType\' of \'vtkmodules.vtkCommonDataModel.vtkImplicitBoolean\' objects>, \'GetNumberOfGenerationsFromBase\': <method \'GetNumberOfGenerationsFromBase\' of \'vtkmodules.vtkCommonDataModel.vtkImplicitBoolean\' objects>, \'EvaluateFunction\': <method \'EvaluateFunction\' of \'vtkmodules.vtkCommonDataModel.vtkImplicitBoolean\' objects>, \'EvaluateGradient\': <method \'EvaluateGradient\' of \'vtkmodules.vtkCommonDataModel.vtkImplicitBoolean\' objects>, \'GetMTime\': <method \'GetMTime\' of \'vtkmodules.vtkCommonDataModel.vtkImplicitBoolean\' objects>, \'AddFunction\': <method \'AddFunction\' of \'vtkmodules.vtkCommonDataModel.vtkImplicitBoolean\' objects>, \'RemoveFunction\': <method \'RemoveFunction\' of \'vtkmodules.vtkCommonDataModel.vtkImplicitBoolean\' objects>, \'GetFunction\': <method \'GetFunction\' of \'vtkmodules.vtkCommonDataModel.vtkImplicitBoolean\' objects>, \'SetOperationType\': <method \'SetOperationType\' of \'vtkmodules.vtkCommonDataModel.vtkImplicitBoolean\' objects>, \'GetOperationTypeMinValue\': <method \'GetOperationTypeMinValue\' of \'vtkmodules.vtkCommonDataModel.vtkImplicitBoolean\' objects>, \'GetOperationTypeMaxValue\': <method \'GetOperationTypeMaxValue\' of \'vtkmodules.vtkCommonDataModel.vtkImplicitBoolean\' objects>, \'GetOperationType\': <method \'GetOperationType\' of \'vtkmodules.vtkCommonDataModel.vtkImplicitBoolean\' objects>, \'SetOperationTypeToUnion\': <method \'SetOperationTypeToUnion\' of \'vtkmodules.vtkCommonDataModel.vtkImplicitBoolean\' objects>, \'SetOperationTypeToIntersection\': <method \'SetOperationTypeToIntersection\' of \'vtkmodules.vtkCommonDataModel.vtkImplicitBoolean\' objects>, \'SetOperationTypeToDifference\': <method \'SetOperationTypeToDifference\' of \'vtkmodules.vtkCommonDataModel.vtkImplicitBoolean\' objects>, \'SetOperationTypeToUnionOfMagnitudes\': <method \'SetOperationTypeToUnionOfMagnitudes\' of \'vtkmodules.vtkCommonDataModel.vtkImplicitBoolean\' objects>, \'GetOperationTypeAsString\': <method \'GetOperationTypeAsString\' of \'vtkmodules.vtkCommonDataModel.vtkImplicitBoolean\' objects>, \'OperationType\': <class \'vtkmodules.vtkCommonDataModel.vtkImplicitBoolean.OperationType\'>, \'VTK_UNION\': 0, \'VTK_INTERSECTION\': 1, \'VTK_DIFFERENCE\': 2, \'VTK_UNION_OF_MAGNITUDES\': 3, \'__new__\': <built-in method __new__ of type object at 0x00007FF81D631340>, \'__repr__\': <slot wrapper \'__repr__\' of \'vtkmodules.vtkCommonDataModel.vtkImplicitBoolean\' objects>, \'__str__\': <slot wrapper \'__str__\' of \'vtkmodules.vtkCommonDataModel.vtkImplicitBoolean\' objects>, \'__getattribute__\': <slot wrapper \'__getattribute__\' of \'vtkmodules.vtkCommonDataModel.vtkImplicitBoolean\' objects>, \'__setattr__\': <slot wrapper \'__setattr__\' of \'vtkmodules.vtkCommonDataModel.vtkImplicitBoolean\' objects>, \'__delattr__\': <slot wrapper \'__delattr__\' of \'vtkmodules.vtkCommonDataModel.vtkImplicitBoolean\' objects>, \'__dict__\': <attribute \'__dict__\' of \'vtkmodules.vtkCommonDataModel.vtkImplicitBoolean\' objects>, \'__this__\': <attribute \'__this__\' of \'vtkmodules.vtkCommonDataModel.vtkImplicitBoolean\' objects>, \'__doc__\': "vtkImplicitBoolean - implicit function consisting of boolean\\ncombinations of implicit functions\\n\\nSuperclass: vtkImplicitFunction\\n\\nvtkImplicitBoolean is an implicit function consisting of boolean\\ncombinations of implicit functions. The class has a list of functions\\n(FunctionList) that are combined according to a specified operator\\n(VTK_UNION or VTK_INTERSECTION or VTK_DIFFERENCE). You can use nested\\ncombinations of vtkImplicitFunction\'s (and/or vtkImplicitBoolean) to\\ncreate elaborate implicit functions.  vtkImplicitBoolean is a\\nconcrete implementation of vtkImplicitFunction.\\n\\nThe operators work as follows. The VTK_UNION operator takes the\\nminimum value of all implicit functions. The VTK_INTERSECTION\\noperator takes the maximum value of all implicit functions. The\\nVTK_DIFFERENCE operator subtracts the 2nd through last implicit\\nfunctions from the first. The VTK_UNION_OF_MAGNITUDES takes the\\nminimum absolute value of the implicit functions.\\n\\n"})'
    __vtkname__ = 'vtkImplicitBoolean'


