# 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 .vtkAffineRepresentation import vtkAffineRepresentation

class vtkAffineRepresentation2D(vtkAffineRepresentation):
    """
    vtkAffineRepresentation2D - represent 2D affine transformations
    
    Superclass: vtkAffineRepresentation
    
    This class is used to represent a vtkAffineWidget. This
    representation consists of three parts: a box, a circle, and a cross.
    The box is used for scaling and shearing, the circle for rotation,
    and the cross for translation. These parts are drawn in the overlay
    plane and maintain a constant size (width and height) specified in
    terms of normalized viewport coordinates.
    
    The representation maintains an internal transformation matrix (see
    superclass' GetTransform() method). The transformations generated by
    this widget assume that the representation lies in the x-y plane. If
    this is not the case, the user is responsible for transforming this
    representation's matrix into the correct coordinate space (by
    judicious matrix multiplication). Note that the transformation matrix
    returned by GetTransform() is relative to the last PlaceWidget()
    invocation. (The PlaceWidget() sets the origin around which rotation
    and scaling occurs; the origin is the center point of the bounding
    box provided.)
    
    @sa
    vtkAffineRepresentation vtkAffineWidget
    """
    def BuildRepresentation(self): # real signature unknown; restored from __doc__
        """
        BuildRepresentation(self) -> None
        C++: void BuildRepresentation() override;
        """
        pass

    def ComputeInteractionState(self, X, Y, modify=0): # real signature unknown; restored from __doc__
        """
        ComputeInteractionState(self, X:int, Y:int, modify:int=0) -> int
        C++: int ComputeInteractionState(int X, int Y, int modify=0)
            override;
        """
        return 0

    def DisplayTextOff(self): # real signature unknown; restored from __doc__
        """
        DisplayTextOff(self) -> None
        C++: virtual void DisplayTextOff()
        """
        pass

    def DisplayTextOn(self): # real signature unknown; restored from __doc__
        """
        DisplayTextOn(self) -> None
        C++: virtual void DisplayTextOn()
        """
        pass

    def EndWidgetInteraction(self, eventPos, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        EndWidgetInteraction(self, eventPos:[float, float]) -> None
        C++: void EndWidgetInteraction(double eventPos[2]) override;
        """
        pass

    def GetActors2D(self, __a): # real signature unknown; restored from __doc__
        """
        GetActors2D(self, __a:vtkPropCollection) -> None
        C++: void GetActors2D(vtkPropCollection *) override;
        """
        pass

    def GetAxesWidth(self): # real signature unknown; restored from __doc__
        """
        GetAxesWidth(self) -> int
        C++: virtual int GetAxesWidth()
        """
        return 0

    def GetAxesWidthMaxValue(self): # real signature unknown; restored from __doc__
        """
        GetAxesWidthMaxValue(self) -> int
        C++: virtual int GetAxesWidthMaxValue()
        """
        return 0

    def GetAxesWidthMinValue(self): # real signature unknown; restored from __doc__
        """
        GetAxesWidthMinValue(self) -> int
        C++: virtual int GetAxesWidthMinValue()
        """
        return 0

    def GetBoxWidth(self): # real signature unknown; restored from __doc__
        """
        GetBoxWidth(self) -> int
        C++: virtual int GetBoxWidth()
        """
        return 0

    def GetBoxWidthMaxValue(self): # real signature unknown; restored from __doc__
        """
        GetBoxWidthMaxValue(self) -> int
        C++: virtual int GetBoxWidthMaxValue()
        """
        return 0

    def GetBoxWidthMinValue(self): # real signature unknown; restored from __doc__
        """
        GetBoxWidthMinValue(self) -> int
        C++: virtual int GetBoxWidthMinValue()
        """
        return 0

    def GetCircleWidth(self): # real signature unknown; restored from __doc__
        """
        GetCircleWidth(self) -> int
        C++: virtual int GetCircleWidth()
        """
        return 0

    def GetCircleWidthMaxValue(self): # real signature unknown; restored from __doc__
        """
        GetCircleWidthMaxValue(self) -> int
        C++: virtual int GetCircleWidthMaxValue()
        """
        return 0

    def GetCircleWidthMinValue(self): # real signature unknown; restored from __doc__
        """
        GetCircleWidthMinValue(self) -> int
        C++: virtual int GetCircleWidthMinValue()
        """
        return 0

    def GetDisplayText(self): # real signature unknown; restored from __doc__
        """
        GetDisplayText(self) -> int
        C++: virtual vtkTypeBool GetDisplayText()
        """
        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 GetOrigin(self): # real signature unknown; restored from __doc__
        """
        GetOrigin(self) -> (float, float, float)
        C++: virtual double *GetOrigin()
        """
        pass

    def GetProperty(self): # real signature unknown; restored from __doc__
        """
        GetProperty(self) -> vtkProperty2D
        C++: virtual vtkProperty2D *GetProperty()
        """
        pass

    def GetSelectedProperty(self): # real signature unknown; restored from __doc__
        """
        GetSelectedProperty(self) -> vtkProperty2D
        C++: virtual vtkProperty2D *GetSelectedProperty()
        """
        pass

    def GetTextProperty(self): # real signature unknown; restored from __doc__
        """
        GetTextProperty(self) -> vtkTextProperty
        C++: virtual vtkTextProperty *GetTextProperty()
        """
        pass

    def GetTransform(self, t): # real signature unknown; restored from __doc__
        """
        GetTransform(self, t:vtkTransform) -> None
        C++: void GetTransform(vtkTransform *t) override;
        
        Retrieve a linear transform characterizing the affine
        transformation generated by this widget. This method copies its
        internal transform into the transform provided. Note that the
        PlaceWidget() method initializes the internal matrix to identity.
        All subsequent widget operations (i.e., scale, translate, rotate,
        shear) are concatenated with the internal transform.
        """
        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) -> vtkAffineRepresentation2D
        C++: vtkAffineRepresentation2D *NewInstance()
        """
        return vtkAffineRepresentation2D

    def PlaceWidget(self, bounds, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        PlaceWidget(self, bounds:[float, float, float, float, float,
            float]) -> None
        C++: void PlaceWidget(double bounds[6]) override;
        
        Subclasses of vtkAffineRepresentation2D must implement these
        methods. These are the methods that the widget and its
        representation use to communicate with each other. Note:
        PlaceWidget() reinitializes the transformation matrix (i.e., sets
        it to identity). It also sets the origin for scaling and
        rotation.
        """
        pass

    def ReleaseGraphicsResources(self, __a): # real signature unknown; restored from __doc__
        """
        ReleaseGraphicsResources(self, __a:vtkWindow) -> None
        C++: void ReleaseGraphicsResources(vtkWindow *) override;
        
        WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Release
        any graphics resources that are being consumed by this actor. The
        parameter window could be used to determine which graphic
        resources to release.
        """
        pass

    def RenderOverlay(self, viewport): # real signature unknown; restored from __doc__
        """
        RenderOverlay(self, viewport:vtkViewport) -> int
        C++: int RenderOverlay(vtkViewport *viewport) override;
        """
        return 0

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkAffineRepresentation2D
        C++: static vtkAffineRepresentation2D *SafeDownCast(
            vtkObjectBase *o)
        """
        return vtkAffineRepresentation2D

    def SetAxesWidth(self, _arg): # real signature unknown; restored from __doc__
        """
        SetAxesWidth(self, _arg:int) -> None
        C++: virtual void SetAxesWidth(int _arg)
        """
        pass

    def SetBoxWidth(self, _arg): # real signature unknown; restored from __doc__
        """
        SetBoxWidth(self, _arg:int) -> None
        C++: virtual void SetBoxWidth(int _arg)
        
        Specify the width of the various parts of the representation (in
        pixels).  The three parts are of the representation are the
        translation axes, the rotation circle, and the scale/shear box.
        Note that since the widget resizes itself so that the width and
        height are always the same, only the width needs to be specified.
        """
        pass

    def SetCircleWidth(self, _arg): # real signature unknown; restored from __doc__
        """
        SetCircleWidth(self, _arg:int) -> None
        C++: virtual void SetCircleWidth(int _arg)
        """
        pass

    def SetDisplayText(self, _arg): # real signature unknown; restored from __doc__
        """
        SetDisplayText(self, _arg:int) -> None
        C++: virtual void SetDisplayText(vtkTypeBool _arg)
        
        Enable the display of text with numeric values characterizing the
        transformation. Rotation and shear are expressed in degrees;
        translation the distance in world coordinates; and scale
        normalized (sx,sy) values.
        """
        pass

    def SetOrigin(self, o, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        SetOrigin(self, o:(float, float, float)) -> None
        C++: void SetOrigin(const double o[3])
        SetOrigin(self, ox:float, oy:float, oz:float) -> None
        C++: void SetOrigin(double ox, double oy, double oz)
        
        Specify the origin of the widget (in world coordinates). The
        origin is the point where the widget places itself. Note that
        rotations and scaling occurs around the origin.
        """
        pass

    def SetProperty(self, __a): # real signature unknown; restored from __doc__
        """
        SetProperty(self, __a:vtkProperty2D) -> None
        C++: void SetProperty(vtkProperty2D *)
        
        Set/Get the properties when unselected and selected.
        """
        pass

    def SetSelectedProperty(self, __a): # real signature unknown; restored from __doc__
        """
        SetSelectedProperty(self, __a:vtkProperty2D) -> None
        C++: void SetSelectedProperty(vtkProperty2D *)
        """
        pass

    def SetTextProperty(self, __a): # real signature unknown; restored from __doc__
        """
        SetTextProperty(self, __a:vtkTextProperty) -> None
        C++: void SetTextProperty(vtkTextProperty *)
        """
        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 behave as a vtkProp.
        """
        pass

    def StartWidgetInteraction(self, eventPos, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        StartWidgetInteraction(self, eventPos:[float, float]) -> None
        C++: void StartWidgetInteraction(double eventPos[2]) override;
        """
        pass

    def WidgetInteraction(self, eventPos, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        WidgetInteraction(self, eventPos:[float, float]) -> None
        C++: void WidgetInteraction(double eventPos[2]) override;
        """
        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__\': \'vtkAffineRepresentation2D\', \'IsTypeOf\': <method \'IsTypeOf\' of \'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation2D\' objects>, \'IsA\': <method \'IsA\' of \'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation2D\' objects>, \'SafeDownCast\': <method \'SafeDownCast\' of \'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation2D\' objects>, \'NewInstance\': <method \'NewInstance\' of \'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation2D\' objects>, \'GetNumberOfGenerationsFromBaseType\': <method \'GetNumberOfGenerationsFromBaseType\' of \'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation2D\' objects>, \'GetNumberOfGenerationsFromBase\': <method \'GetNumberOfGenerationsFromBase\' of \'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation2D\' objects>, \'SetBoxWidth\': <method \'SetBoxWidth\' of \'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation2D\' objects>, \'GetBoxWidthMinValue\': <method \'GetBoxWidthMinValue\' of \'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation2D\' objects>, \'GetBoxWidthMaxValue\': <method \'GetBoxWidthMaxValue\' of \'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation2D\' objects>, \'GetBoxWidth\': <method \'GetBoxWidth\' of \'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation2D\' objects>, \'SetCircleWidth\': <method \'SetCircleWidth\' of \'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation2D\' objects>, \'GetCircleWidthMinValue\': <method \'GetCircleWidthMinValue\' of \'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation2D\' objects>, \'GetCircleWidthMaxValue\': <method \'GetCircleWidthMaxValue\' of \'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation2D\' objects>, \'GetCircleWidth\': <method \'GetCircleWidth\' of \'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation2D\' objects>, \'SetAxesWidth\': <method \'SetAxesWidth\' of \'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation2D\' objects>, \'GetAxesWidthMinValue\': <method \'GetAxesWidthMinValue\' of \'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation2D\' objects>, \'GetAxesWidthMaxValue\': <method \'GetAxesWidthMaxValue\' of \'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation2D\' objects>, \'GetAxesWidth\': <method \'GetAxesWidth\' of \'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation2D\' objects>, \'SetOrigin\': <method \'SetOrigin\' of \'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation2D\' objects>, \'GetOrigin\': <method \'GetOrigin\' of \'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation2D\' objects>, \'GetTransform\': <method \'GetTransform\' of \'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation2D\' objects>, \'SetProperty\': <method \'SetProperty\' of \'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation2D\' objects>, \'SetSelectedProperty\': <method \'SetSelectedProperty\' of \'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation2D\' objects>, \'SetTextProperty\': <method \'SetTextProperty\' of \'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation2D\' objects>, \'GetProperty\': <method \'GetProperty\' of \'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation2D\' objects>, \'GetSelectedProperty\': <method \'GetSelectedProperty\' of \'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation2D\' objects>, \'GetTextProperty\': <method \'GetTextProperty\' of \'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation2D\' objects>, \'SetDisplayText\': <method \'SetDisplayText\' of \'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation2D\' objects>, \'GetDisplayText\': <method \'GetDisplayText\' of \'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation2D\' objects>, \'DisplayTextOn\': <method \'DisplayTextOn\' of \'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation2D\' objects>, \'DisplayTextOff\': <method \'DisplayTextOff\' of \'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation2D\' objects>, \'PlaceWidget\': <method \'PlaceWidget\' of \'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation2D\' objects>, \'StartWidgetInteraction\': <method \'StartWidgetInteraction\' of \'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation2D\' objects>, \'WidgetInteraction\': <method \'WidgetInteraction\' of \'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation2D\' objects>, \'EndWidgetInteraction\': <method \'EndWidgetInteraction\' of \'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation2D\' objects>, \'ComputeInteractionState\': <method \'ComputeInteractionState\' of \'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation2D\' objects>, \'BuildRepresentation\': <method \'BuildRepresentation\' of \'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation2D\' objects>, \'ShallowCopy\': <method \'ShallowCopy\' of \'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation2D\' objects>, \'GetActors2D\': <method \'GetActors2D\' of \'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation2D\' objects>, \'ReleaseGraphicsResources\': <method \'ReleaseGraphicsResources\' of \'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation2D\' objects>, \'RenderOverlay\': <method \'RenderOverlay\' of \'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation2D\' objects>, \'__new__\': <built-in method __new__ of type object at 0x00007FF81D633EA0>, \'__repr__\': <slot wrapper \'__repr__\' of \'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation2D\' objects>, \'__str__\': <slot wrapper \'__str__\' of \'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation2D\' objects>, \'__getattribute__\': <slot wrapper \'__getattribute__\' of \'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation2D\' objects>, \'__setattr__\': <slot wrapper \'__setattr__\' of \'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation2D\' objects>, \'__delattr__\': <slot wrapper \'__delattr__\' of \'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation2D\' objects>, \'__dict__\': <attribute \'__dict__\' of \'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation2D\' objects>, \'__this__\': <attribute \'__this__\' of \'vtkmodules.vtkInteractionWidgets.vtkAffineRepresentation2D\' objects>, \'__doc__\': "vtkAffineRepresentation2D - represent 2D affine transformations\\n\\nSuperclass: vtkAffineRepresentation\\n\\nThis class is used to represent a vtkAffineWidget. This\\nrepresentation consists of three parts: a box, a circle, and a cross.\\nThe box is used for scaling and shearing, the circle for rotation,\\nand the cross for translation. These parts are drawn in the overlay\\nplane and maintain a constant size (width and height) specified in\\nterms of normalized viewport coordinates.\\n\\nThe representation maintains an internal transformation matrix (see\\nsuperclass\' GetTransform() method). The transformations generated by\\nthis widget assume that the representation lies in the x-y plane. If\\nthis is not the case, the user is responsible for transforming this\\nrepresentation\'s matrix into the correct coordinate space (by\\njudicious matrix multiplication). Note that the transformation matrix\\nreturned by GetTransform() is relative to the last PlaceWidget()\\ninvocation. (The PlaceWidget() sets the origin around which rotation\\nand scaling occurs; the origin is the center point of the bounding\\nbox provided.)\\n\\n@sa\\nvtkAffineRepresentation vtkAffineWidget\\n\\n"})'
    __vtkname__ = 'vtkAffineRepresentation2D'


