# 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 vtkWidgetEventTranslator(__vtkmodules_vtkCommonCore.vtkObject):
    """
    vtkWidgetEventTranslator - map VTK events into widget events
    
    Superclass: vtkObject
    
    vtkWidgetEventTranslator maps VTK events (defined on vtkCommand) into
    widget events (defined in vtkWidgetEvent.h). This class is typically
    used in combination with vtkWidgetCallbackMapper, which is
    responsible for translating widget events into method callbacks, and
    then invoking the callbacks.
    
    This class can be used to define different mappings of VTK events
    into the widget events. Thus widgets can be reconfigured to use
    different event bindings.
    
    @sa
    vtkWidgetEvent vtkCommand vtkInteractorObserver
    """
    def AddEventsToInteractor(self, __a, __b, priority): # real signature unknown; restored from __doc__
        """
        AddEventsToInteractor(self, __a:vtkRenderWindowInteractor,
            __b:vtkCallbackCommand, priority:float) -> None
        C++: void AddEventsToInteractor(vtkRenderWindowInteractor *,
            vtkCallbackCommand *, float priority)
        """
        pass

    def AddEventsToParent(self, __a, __b, priority): # real signature unknown; restored from __doc__
        """
        AddEventsToParent(self, __a:vtkAbstractWidget,
            __b:vtkCallbackCommand, priority:float) -> None
        C++: void AddEventsToParent(vtkAbstractWidget *,
            vtkCallbackCommand *, float priority)
        
        Add the events in the current translation table to the
        interactor.
        """
        pass

    def ClearEvents(self): # real signature unknown; restored from __doc__
        """
        ClearEvents(self) -> None
        C++: void ClearEvents()
        
        Clear all events from the translator (i.e., no events will be
        translated).
        """
        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 GetTranslation(self, VTKEvent): # real signature unknown; restored from __doc__
        """
        GetTranslation(self, VTKEvent:int) -> int
        C++: unsigned long GetTranslation(unsigned long VTKEvent)
        GetTranslation(self, VTKEvent:str) -> str
        C++: const char *GetTranslation(const char *VTKEvent)
        GetTranslation(self, VTKEvent:int, modifier:int, keyCode:str,
            repeatCount:int, keySym:str) -> int
        C++: unsigned long GetTranslation(unsigned long VTKEvent,
            int modifier, char keyCode, int repeatCount,
            const char *keySym)
        GetTranslation(self, VTKEvent:int, edata:vtkEventData) -> int
        C++: unsigned long GetTranslation(unsigned long VTKEvent,
            vtkEventData *edata)
        GetTranslation(self, VTKEvent:vtkEvent) -> int
        C++: unsigned long GetTranslation(vtkEvent *VTKEvent)
        
        Translate a VTK event into a widget event. If no event mapping is
        found, then the methods return vtkWidgetEvent::NoEvent or a
        nullptr string.
        """
        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) -> vtkWidgetEventTranslator
        C++: vtkWidgetEventTranslator *NewInstance()
        """
        return vtkWidgetEventTranslator

    def RemoveTranslation(self, VTKEvent, modifier, keyCode, repeatCount, keySym): # real signature unknown; restored from __doc__
        """
        RemoveTranslation(self, VTKEvent:int, modifier:int, keyCode:str,
            repeatCount:int, keySym:str) -> int
        C++: int RemoveTranslation(unsigned long VTKEvent, int modifier,
            char keyCode, int repeatCount, const char *keySym)
        RemoveTranslation(self, e:vtkEvent) -> int
        C++: int RemoveTranslation(vtkEvent *e)
        RemoveTranslation(self, e:vtkEventData) -> int
        C++: int RemoveTranslation(vtkEventData *e)
        RemoveTranslation(self, VTKEvent:int) -> int
        C++: int RemoveTranslation(unsigned long VTKEvent)
        RemoveTranslation(self, VTKEvent:str) -> int
        C++: int RemoveTranslation(const char *VTKEvent)
        
        Remove translations for a binding. Returns the number of
        translations removed.
        """
        return 0

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkWidgetEventTranslator
        C++: static vtkWidgetEventTranslator *SafeDownCast(
            vtkObjectBase *o)
        """
        return vtkWidgetEventTranslator

    def SetTranslation(self, VTKEvent, widgetEvent): # real signature unknown; restored from __doc__
        """
        SetTranslation(self, VTKEvent:int, widgetEvent:int) -> None
        C++: void SetTranslation(unsigned long VTKEvent,
            unsigned long widgetEvent)
        SetTranslation(self, VTKEvent:str, widgetEvent:str) -> None
        C++: void SetTranslation(const char *VTKEvent,
            const char *widgetEvent)
        SetTranslation(self, VTKEvent:int, modifier:int, keyCode:str,
            repeatCount:int, keySym:str, widgetEvent:int) -> None
        C++: void SetTranslation(unsigned long VTKEvent, int modifier,
            char keyCode, int repeatCount, const char *keySym,
            unsigned long widgetEvent)
        SetTranslation(self, VTKevent:vtkEvent, widgetEvent:int) -> None
        C++: void SetTranslation(vtkEvent *VTKevent,
            unsigned long widgetEvent)
        SetTranslation(self, VTKEvent:int, edata:vtkEventData,
            widgetEvent:int) -> None
        C++: void SetTranslation(unsigned long VTKEvent,
            vtkEventData *edata, unsigned long widgetEvent)
        
        Use these methods to create the translation from a VTK event to a
        widget event. Specifying vtkWidgetEvent::NoEvent or an empty
        string for the (toEvent) erases the mapping for the event.
        """
        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__': 'vtkWidgetEventTranslator', 'IsTypeOf': <method 'IsTypeOf' of 'vtkmodules.vtkInteractionWidgets.vtkWidgetEventTranslator' objects>, 'IsA': <method 'IsA' of 'vtkmodules.vtkInteractionWidgets.vtkWidgetEventTranslator' objects>, 'SafeDownCast': <method 'SafeDownCast' of 'vtkmodules.vtkInteractionWidgets.vtkWidgetEventTranslator' objects>, 'NewInstance': <method 'NewInstance' of 'vtkmodules.vtkInteractionWidgets.vtkWidgetEventTranslator' objects>, 'GetNumberOfGenerationsFromBaseType': <method 'GetNumberOfGenerationsFromBaseType' of 'vtkmodules.vtkInteractionWidgets.vtkWidgetEventTranslator' objects>, 'GetNumberOfGenerationsFromBase': <method 'GetNumberOfGenerationsFromBase' of 'vtkmodules.vtkInteractionWidgets.vtkWidgetEventTranslator' objects>, 'SetTranslation': <method 'SetTranslation' of 'vtkmodules.vtkInteractionWidgets.vtkWidgetEventTranslator' objects>, 'GetTranslation': <method 'GetTranslation' of 'vtkmodules.vtkInteractionWidgets.vtkWidgetEventTranslator' objects>, 'RemoveTranslation': <method 'RemoveTranslation' of 'vtkmodules.vtkInteractionWidgets.vtkWidgetEventTranslator' objects>, 'ClearEvents': <method 'ClearEvents' of 'vtkmodules.vtkInteractionWidgets.vtkWidgetEventTranslator' objects>, 'AddEventsToParent': <method 'AddEventsToParent' of 'vtkmodules.vtkInteractionWidgets.vtkWidgetEventTranslator' objects>, 'AddEventsToInteractor': <method 'AddEventsToInteractor' of 'vtkmodules.vtkInteractionWidgets.vtkWidgetEventTranslator' objects>, '__new__': <built-in method __new__ of type object at 0x00007FF81D669540>, '__repr__': <slot wrapper '__repr__' of 'vtkmodules.vtkInteractionWidgets.vtkWidgetEventTranslator' objects>, '__str__': <slot wrapper '__str__' of 'vtkmodules.vtkInteractionWidgets.vtkWidgetEventTranslator' objects>, '__getattribute__': <slot wrapper '__getattribute__' of 'vtkmodules.vtkInteractionWidgets.vtkWidgetEventTranslator' objects>, '__setattr__': <slot wrapper '__setattr__' of 'vtkmodules.vtkInteractionWidgets.vtkWidgetEventTranslator' objects>, '__delattr__': <slot wrapper '__delattr__' of 'vtkmodules.vtkInteractionWidgets.vtkWidgetEventTranslator' objects>, '__dict__': <attribute '__dict__' of 'vtkmodules.vtkInteractionWidgets.vtkWidgetEventTranslator' objects>, '__this__': <attribute '__this__' of 'vtkmodules.vtkInteractionWidgets.vtkWidgetEventTranslator' objects>, '__doc__': 'vtkWidgetEventTranslator - map VTK events into widget events\\n\\nSuperclass: vtkObject\\n\\nvtkWidgetEventTranslator maps VTK events (defined on vtkCommand) into\\nwidget events (defined in vtkWidgetEvent.h). This class is typically\\nused in combination with vtkWidgetCallbackMapper, which is\\nresponsible for translating widget events into method callbacks, and\\nthen invoking the callbacks.\\n\\nThis class can be used to define different mappings of VTK events\\ninto the widget events. Thus widgets can be reconfigured to use\\ndifferent event bindings.\\n\\n@sa\\nvtkWidgetEvent vtkCommand vtkInteractorObserver\\n\\n'})"
    __vtkname__ = 'vtkWidgetEventTranslator'


