# encoding: utf-8
# module vtkmodules.vtkInteractionWidgets
# from C:\Users\xukai\Downloads\发票2\venv\Lib\site-packages\vtkmodules\vtkInteractionWidgets.cp311-win_amd64.pyd
# by generator 1.147
# no doc

# imports
import vtkmodules.vtkCommonCore as __vtkmodules_vtkCommonCore
import vtkmodules.vtkCommonExecutionModel as __vtkmodules_vtkCommonExecutionModel
import vtkmodules.vtkFiltersSources as __vtkmodules_vtkFiltersSources
import vtkmodules.vtkRenderingContext2D as __vtkmodules_vtkRenderingContext2D
import vtkmodules.vtkRenderingCore as __vtkmodules_vtkRenderingCore


class vtkEqualizerContextItem(__vtkmodules_vtkRenderingContext2D.vtkContextItem):
    """
    vtkEqualizerContextItem - draws a interactive polyline
    
    Superclass: vtkContextItem
    
    This is a vtkContextItem that can be placed into a vtkContextScene.
    It draws a polyline, and reacts to mouse events. Initially there are
    2 points at the ends of the line. Provides the ability to add,
    remove, and move anchor points. This is not a universal polyline and
    is designed to adjust the reference points for the digital signal
    processing algorithm. So there are a number of features for
    interacting with the line:
    - the horizontal axis is frequencies; the values are of the integer
      type and cannot be negative
    - the vertical axis is the gains; the values are of the double type
      and cannot be negative
    - each reference point is limited by the values of neighboring points
    on the x-axis
    """
    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 GetPoints(self): # real signature unknown; restored from __doc__
        """
        GetPoints(self) -> str
        C++: std::string GetPoints()
        
        Set / Get anchor points in the following format "P1x,P1y;P2x,P2y; ...
        PNx,PNy;" where X denotes the frequency, typeid(x) = int and Y
        denotes the gain, typeid(y) = float "0,1;500,1;" by default
        """
        return ""

    def Hit(self, mouse): # real signature unknown; restored from __doc__
        """
        Hit(self, mouse:vtkContextMouseEvent) -> bool
        C++: bool Hit(const vtkContextMouseEvent &mouse) override;
        
        Return true if the supplied x, y coordinate is inside the item.
        """
        return False

    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 MouseButtonPressEvent(self, mouse): # real signature unknown; restored from __doc__
        """
        MouseButtonPressEvent(self, mouse:vtkContextMouseEvent) -> bool
        C++: bool MouseButtonPressEvent(const vtkContextMouseEvent &mouse)
             override;
        
        Mouse button down event Return true if the item holds the event,
        false if the event can be propagated to other items.
        """
        return False

    def MouseButtonReleaseEvent(self, mouse): # real signature unknown; restored from __doc__
        """
        MouseButtonReleaseEvent(self, mouse:vtkContextMouseEvent) -> bool
        C++: bool MouseButtonReleaseEvent(
            const vtkContextMouseEvent &mouse) override;
        
        Mouse button release event. Return true if the item holds the
        event, false if the event can be propagated to other items.
        """
        return False

    def MouseEnterEvent(self, mouse): # real signature unknown; restored from __doc__
        """
        MouseEnterEvent(self, mouse:vtkContextMouseEvent) -> bool
        C++: bool MouseEnterEvent(const vtkContextMouseEvent &mouse)
            override;
        
        Mouse enter event. Return true if the item holds the event, false
        if the event can be propagated to other items.
        """
        return False

    def MouseLeaveEvent(self, mouse): # real signature unknown; restored from __doc__
        """
        MouseLeaveEvent(self, mouse:vtkContextMouseEvent) -> bool
        C++: bool MouseLeaveEvent(const vtkContextMouseEvent &mouse)
            override;
        
        Mouse leave event. Return true if the item holds the event, false
        if the event can be propagated to other items.
        """
        return False

    def MouseMoveEvent(self, mouse): # real signature unknown; restored from __doc__
        """
        MouseMoveEvent(self, mouse:vtkContextMouseEvent) -> bool
        C++: bool MouseMoveEvent(const vtkContextMouseEvent &mouse)
            override;
        
        Mouse move event. Return true if the item holds the event, false
        if the event can be propagated to other items.
        """
        return False

    def NewInstance(self): # real signature unknown; restored from __doc__
        """
        NewInstance(self) -> vtkEqualizerContextItem
        C++: vtkEqualizerContextItem *NewInstance()
        """
        return vtkEqualizerContextItem

    def Paint(self, painter): # real signature unknown; restored from __doc__
        """
        Paint(self, painter:vtkContext2D) -> bool
        C++: bool Paint(vtkContext2D *painter) override;
        
        Paint event for the item, called whenever the item needs to be
        drawn.
        """
        return False

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkEqualizerContextItem
        C++: static vtkEqualizerContextItem *SafeDownCast(
            vtkObjectBase *o)
        """
        return vtkEqualizerContextItem

    def SetPoints(self, points): # real signature unknown; restored from __doc__
        """
        SetPoints(self, points:str) -> None
        C++: void SetPoints(const std::string &points)
        
        Set / Get anchor points in the following format "P1x,P1y;P2x,P2y; ...
        PNx,PNy;" where X denotes the frequency, typeid(x) = int and Y
        denotes the gain, typeid(y) = float "0,1;500,1;" by default
        """
        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__': 'vtkEqualizerContextItem', 'IsTypeOf': <method 'IsTypeOf' of 'vtkmodules.vtkInteractionWidgets.vtkEqualizerContextItem' objects>, 'IsA': <method 'IsA' of 'vtkmodules.vtkInteractionWidgets.vtkEqualizerContextItem' objects>, 'SafeDownCast': <method 'SafeDownCast' of 'vtkmodules.vtkInteractionWidgets.vtkEqualizerContextItem' objects>, 'NewInstance': <method 'NewInstance' of 'vtkmodules.vtkInteractionWidgets.vtkEqualizerContextItem' objects>, 'GetNumberOfGenerationsFromBaseType': <method 'GetNumberOfGenerationsFromBaseType' of 'vtkmodules.vtkInteractionWidgets.vtkEqualizerContextItem' objects>, 'GetNumberOfGenerationsFromBase': <method 'GetNumberOfGenerationsFromBase' of 'vtkmodules.vtkInteractionWidgets.vtkEqualizerContextItem' objects>, 'Paint': <method 'Paint' of 'vtkmodules.vtkInteractionWidgets.vtkEqualizerContextItem' objects>, 'Hit': <method 'Hit' of 'vtkmodules.vtkInteractionWidgets.vtkEqualizerContextItem' objects>, 'MouseEnterEvent': <method 'MouseEnterEvent' of 'vtkmodules.vtkInteractionWidgets.vtkEqualizerContextItem' objects>, 'MouseMoveEvent': <method 'MouseMoveEvent' of 'vtkmodules.vtkInteractionWidgets.vtkEqualizerContextItem' objects>, 'MouseLeaveEvent': <method 'MouseLeaveEvent' of 'vtkmodules.vtkInteractionWidgets.vtkEqualizerContextItem' objects>, 'MouseButtonPressEvent': <method 'MouseButtonPressEvent' of 'vtkmodules.vtkInteractionWidgets.vtkEqualizerContextItem' objects>, 'MouseButtonReleaseEvent': <method 'MouseButtonReleaseEvent' of 'vtkmodules.vtkInteractionWidgets.vtkEqualizerContextItem' objects>, 'SetPoints': <method 'SetPoints' of 'vtkmodules.vtkInteractionWidgets.vtkEqualizerContextItem' objects>, 'GetPoints': <method 'GetPoints' of 'vtkmodules.vtkInteractionWidgets.vtkEqualizerContextItem' objects>, '__new__': <built-in method __new__ of type object at 0x00007FF81D648540>, '__repr__': <slot wrapper '__repr__' of 'vtkmodules.vtkInteractionWidgets.vtkEqualizerContextItem' objects>, '__str__': <slot wrapper '__str__' of 'vtkmodules.vtkInteractionWidgets.vtkEqualizerContextItem' objects>, '__getattribute__': <slot wrapper '__getattribute__' of 'vtkmodules.vtkInteractionWidgets.vtkEqualizerContextItem' objects>, '__setattr__': <slot wrapper '__setattr__' of 'vtkmodules.vtkInteractionWidgets.vtkEqualizerContextItem' objects>, '__delattr__': <slot wrapper '__delattr__' of 'vtkmodules.vtkInteractionWidgets.vtkEqualizerContextItem' objects>, '__dict__': <attribute '__dict__' of 'vtkmodules.vtkInteractionWidgets.vtkEqualizerContextItem' objects>, '__this__': <attribute '__this__' of 'vtkmodules.vtkInteractionWidgets.vtkEqualizerContextItem' objects>, '__doc__': 'vtkEqualizerContextItem - draws a interactive polyline\\n\\nSuperclass: vtkContextItem\\n\\nThis is a vtkContextItem that can be placed into a vtkContextScene.\\nIt draws a polyline, and reacts to mouse events. Initially there are\\n2 points at the ends of the line. Provides the ability to add,\\nremove, and move anchor points. This is not a universal polyline and\\nis designed to adjust the reference points for the digital signal\\nprocessing algorithm. So there are a number of features for\\ninteracting with the line:\\n- the horizontal axis is frequencies; the values are of the integer\\n  type and cannot be negative\\n- the vertical axis is the gains; the values are of the double type\\n  and cannot be negative\\n- each reference point is limited by the values of neighboring points\\non the x-axis\\n\\n'})"
    __vtkname__ = 'vtkEqualizerContextItem'


