# 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 .vtkWidgetRepresentation import vtkWidgetRepresentation

class vtkButtonRepresentation(vtkWidgetRepresentation):
    """
    vtkButtonRepresentation - abstract class defines the representation
    for a vtkButtonWidget
    
    Superclass: vtkWidgetRepresentation
    
    This abstract class is used to specify how the vtkButtonWidget should
    interact with representations of the vtkButtonWidget. This class may
    be subclassed so that alternative representations can be created. The
    class defines an API, and a default implementation, that the
    vtkButtonWidget interacts with to render itself in the scene.
    
    The vtkButtonWidget assumes an n-state button so that traversal
    methods are available for changing, querying and manipulating state.
    Derived classed determine the actual appearance. The state is
    represented by an integral value 0<=state<numStates.
    
    To use this representation, always begin by specifying the number of
    states. Then follow with the necessary information to represent each
    state (done through a subclass API).
    
    @sa
    vtkButtonWidget
    """
    def GetHighlightState(self): # real signature unknown; restored from __doc__
        """
        GetHighlightState(self) -> int
        C++: virtual int GetHighlightState()
        """
        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 GetNumberOfStatesMaxValue(self): # real signature unknown; restored from __doc__
        """
        GetNumberOfStatesMaxValue(self) -> int
        C++: virtual int GetNumberOfStatesMaxValue()
        """
        return 0

    def GetNumberOfStatesMinValue(self): # real signature unknown; restored from __doc__
        """
        GetNumberOfStatesMinValue(self) -> int
        C++: virtual int GetNumberOfStatesMinValue()
        """
        return 0

    def GetState(self): # real signature unknown; restored from __doc__
        """
        GetState(self) -> int
        C++: virtual int GetState()
        
        Retrieve the current button state.
        """
        return 0

    def Highlight(self, __a): # real signature unknown; restored from __doc__
        """
        Highlight(self, __a:int) -> None
        C++: void Highlight(int) override;
        """
        pass

    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) -> vtkButtonRepresentation
        C++: vtkButtonRepresentation *NewInstance()
        """
        return vtkButtonRepresentation

    def NextState(self): # real signature unknown; restored from __doc__
        """
        NextState(self) -> None
        C++: virtual void NextState()
        """
        pass

    def PreviousState(self): # real signature unknown; restored from __doc__
        """
        PreviousState(self) -> None
        C++: virtual void PreviousState()
        """
        pass

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkButtonRepresentation
        C++: static vtkButtonRepresentation *SafeDownCast(
            vtkObjectBase *o)
        """
        return vtkButtonRepresentation

    def SetNumberOfStates(self, _arg): # real signature unknown; restored from __doc__
        """
        SetNumberOfStates(self, _arg:int) -> None
        C++: virtual void SetNumberOfStates(int _arg)
        
        Retrieve the current button state.
        """
        pass

    def SetState(self, state): # real signature unknown; restored from __doc__
        """
        SetState(self, state:int) -> None
        C++: virtual void SetState(int state)
        
        Manipulate the state. Note that the NextState() and
        PreviousState() methods use modulo traversal. The "state"
        integral value will be clamped within the possible state values
        (0<=state<NumberOfStates). Note that subclasses will override
        these methods in many cases.
        """
        pass

    def ShallowCopy(self, prop): # real signature unknown; restored from __doc__
        """
        ShallowCopy(self, prop:vtkProp) -> None
        C++: void ShallowCopy(vtkProp *prop) override;
        
        Satisfy some of vtkProp's API.
        """
        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."""


    HighlightHovering = 1
    HighlightNormal = 0
    HighlightSelecting = 2
    HighlightStateType = None # (!) real value is "<class 'vtkmodules.vtkInteractionWidgets.vtkButtonRepresentation.HighlightStateType'>"
    Inside = 1
    InteractionStateType = None # (!) real value is "<class 'vtkmodules.vtkInteractionWidgets.vtkButtonRepresentation.InteractionStateType'>"
    Outside = 0
    __dict__ = None # (!) real value is "mappingproxy({'__vtkname__': 'vtkButtonRepresentation', 'IsTypeOf': <method 'IsTypeOf' of 'vtkmodules.vtkInteractionWidgets.vtkButtonRepresentation' objects>, 'IsA': <method 'IsA' of 'vtkmodules.vtkInteractionWidgets.vtkButtonRepresentation' objects>, 'SafeDownCast': <method 'SafeDownCast' of 'vtkmodules.vtkInteractionWidgets.vtkButtonRepresentation' objects>, 'NewInstance': <method 'NewInstance' of 'vtkmodules.vtkInteractionWidgets.vtkButtonRepresentation' objects>, 'GetNumberOfGenerationsFromBaseType': <method 'GetNumberOfGenerationsFromBaseType' of 'vtkmodules.vtkInteractionWidgets.vtkButtonRepresentation' objects>, 'GetNumberOfGenerationsFromBase': <method 'GetNumberOfGenerationsFromBase' of 'vtkmodules.vtkInteractionWidgets.vtkButtonRepresentation' objects>, 'SetNumberOfStates': <method 'SetNumberOfStates' of 'vtkmodules.vtkInteractionWidgets.vtkButtonRepresentation' objects>, 'GetNumberOfStatesMinValue': <method 'GetNumberOfStatesMinValue' of 'vtkmodules.vtkInteractionWidgets.vtkButtonRepresentation' objects>, 'GetNumberOfStatesMaxValue': <method 'GetNumberOfStatesMaxValue' of 'vtkmodules.vtkInteractionWidgets.vtkButtonRepresentation' objects>, 'GetState': <method 'GetState' of 'vtkmodules.vtkInteractionWidgets.vtkButtonRepresentation' objects>, 'SetState': <method 'SetState' of 'vtkmodules.vtkInteractionWidgets.vtkButtonRepresentation' objects>, 'NextState': <method 'NextState' of 'vtkmodules.vtkInteractionWidgets.vtkButtonRepresentation' objects>, 'PreviousState': <method 'PreviousState' of 'vtkmodules.vtkInteractionWidgets.vtkButtonRepresentation' objects>, 'Highlight': <method 'Highlight' of 'vtkmodules.vtkInteractionWidgets.vtkButtonRepresentation' objects>, 'GetHighlightState': <method 'GetHighlightState' of 'vtkmodules.vtkInteractionWidgets.vtkButtonRepresentation' objects>, 'ShallowCopy': <method 'ShallowCopy' of 'vtkmodules.vtkInteractionWidgets.vtkButtonRepresentation' objects>, 'InteractionStateType': <class 'vtkmodules.vtkInteractionWidgets.vtkButtonRepresentation.InteractionStateType'>, 'HighlightStateType': <class 'vtkmodules.vtkInteractionWidgets.vtkButtonRepresentation.HighlightStateType'>, 'Outside': 0, 'Inside': 1, 'HighlightNormal': 0, 'HighlightHovering': 1, 'HighlightSelecting': 2, '__new__': <built-in method __new__ of type object at 0x00007FF81D63C010>, '__repr__': <slot wrapper '__repr__' of 'vtkmodules.vtkInteractionWidgets.vtkButtonRepresentation' objects>, '__str__': <slot wrapper '__str__' of 'vtkmodules.vtkInteractionWidgets.vtkButtonRepresentation' objects>, '__getattribute__': <slot wrapper '__getattribute__' of 'vtkmodules.vtkInteractionWidgets.vtkButtonRepresentation' objects>, '__setattr__': <slot wrapper '__setattr__' of 'vtkmodules.vtkInteractionWidgets.vtkButtonRepresentation' objects>, '__delattr__': <slot wrapper '__delattr__' of 'vtkmodules.vtkInteractionWidgets.vtkButtonRepresentation' objects>, '__dict__': <attribute '__dict__' of 'vtkmodules.vtkInteractionWidgets.vtkButtonRepresentation' objects>, '__this__': <attribute '__this__' of 'vtkmodules.vtkInteractionWidgets.vtkButtonRepresentation' objects>, '__doc__': 'vtkButtonRepresentation - abstract class defines the representation\\nfor a vtkButtonWidget\\n\\nSuperclass: vtkWidgetRepresentation\\n\\nThis abstract class is used to specify how the vtkButtonWidget should\\ninteract with representations of the vtkButtonWidget. This class may\\nbe subclassed so that alternative representations can be created. The\\nclass defines an API, and a default implementation, that the\\nvtkButtonWidget interacts with to render itself in the scene.\\n\\nThe vtkButtonWidget assumes an n-state button so that traversal\\nmethods are available for changing, querying and manipulating state.\\nDerived classed determine the actual appearance. The state is\\nrepresented by an integral value 0<=state<numStates.\\n\\nTo use this representation, always begin by specifying the number of\\nstates. Then follow with the necessary information to represent each\\nstate (done through a subclass API).\\n\\n@sa\\nvtkButtonWidget\\n\\n'})"
    __vtkname__ = 'vtkButtonRepresentation'


