# 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 vtkImplicitSum(vtkImplicitFunction):
    """
    vtkImplicitSum - implicit sum of other implicit functions
    
    Superclass: vtkImplicitFunction
    
    vtkImplicitSum produces a linear combination of other implicit
    functions. The contribution of each function is weighted by a scalar
    coefficient. The NormalizeByWeight option normalizes the output so
    that the scalar weights add up to 1. Note that this function gives
    accurate sums and gradients only if the input functions are linear.
    """
    def AddFunction(self, in_, weight): # real signature unknown; restored from __doc__
        """
        AddFunction(self, in_:vtkImplicitFunction, weight:float) -> None
        C++: void AddFunction(vtkImplicitFunction *in, double weight)
        AddFunction(self, in_:vtkImplicitFunction) -> None
        C++: void AddFunction(vtkImplicitFunction *in)
        
        Add another implicit function to the list of functions, along
        with a weighting factor.
        """
        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 the weighted sum of functions.  Input
        functions should be linear.
        """
        pass

    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 GetNormalizeByWeight(self): # real signature unknown; restored from __doc__
        """
        GetNormalizeByWeight(self) -> int
        C++: virtual vtkTypeBool GetNormalizeByWeight()
        """
        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 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) -> vtkImplicitSum
        C++: vtkImplicitSum *NewInstance()
        """
        return vtkImplicitSum

    def NormalizeByWeightOff(self): # real signature unknown; restored from __doc__
        """
        NormalizeByWeightOff(self) -> None
        C++: virtual void NormalizeByWeightOff()
        """
        pass

    def NormalizeByWeightOn(self): # real signature unknown; restored from __doc__
        """
        NormalizeByWeightOn(self) -> None
        C++: virtual void NormalizeByWeightOn()
        """
        pass

    def RemoveAllFunctions(self): # real signature unknown; restored from __doc__
        """
        RemoveAllFunctions(self) -> None
        C++: void RemoveAllFunctions()
        
        Remove all functions from the list.
        """
        pass

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkImplicitSum
        C++: static vtkImplicitSum *SafeDownCast(vtkObjectBase *o)
        """
        return vtkImplicitSum

    def SetFunctionWeight(self, f, weight): # real signature unknown; restored from __doc__
        """
        SetFunctionWeight(self, f:vtkImplicitFunction, weight:float)
            -> None
        C++: void SetFunctionWeight(vtkImplicitFunction *f, double weight)
        
        Set the weight (coefficient) of the given function to be weight.
        """
        pass

    def SetNormalizeByWeight(self, _arg): # real signature unknown; restored from __doc__
        """
        SetNormalizeByWeight(self, _arg:int) -> None
        C++: virtual void SetNormalizeByWeight(vtkTypeBool _arg)
        
        When calculating the function and gradient values of the
        composite function, setting NormalizeByWeight on will divide the
        final result by the total weight of the component functions. This
        process does not otherwise normalize the gradient vector. By
        default, NormalizeByWeight is off.
        """
        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__': 'vtkImplicitSum', 'IsTypeOf': <method 'IsTypeOf' of 'vtkmodules.vtkCommonDataModel.vtkImplicitSum' objects>, 'IsA': <method 'IsA' of 'vtkmodules.vtkCommonDataModel.vtkImplicitSum' objects>, 'SafeDownCast': <method 'SafeDownCast' of 'vtkmodules.vtkCommonDataModel.vtkImplicitSum' objects>, 'NewInstance': <method 'NewInstance' of 'vtkmodules.vtkCommonDataModel.vtkImplicitSum' objects>, 'GetNumberOfGenerationsFromBaseType': <method 'GetNumberOfGenerationsFromBaseType' of 'vtkmodules.vtkCommonDataModel.vtkImplicitSum' objects>, 'GetNumberOfGenerationsFromBase': <method 'GetNumberOfGenerationsFromBase' of 'vtkmodules.vtkCommonDataModel.vtkImplicitSum' objects>, 'EvaluateFunction': <method 'EvaluateFunction' of 'vtkmodules.vtkCommonDataModel.vtkImplicitSum' objects>, 'EvaluateGradient': <method 'EvaluateGradient' of 'vtkmodules.vtkCommonDataModel.vtkImplicitSum' objects>, 'GetMTime': <method 'GetMTime' of 'vtkmodules.vtkCommonDataModel.vtkImplicitSum' objects>, 'AddFunction': <method 'AddFunction' of 'vtkmodules.vtkCommonDataModel.vtkImplicitSum' objects>, 'RemoveAllFunctions': <method 'RemoveAllFunctions' of 'vtkmodules.vtkCommonDataModel.vtkImplicitSum' objects>, 'SetFunctionWeight': <method 'SetFunctionWeight' of 'vtkmodules.vtkCommonDataModel.vtkImplicitSum' objects>, 'SetNormalizeByWeight': <method 'SetNormalizeByWeight' of 'vtkmodules.vtkCommonDataModel.vtkImplicitSum' objects>, 'GetNormalizeByWeight': <method 'GetNormalizeByWeight' of 'vtkmodules.vtkCommonDataModel.vtkImplicitSum' objects>, 'NormalizeByWeightOn': <method 'NormalizeByWeightOn' of 'vtkmodules.vtkCommonDataModel.vtkImplicitSum' objects>, 'NormalizeByWeightOff': <method 'NormalizeByWeightOff' of 'vtkmodules.vtkCommonDataModel.vtkImplicitSum' objects>, '__new__': <built-in method __new__ of type object at 0x00007FF81D6328E0>, '__repr__': <slot wrapper '__repr__' of 'vtkmodules.vtkCommonDataModel.vtkImplicitSum' objects>, '__str__': <slot wrapper '__str__' of 'vtkmodules.vtkCommonDataModel.vtkImplicitSum' objects>, '__getattribute__': <slot wrapper '__getattribute__' of 'vtkmodules.vtkCommonDataModel.vtkImplicitSum' objects>, '__setattr__': <slot wrapper '__setattr__' of 'vtkmodules.vtkCommonDataModel.vtkImplicitSum' objects>, '__delattr__': <slot wrapper '__delattr__' of 'vtkmodules.vtkCommonDataModel.vtkImplicitSum' objects>, '__dict__': <attribute '__dict__' of 'vtkmodules.vtkCommonDataModel.vtkImplicitSum' objects>, '__this__': <attribute '__this__' of 'vtkmodules.vtkCommonDataModel.vtkImplicitSum' objects>, '__doc__': 'vtkImplicitSum - implicit sum of other implicit functions\\n\\nSuperclass: vtkImplicitFunction\\n\\nvtkImplicitSum produces a linear combination of other implicit\\nfunctions. The contribution of each function is weighted by a scalar\\ncoefficient. The NormalizeByWeight option normalizes the output so\\nthat the scalar weights add up to 1. Note that this function gives\\naccurate sums and gradients only if the input functions are linear.\\n\\n'})"
    __vtkname__ = 'vtkImplicitSum'


