# 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


from .vtkAbstractWidget import vtkAbstractWidget

class vtkHandleWidget(vtkAbstractWidget):
    """
    vtkHandleWidget - a general widget for moving handles
    
    Superclass: vtkAbstractWidget
    
    The vtkHandleWidget is used to position a handle.  A handle is a
    widget with a position (in display and world space). Various
    appearances are available depending on its associated representation.
    The widget provides methods for translation, including constrained
    translation along coordinate axes. To use this widget, create and
    associate a representation with the widget.
    
    @par Event Bindings: By default, the widget responds to the following
    VTK events (i.e., it watches the vtkRenderWindowInteractor for these
    events):
    
    
      LeftButtonPressEvent - select focal point of widget
      LeftButtonReleaseEvent - end selection
      MiddleButtonPressEvent - translate widget
      MiddleButtonReleaseEvent - end translation
      RightButtonPressEvent - scale widget
      RightButtonReleaseEvent - end scaling
      MouseMoveEvent - interactive movement across widget 
    
    @par Event Bindings: Note that the event bindings described above can
    be changed using this class's vtkWidgetEventTranslator. This class
    translates VTK events into the vtkHandleWidget's widget events:
    
    
      vtkWidgetEvent::Select -- focal point is being selected
      vtkWidgetEvent::EndSelect -- the selection process has completed
      vtkWidgetEvent::Translate -- translate the widget
      vtkWidgetEvent::EndTranslate -- end widget translation
      vtkWidgetEvent::Scale -- scale the widget
      vtkWidgetEvent::EndScale -- end scaling the widget
      vtkWidgetEvent::Move -- a request for widget motion 
    
    @par Event Bindings: In turn, when these widget events are processed,
    the vtkHandleWidget invokes the following VTK events on itself (which
    observers can listen for):
    
    
      vtkCommand::StartInteractionEvent (on vtkWidgetEvent::Select)
      vtkCommand::EndInteractionEvent (on vtkWidgetEvent::EndSelect)
      vtkCommand::InteractionEvent (on vtkWidgetEvent::Move)
    """
    def AllowHandleResizeOff(self): # real signature unknown; restored from __doc__
        """
        AllowHandleResizeOff(self) -> None
        C++: virtual void AllowHandleResizeOff()
        """
        pass

    def AllowHandleResizeOn(self): # real signature unknown; restored from __doc__
        """
        AllowHandleResizeOn(self) -> None
        C++: virtual void AllowHandleResizeOn()
        """
        pass

    def CreateDefaultRepresentation(self): # real signature unknown; restored from __doc__
        """
        CreateDefaultRepresentation(self) -> None
        C++: void CreateDefaultRepresentation() override;
        
        Create the default widget representation if one is not set. By
        default an instance of vtkPointHandleRepresentation3D is created.
        """
        pass

    def EnableAxisConstraintOff(self): # real signature unknown; restored from __doc__
        """
        EnableAxisConstraintOff(self) -> None
        C++: virtual void EnableAxisConstraintOff()
        """
        pass

    def EnableAxisConstraintOn(self): # real signature unknown; restored from __doc__
        """
        EnableAxisConstraintOn(self) -> None
        C++: virtual void EnableAxisConstraintOn()
        """
        pass

    def EnableTranslationOff(self): # real signature unknown; restored from __doc__
        """
        EnableTranslationOff(self) -> None
        C++: virtual void EnableTranslationOff()
        """
        pass

    def EnableTranslationOn(self): # real signature unknown; restored from __doc__
        """
        EnableTranslationOn(self) -> None
        C++: virtual void EnableTranslationOn()
        """
        pass

    def GetAllowHandleResize(self): # real signature unknown; restored from __doc__
        """
        GetAllowHandleResize(self) -> int
        C++: virtual vtkTypeBool GetAllowHandleResize()
        """
        return 0

    def GetEnableAxisConstraint(self): # real signature unknown; restored from __doc__
        """
        GetEnableAxisConstraint(self) -> int
        C++: virtual vtkTypeBool GetEnableAxisConstraint()
        """
        return 0

    def GetEnableTranslation(self): # real signature unknown; restored from __doc__
        """
        GetEnableTranslation(self) -> int
        C++: virtual vtkTypeBool GetEnableTranslation()
        """
        return 0

    def GetHandleRepresentation(self): # real signature unknown; restored from __doc__
        """
        GetHandleRepresentation(self) -> vtkHandleRepresentation
        C++: vtkHandleRepresentation *GetHandleRepresentation()
        
        Return the representation as a vtkHandleRepresentation.
        """
        return vtkHandleRepresentation

    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 GetShowInactive(self): # real signature unknown; restored from __doc__
        """
        GetShowInactive(self) -> int
        C++: virtual vtkTypeBool GetShowInactive()
        """
        return 0

    def GetWidgetState(self): # real signature unknown; restored from __doc__
        """
        GetWidgetState(self) -> int
        C++: virtual int GetWidgetState()
        
        Get the widget state.
        """
        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) -> vtkHandleWidget
        C++: vtkHandleWidget *NewInstance()
        """
        return vtkHandleWidget

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkHandleWidget
        C++: static vtkHandleWidget *SafeDownCast(vtkObjectBase *o)
        """
        return vtkHandleWidget

    def SetAllowHandleResize(self, _arg): # real signature unknown; restored from __doc__
        """
        SetAllowHandleResize(self, _arg:int) -> None
        C++: virtual void SetAllowHandleResize(vtkTypeBool _arg)
        
        Allow resizing of handles ? By default the right mouse button
        scales the handle size.
        """
        pass

    def SetEnableAxisConstraint(self, _arg): # real signature unknown; restored from __doc__
        """
        SetEnableAxisConstraint(self, _arg:int) -> None
        C++: virtual void SetEnableAxisConstraint(vtkTypeBool _arg)
        
        Enable / disable axis constrained motion of the handles. By
        default the widget responds to the shift modifier to constrain
        the handle along the axis closest aligned with the motion vector.
        """
        pass

    def SetEnabled(self, enabling): # real signature unknown; restored from __doc__
        """
        SetEnabled(self, enabling:int) -> None
        C++: void SetEnabled(int enabling) override;
        
        Enable/disable widget. Custom override for the SetEnabled method
        to allow for the inactive state.
        """
        pass

    def SetEnableTranslation(self, _arg): # real signature unknown; restored from __doc__
        """
        SetEnableTranslation(self, _arg:int) -> None
        C++: virtual void SetEnableTranslation(vtkTypeBool _arg)
        
        Enable moving of handles. By default, the handle can be moved.
        """
        pass

    def SetRepresentation(self, r): # real signature unknown; restored from __doc__
        """
        SetRepresentation(self, r:vtkHandleRepresentation) -> None
        C++: void SetRepresentation(vtkHandleRepresentation *r)
        
        Specify an instance of vtkWidgetRepresentation used to represent
        this widget in the scene. Note that the representation is a
        subclass of vtkProp so it can be added to the renderer
        independent of the widget.
        """
        pass

    def SetShowInactive(self, _arg): # real signature unknown; restored from __doc__
        """
        SetShowInactive(self, _arg:int) -> None
        C++: virtual void SetShowInactive(vtkTypeBool _arg)
        
        Allow the widget to be visible as an inactive representation when
        disabled. By default, this is false i.e. the representation is
        not visible when the widget is disabled.
        """
        pass

    def ShowInactiveOff(self): # real signature unknown; restored from __doc__
        """
        ShowInactiveOff(self) -> None
        C++: virtual void ShowInactiveOff()
        """
        pass

    def ShowInactiveOn(self): # real signature unknown; restored from __doc__
        """
        ShowInactiveOn(self) -> None
        C++: virtual void ShowInactiveOn()
        """
        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."""


    Active = 1
    Inactive = 2
    Start = 0
    WidgetStateType = None # (!) real value is "<class 'vtkmodules.vtkInteractionWidgets.vtkHandleWidget.WidgetStateType'>"
    __dict__ = None # (!) real value is 'mappingproxy({\'__vtkname__\': \'vtkHandleWidget\', \'IsTypeOf\': <method \'IsTypeOf\' of \'vtkmodules.vtkInteractionWidgets.vtkHandleWidget\' objects>, \'IsA\': <method \'IsA\' of \'vtkmodules.vtkInteractionWidgets.vtkHandleWidget\' objects>, \'SafeDownCast\': <method \'SafeDownCast\' of \'vtkmodules.vtkInteractionWidgets.vtkHandleWidget\' objects>, \'NewInstance\': <method \'NewInstance\' of \'vtkmodules.vtkInteractionWidgets.vtkHandleWidget\' objects>, \'GetNumberOfGenerationsFromBaseType\': <method \'GetNumberOfGenerationsFromBaseType\' of \'vtkmodules.vtkInteractionWidgets.vtkHandleWidget\' objects>, \'GetNumberOfGenerationsFromBase\': <method \'GetNumberOfGenerationsFromBase\' of \'vtkmodules.vtkInteractionWidgets.vtkHandleWidget\' objects>, \'SetRepresentation\': <method \'SetRepresentation\' of \'vtkmodules.vtkInteractionWidgets.vtkHandleWidget\' objects>, \'GetHandleRepresentation\': <method \'GetHandleRepresentation\' of \'vtkmodules.vtkInteractionWidgets.vtkHandleWidget\' objects>, \'CreateDefaultRepresentation\': <method \'CreateDefaultRepresentation\' of \'vtkmodules.vtkInteractionWidgets.vtkHandleWidget\' objects>, \'SetEnableAxisConstraint\': <method \'SetEnableAxisConstraint\' of \'vtkmodules.vtkInteractionWidgets.vtkHandleWidget\' objects>, \'GetEnableAxisConstraint\': <method \'GetEnableAxisConstraint\' of \'vtkmodules.vtkInteractionWidgets.vtkHandleWidget\' objects>, \'EnableAxisConstraintOn\': <method \'EnableAxisConstraintOn\' of \'vtkmodules.vtkInteractionWidgets.vtkHandleWidget\' objects>, \'EnableAxisConstraintOff\': <method \'EnableAxisConstraintOff\' of \'vtkmodules.vtkInteractionWidgets.vtkHandleWidget\' objects>, \'SetEnableTranslation\': <method \'SetEnableTranslation\' of \'vtkmodules.vtkInteractionWidgets.vtkHandleWidget\' objects>, \'GetEnableTranslation\': <method \'GetEnableTranslation\' of \'vtkmodules.vtkInteractionWidgets.vtkHandleWidget\' objects>, \'EnableTranslationOn\': <method \'EnableTranslationOn\' of \'vtkmodules.vtkInteractionWidgets.vtkHandleWidget\' objects>, \'EnableTranslationOff\': <method \'EnableTranslationOff\' of \'vtkmodules.vtkInteractionWidgets.vtkHandleWidget\' objects>, \'SetAllowHandleResize\': <method \'SetAllowHandleResize\' of \'vtkmodules.vtkInteractionWidgets.vtkHandleWidget\' objects>, \'GetAllowHandleResize\': <method \'GetAllowHandleResize\' of \'vtkmodules.vtkInteractionWidgets.vtkHandleWidget\' objects>, \'AllowHandleResizeOn\': <method \'AllowHandleResizeOn\' of \'vtkmodules.vtkInteractionWidgets.vtkHandleWidget\' objects>, \'AllowHandleResizeOff\': <method \'AllowHandleResizeOff\' of \'vtkmodules.vtkInteractionWidgets.vtkHandleWidget\' objects>, \'GetWidgetState\': <method \'GetWidgetState\' of \'vtkmodules.vtkInteractionWidgets.vtkHandleWidget\' objects>, \'SetShowInactive\': <method \'SetShowInactive\' of \'vtkmodules.vtkInteractionWidgets.vtkHandleWidget\' objects>, \'GetShowInactive\': <method \'GetShowInactive\' of \'vtkmodules.vtkInteractionWidgets.vtkHandleWidget\' objects>, \'ShowInactiveOn\': <method \'ShowInactiveOn\' of \'vtkmodules.vtkInteractionWidgets.vtkHandleWidget\' objects>, \'ShowInactiveOff\': <method \'ShowInactiveOff\' of \'vtkmodules.vtkInteractionWidgets.vtkHandleWidget\' objects>, \'SetEnabled\': <method \'SetEnabled\' of \'vtkmodules.vtkInteractionWidgets.vtkHandleWidget\' objects>, \'WidgetStateType\': <class \'vtkmodules.vtkInteractionWidgets.vtkHandleWidget.WidgetStateType\'>, \'Start\': 0, \'Active\': 1, \'Inactive\': 2, \'__new__\': <built-in method __new__ of type object at 0x00007FF81D64B140>, \'__repr__\': <slot wrapper \'__repr__\' of \'vtkmodules.vtkInteractionWidgets.vtkHandleWidget\' objects>, \'__str__\': <slot wrapper \'__str__\' of \'vtkmodules.vtkInteractionWidgets.vtkHandleWidget\' objects>, \'__getattribute__\': <slot wrapper \'__getattribute__\' of \'vtkmodules.vtkInteractionWidgets.vtkHandleWidget\' objects>, \'__setattr__\': <slot wrapper \'__setattr__\' of \'vtkmodules.vtkInteractionWidgets.vtkHandleWidget\' objects>, \'__delattr__\': <slot wrapper \'__delattr__\' of \'vtkmodules.vtkInteractionWidgets.vtkHandleWidget\' objects>, \'__dict__\': <attribute \'__dict__\' of \'vtkmodules.vtkInteractionWidgets.vtkHandleWidget\' objects>, \'__this__\': <attribute \'__this__\' of \'vtkmodules.vtkInteractionWidgets.vtkHandleWidget\' objects>, \'__doc__\': "vtkHandleWidget - a general widget for moving handles\\n\\nSuperclass: vtkAbstractWidget\\n\\nThe vtkHandleWidget is used to position a handle.  A handle is a\\nwidget with a position (in display and world space). Various\\nappearances are available depending on its associated representation.\\nThe widget provides methods for translation, including constrained\\ntranslation along coordinate axes. To use this widget, create and\\nassociate a representation with the widget.\\n\\n@par Event Bindings: By default, the widget responds to the following\\nVTK events (i.e., it watches the vtkRenderWindowInteractor for these\\nevents):\\n\\n\\n  LeftButtonPressEvent - select focal point of widget\\n  LeftButtonReleaseEvent - end selection\\n  MiddleButtonPressEvent - translate widget\\n  MiddleButtonReleaseEvent - end translation\\n  RightButtonPressEvent - scale widget\\n  RightButtonReleaseEvent - end scaling\\n  MouseMoveEvent - interactive movement across widget \\n\\n@par Event Bindings: Note that the event bindings described above can\\nbe changed using this class\'s vtkWidgetEventTranslator. This class\\ntranslates VTK events into the vtkHandleWidget\'s widget events:\\n\\n\\n  vtkWidgetEvent::Select -- focal point is being selected\\n  vtkWidgetEvent::EndSelect -- the selection process has completed\\n  vtkWidgetEvent::Translate -- translate the widget\\n  vtkWidgetEvent::EndTranslate -- end widget translation\\n  vtkWidgetEvent::Scale -- scale the widget\\n  vtkWidgetEvent::EndScale -- end scaling the widget\\n  vtkWidgetEvent::Move -- a request for widget motion \\n\\n@par Event Bindings: In turn, when these widget events are processed,\\nthe vtkHandleWidget invokes the following VTK events on itself (which\\nobservers can listen for):\\n\\n\\n  vtkCommand::StartInteractionEvent (on vtkWidgetEvent::Select)\\n  vtkCommand::EndInteractionEvent (on vtkWidgetEvent::EndSelect)\\n  vtkCommand::InteractionEvent (on vtkWidgetEvent::Move) \\n\\n"})'
    __vtkname__ = 'vtkHandleWidget'


