# 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 vtkAffineRepresentation(vtkWidgetRepresentation):
    """
    vtkAffineRepresentation - abstract class for representing affine
    transformation widgets
    
    Superclass: vtkWidgetRepresentation
    
    This class defines an API for affine transformation widget
    representations. These representations interact with vtkAffineWidget.
    The basic functionality of the affine representation is to maintain a
    transformation matrix.
    
    This class may be subclassed so that alternative representations can
    be created.  The class defines an API and a default implementation
    that the vtkAffineWidget interacts with to render itself in the
    scene.
    
    @warning
    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
    vtkAffineWidget vtkWidgetRepresentation vtkAbstractWidget
    """
    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 GetTolerance(self): # real signature unknown; restored from __doc__
        """
        GetTolerance(self) -> int
        C++: virtual int GetTolerance()
        """
        return 0

    def GetToleranceMaxValue(self): # real signature unknown; restored from __doc__
        """
        GetToleranceMaxValue(self) -> int
        C++: virtual int GetToleranceMaxValue()
        """
        return 0

    def GetToleranceMinValue(self): # real signature unknown; restored from __doc__
        """
        GetToleranceMinValue(self) -> int
        C++: virtual int GetToleranceMinValue()
        """
        return 0

    def GetTransform(self, t): # real signature unknown; restored from __doc__
        """
        GetTransform(self, t:vtkTransform) -> None
        C++: virtual void GetTransform(vtkTransform *t)
        
        Retrieve a linear transform characterizing the affine
        transformation generated by this widget. This method copies its
        internal transform into the transform provided. The transform is
        relative to the initial placement of the representation (i.e.,
        when PlaceWidget() is invoked).
        """
        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) -> vtkAffineRepresentation
        C++: vtkAffineRepresentation *NewInstance()
        """
        return vtkAffineRepresentation

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkAffineRepresentation
        C++: static vtkAffineRepresentation *SafeDownCast(
            vtkObjectBase *o)
        """
        return vtkAffineRepresentation

    def SetTolerance(self, _arg): # real signature unknown; restored from __doc__
        """
        SetTolerance(self, _arg:int) -> None
        C++: virtual void SetTolerance(int _arg)
        
        The tolerance representing the distance to the widget (in pixels)
        in which the cursor is considered near enough to the widget to be
        active.
        """
        pass

    def ShallowCopy(self, prop): # real signature unknown; restored from __doc__
        """
        ShallowCopy(self, prop:vtkProp) -> None
        C++: void ShallowCopy(vtkProp *prop) override;
        
        Methods to make this class properly act like a
        vtkWidgetRepresentation.
        """
        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."""


    InteractionStateType = None # (!) real value is "<class 'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation.InteractionStateType'>"
    MoveOrigin = 19
    MoveOriginX = 17
    MoveOriginY = 18
    Outside = 0
    Rotate = 1
    ScaleEEdge = 6
    ScaleNE = 9
    ScaleNEdge = 7
    ScaleNW = 11
    ScaleSE = 12
    ScaleSEdge = 8
    ScaleSW = 10
    ScaleWEdge = 5
    ShearEEdge = 13
    ShearNEdge = 15
    ShearSEdge = 16
    ShearWEdge = 14
    Translate = 2
    TranslateX = 3
    TranslateY = 4
    __dict__ = None # (!) real value is "mappingproxy({'__vtkname__': 'vtkAffineRepresentation', 'IsTypeOf': <method 'IsTypeOf' of 'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation' objects>, 'IsA': <method 'IsA' of 'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation' objects>, 'SafeDownCast': <method 'SafeDownCast' of 'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation' objects>, 'NewInstance': <method 'NewInstance' of 'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation' objects>, 'GetNumberOfGenerationsFromBaseType': <method 'GetNumberOfGenerationsFromBaseType' of 'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation' objects>, 'GetNumberOfGenerationsFromBase': <method 'GetNumberOfGenerationsFromBase' of 'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation' objects>, 'GetTransform': <method 'GetTransform' of 'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation' objects>, 'SetTolerance': <method 'SetTolerance' of 'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation' objects>, 'GetToleranceMinValue': <method 'GetToleranceMinValue' of 'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation' objects>, 'GetToleranceMaxValue': <method 'GetToleranceMaxValue' of 'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation' objects>, 'GetTolerance': <method 'GetTolerance' of 'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation' objects>, 'ShallowCopy': <method 'ShallowCopy' of 'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation' objects>, 'InteractionStateType': <class 'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation.InteractionStateType'>, 'Outside': 0, 'Rotate': 1, 'Translate': 2, 'TranslateX': 3, 'TranslateY': 4, 'ScaleWEdge': 5, 'ScaleEEdge': 6, 'ScaleNEdge': 7, 'ScaleSEdge': 8, 'ScaleNE': 9, 'ScaleSW': 10, 'ScaleNW': 11, 'ScaleSE': 12, 'ShearEEdge': 13, 'ShearWEdge': 14, 'ShearNEdge': 15, 'ShearSEdge': 16, 'MoveOriginX': 17, 'MoveOriginY': 18, 'MoveOrigin': 19, '__new__': <built-in method __new__ of type object at 0x00007FF81D6337B0>, '__repr__': <slot wrapper '__repr__' of 'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation' objects>, '__str__': <slot wrapper '__str__' of 'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation' objects>, '__getattribute__': <slot wrapper '__getattribute__' of 'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation' objects>, '__setattr__': <slot wrapper '__setattr__' of 'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation' objects>, '__delattr__': <slot wrapper '__delattr__' of 'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation' objects>, '__dict__': <attribute '__dict__' of 'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation' objects>, '__this__': <attribute '__this__' of 'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation' objects>, '__doc__': 'vtkAffineRepresentation - abstract class for representing affine\\ntransformation widgets\\n\\nSuperclass: vtkWidgetRepresentation\\n\\nThis class defines an API for affine transformation widget\\nrepresentations. These representations interact with vtkAffineWidget.\\nThe basic functionality of the affine representation is to maintain a\\ntransformation matrix.\\n\\nThis class may be subclassed so that alternative representations can\\nbe created.  The class defines an API and a default implementation\\nthat the vtkAffineWidget interacts with to render itself in the\\nscene.\\n\\n@warning\\nThe separation of the widget event handling and representation\\nenables users and developers to create new appearances for the\\nwidget. It also facilitates parallel processing, where the client\\napplication handles events, and remote representations of the widget\\nare slaves to the client (and do not handle events).\\n\\n@sa\\nvtkAffineWidget vtkWidgetRepresentation vtkAbstractWidget\\n\\n'})"
    __vtkname__ = 'vtkAffineRepresentation'


