# 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 vtkAbstractWidget(__vtkmodules_vtkRenderingCore.vtkInteractorObserver):
    """
    vtkAbstractWidget - define the API for widget / widget representation
    
    Superclass: vtkInteractorObserver
    
    The vtkAbstractWidget defines an API and implements methods common to
    all widgets using the interaction/representation design. In this
    design, the term interaction means that part of the widget that
    performs event handling, while the representation corresponds to a
    vtkProp (or the subclass vtkWidgetRepresentation) used to represent
    the widget. vtkAbstractWidget also implements some methods common to
    all subclasses.
    
    Note that vtkAbstractWidget provides access to the
    vtkWidgetEventTranslator.  This class is responsible for translating
    VTK events (defined in vtkCommand.h) into widget events (defined in
    vtkWidgetEvent.h). This class can be manipulated so that different
    VTK events can be mapped into widget events, thereby allowing the
    modification of event bindings. Each subclass of vtkAbstractWidget
    defines the events to which it responds.
    
    @warning
    Note that the pair ( vtkAbstractWidget / vtkWidgetRepresentation ) is
    an implementation of the second generation VTK Widgets design. In the
    first generation design, widgets were implemented in a single
    monolithic class. This design was problematic because in
    client-server application it was difficult to manage widgets
    properly. Also, new "representations" or look-and-feel, for a widget
    required a whole new class, with a lot of redundant code. The
    separation of the widget event handling and representation enables
    users and developers to create new appearances for the widget. It
    also facilitates parallel processing, where the client application
    handles events, and remote representations of the widget are slaves
    to the client (and do not handle events).
    
    @sa
    vtkWidgetRepresentation vtkWidgetEventTranslator
    vtkWidgetCallbackMapper
    """
    def CreateDefaultRepresentation(self): # real signature unknown; restored from __doc__
        """
        CreateDefaultRepresentation(self) -> None
        C++: virtual void CreateDefaultRepresentation()
        
        Create the default widget representation if one is not set. The
        representation defines the geometry of the widget (i.e., how it
        appears) as well as providing special methods for manipulting the
        state and appearance of the widget.
        """
        pass

    def GetEventTranslator(self): # real signature unknown; restored from __doc__
        """
        GetEventTranslator(self) -> vtkWidgetEventTranslator
        C++: vtkWidgetEventTranslator *GetEventTranslator()
        
        Get the event translator. Careful manipulation of this class
        enables the user to override the default event bindings.
        """
        return vtkWidgetEventTranslator

    def GetManagesCursor(self): # real signature unknown; restored from __doc__
        """
        GetManagesCursor(self) -> int
        C++: virtual vtkTypeBool GetManagesCursor()
        """
        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 GetParent(self): # real signature unknown; restored from __doc__
        """
        GetParent(self) -> vtkAbstractWidget
        C++: virtual vtkAbstractWidget *GetParent()
        """
        return vtkAbstractWidget

    def GetProcessEvents(self): # real signature unknown; restored from __doc__
        """
        GetProcessEvents(self) -> int
        C++: virtual vtkTypeBool GetProcessEvents()
        """
        return 0

    def GetProcessEventsMaxValue(self): # real signature unknown; restored from __doc__
        """
        GetProcessEventsMaxValue(self) -> int
        C++: virtual vtkTypeBool GetProcessEventsMaxValue()
        """
        return 0

    def GetProcessEventsMinValue(self): # real signature unknown; restored from __doc__
        """
        GetProcessEventsMinValue(self) -> int
        C++: virtual vtkTypeBool GetProcessEventsMinValue()
        """
        return 0

    def GetRepresentation(self): # real signature unknown; restored from __doc__
        """
        GetRepresentation(self) -> vtkWidgetRepresentation
        C++: vtkWidgetRepresentation *GetRepresentation()
        
        Return an instance of vtkWidgetRepresentation used to represent
        this widget in the scene. Note that the representation is a
        subclass of vtkProp (typically a subclass of
        vtkWidgetRepresentation) so it can be added to the renderer
        independent of the widget.
        """
        return vtkWidgetRepresentation

    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 ManagesCursorOff(self): # real signature unknown; restored from __doc__
        """
        ManagesCursorOff(self) -> None
        C++: virtual void ManagesCursorOff()
        """
        pass

    def ManagesCursorOn(self): # real signature unknown; restored from __doc__
        """
        ManagesCursorOn(self) -> None
        C++: virtual void ManagesCursorOn()
        """
        pass

    def NewInstance(self): # real signature unknown; restored from __doc__
        """
        NewInstance(self) -> vtkAbstractWidget
        C++: vtkAbstractWidget *NewInstance()
        """
        return vtkAbstractWidget

    def ProcessEventsOff(self): # real signature unknown; restored from __doc__
        """
        ProcessEventsOff(self) -> None
        C++: virtual void ProcessEventsOff()
        """
        pass

    def ProcessEventsOn(self): # real signature unknown; restored from __doc__
        """
        ProcessEventsOn(self) -> None
        C++: virtual void ProcessEventsOn()
        """
        pass

    def Render(self): # real signature unknown; restored from __doc__
        """
        Render(self) -> None
        C++: void Render()
        
        This method is called by subclasses when a render method is to be
        invoked on the vtkRenderWindowInteractor. This method should be
        called (instead of vtkRenderWindow::Render() because it has built
        into it optimizations for minimizing renders and/or speeding
        renders.
        """
        pass

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkAbstractWidget
        C++: static vtkAbstractWidget *SafeDownCast(vtkObjectBase *o)
        """
        return vtkAbstractWidget

    def SetEnabled(self, __a): # real signature unknown; restored from __doc__
        """
        SetEnabled(self, __a:int) -> None
        C++: void SetEnabled(int) override;
        
        Methods for activating this widget. Note that the widget
        representation must be specified or the widget will not appear.
        ProcessEvents (On by default) must be On for Enabled widget to
        respond to interaction. If ProcessEvents is Off,
        enabling/disabling a widget merely affects the visibility of the
        representation.
        """
        pass

    def SetManagesCursor(self, _arg): # real signature unknown; restored from __doc__
        """
        SetManagesCursor(self, _arg:int) -> None
        C++: virtual void SetManagesCursor(vtkTypeBool _arg)
        
        Turn on or off the management of the cursor. Cursor management is
        typically disabled for subclasses when composite widgets are
        created. For example, vtkHandleWidgets are often used to create
        composite widgets, and the parent widget takes over the cursor
        management.
        """
        pass

    def SetParent(self, parent): # real signature unknown; restored from __doc__
        """
        SetParent(self, parent:vtkAbstractWidget) -> None
        C++: void SetParent(vtkAbstractWidget *parent)
        
        Specifying a parent to this widget is used when creating
        composite widgets. It is an internal method not meant to be used
        by the public. When a widget has a parent, it defers the
        rendering to the parent. It may also defer managing the cursor
        (see ManagesCursor ivar).
        """
        pass

    def SetPriority(self, __a): # real signature unknown; restored from __doc__
        """
        SetPriority(self, __a:float) -> None
        C++: void SetPriority(float) override;
        
        Override the superclass method. This will automatically change
        the priority of the widget. Unlike the superclass documentation,
        no methods such as SetInteractor to null and reset it etc. are
        necessary
        """
        pass

    def SetProcessEvents(self, _arg): # real signature unknown; restored from __doc__
        """
        SetProcessEvents(self, _arg:int) -> None
        C++: virtual void SetProcessEvents(vtkTypeBool _arg)
        
        Methods to change whether the widget responds to interaction. Set
        this to Off to disable interaction. On by default. Subclasses
        must override SetProcessEvents() to make sure that they pass on
        the flag to all component widgets.
        """
        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__\': \'vtkAbstractWidget\', \'IsTypeOf\': <method \'IsTypeOf\' of \'vtkmodules.vtkInteractionWidgets.vtkAbstractWidget\' objects>, \'IsA\': <method \'IsA\' of \'vtkmodules.vtkInteractionWidgets.vtkAbstractWidget\' objects>, \'SafeDownCast\': <method \'SafeDownCast\' of \'vtkmodules.vtkInteractionWidgets.vtkAbstractWidget\' objects>, \'NewInstance\': <method \'NewInstance\' of \'vtkmodules.vtkInteractionWidgets.vtkAbstractWidget\' objects>, \'GetNumberOfGenerationsFromBaseType\': <method \'GetNumberOfGenerationsFromBaseType\' of \'vtkmodules.vtkInteractionWidgets.vtkAbstractWidget\' objects>, \'GetNumberOfGenerationsFromBase\': <method \'GetNumberOfGenerationsFromBase\' of \'vtkmodules.vtkInteractionWidgets.vtkAbstractWidget\' objects>, \'SetEnabled\': <method \'SetEnabled\' of \'vtkmodules.vtkInteractionWidgets.vtkAbstractWidget\' objects>, \'SetProcessEvents\': <method \'SetProcessEvents\' of \'vtkmodules.vtkInteractionWidgets.vtkAbstractWidget\' objects>, \'GetProcessEventsMinValue\': <method \'GetProcessEventsMinValue\' of \'vtkmodules.vtkInteractionWidgets.vtkAbstractWidget\' objects>, \'GetProcessEventsMaxValue\': <method \'GetProcessEventsMaxValue\' of \'vtkmodules.vtkInteractionWidgets.vtkAbstractWidget\' objects>, \'GetProcessEvents\': <method \'GetProcessEvents\' of \'vtkmodules.vtkInteractionWidgets.vtkAbstractWidget\' objects>, \'ProcessEventsOn\': <method \'ProcessEventsOn\' of \'vtkmodules.vtkInteractionWidgets.vtkAbstractWidget\' objects>, \'ProcessEventsOff\': <method \'ProcessEventsOff\' of \'vtkmodules.vtkInteractionWidgets.vtkAbstractWidget\' objects>, \'GetEventTranslator\': <method \'GetEventTranslator\' of \'vtkmodules.vtkInteractionWidgets.vtkAbstractWidget\' objects>, \'CreateDefaultRepresentation\': <method \'CreateDefaultRepresentation\' of \'vtkmodules.vtkInteractionWidgets.vtkAbstractWidget\' objects>, \'Render\': <method \'Render\' of \'vtkmodules.vtkInteractionWidgets.vtkAbstractWidget\' objects>, \'SetParent\': <method \'SetParent\' of \'vtkmodules.vtkInteractionWidgets.vtkAbstractWidget\' objects>, \'GetParent\': <method \'GetParent\' of \'vtkmodules.vtkInteractionWidgets.vtkAbstractWidget\' objects>, \'GetRepresentation\': <method \'GetRepresentation\' of \'vtkmodules.vtkInteractionWidgets.vtkAbstractWidget\' objects>, \'SetManagesCursor\': <method \'SetManagesCursor\' of \'vtkmodules.vtkInteractionWidgets.vtkAbstractWidget\' objects>, \'GetManagesCursor\': <method \'GetManagesCursor\' of \'vtkmodules.vtkInteractionWidgets.vtkAbstractWidget\' objects>, \'ManagesCursorOn\': <method \'ManagesCursorOn\' of \'vtkmodules.vtkInteractionWidgets.vtkAbstractWidget\' objects>, \'ManagesCursorOff\': <method \'ManagesCursorOff\' of \'vtkmodules.vtkInteractionWidgets.vtkAbstractWidget\' objects>, \'SetPriority\': <method \'SetPriority\' of \'vtkmodules.vtkInteractionWidgets.vtkAbstractWidget\' objects>, \'__new__\': <built-in method __new__ of type object at 0x00007FF81D6332C0>, \'__repr__\': <slot wrapper \'__repr__\' of \'vtkmodules.vtkInteractionWidgets.vtkAbstractWidget\' objects>, \'__str__\': <slot wrapper \'__str__\' of \'vtkmodules.vtkInteractionWidgets.vtkAbstractWidget\' objects>, \'__getattribute__\': <slot wrapper \'__getattribute__\' of \'vtkmodules.vtkInteractionWidgets.vtkAbstractWidget\' objects>, \'__setattr__\': <slot wrapper \'__setattr__\' of \'vtkmodules.vtkInteractionWidgets.vtkAbstractWidget\' objects>, \'__delattr__\': <slot wrapper \'__delattr__\' of \'vtkmodules.vtkInteractionWidgets.vtkAbstractWidget\' objects>, \'__dict__\': <attribute \'__dict__\' of \'vtkmodules.vtkInteractionWidgets.vtkAbstractWidget\' objects>, \'__this__\': <attribute \'__this__\' of \'vtkmodules.vtkInteractionWidgets.vtkAbstractWidget\' objects>, \'__doc__\': \'vtkAbstractWidget - define the API for widget / widget representation\\n\\nSuperclass: vtkInteractorObserver\\n\\nThe vtkAbstractWidget defines an API and implements methods common to\\nall widgets using the interaction/representation design. In this\\ndesign, the term interaction means that part of the widget that\\nperforms event handling, while the representation corresponds to a\\nvtkProp (or the subclass vtkWidgetRepresentation) used to represent\\nthe widget. vtkAbstractWidget also implements some methods common to\\nall subclasses.\\n\\nNote that vtkAbstractWidget provides access to the\\nvtkWidgetEventTranslator.  This class is responsible for translating\\nVTK events (defined in vtkCommand.h) into widget events (defined in\\nvtkWidgetEvent.h). This class can be manipulated so that different\\nVTK events can be mapped into widget events, thereby allowing the\\nmodification of event bindings. Each subclass of vtkAbstractWidget\\ndefines the events to which it responds.\\n\\n@warning\\nNote that the pair ( vtkAbstractWidget / vtkWidgetRepresentation ) is\\nan implementation of the second generation VTK Widgets design. In the\\nfirst generation design, widgets were implemented in a single\\nmonolithic class. This design was problematic because in\\nclient-server application it was difficult to manage widgets\\nproperly. Also, new "representations" or look-and-feel, for a widget\\nrequired a whole new class, with a lot of redundant code. The\\nseparation of the widget event handling and representation enables\\nusers and developers to create new appearances for the widget. It\\nalso facilitates parallel processing, where the client application\\nhandles events, and remote representations of the widget are slaves\\nto the client (and do not handle events).\\n\\n@sa\\nvtkWidgetRepresentation vtkWidgetEventTranslator\\nvtkWidgetCallbackMapper\\n\\n\'})'
    __vtkname__ = 'vtkAbstractWidget'


