# 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 .vtkBiDimensionalRepresentation import vtkBiDimensionalRepresentation

class vtkBiDimensionalRepresentation2D(vtkBiDimensionalRepresentation):
    """
    vtkBiDimensionalRepresentation2D - represent the
    vtkBiDimensionalWidget
    
    Superclass: vtkBiDimensionalRepresentation
    
    The vtkBiDimensionalRepresentation2D is used to represent the
    bi-dimensional measure in a 2D (overlay) context. This representation
    consists of two perpendicular lines defined by four
    vtkHandleRepresentations. The four handles can be independently
    manipulated consistent with the orthogonal constraint on the lines.
    (Note: the four points are referred to as Point1, Point2, Point3 and
    Point4. Point1 and Point2 define the first line; and Point3 and
    Point4 define the second orthogonal line.)
    
    To create this widget, you click to place the first two points. The
    third point is mirrored with the fourth point; when you place the
    third point (which is orthogonal to the lined defined by the first
    two points), the fourth point is dropped as well. After definition,
    the four points can be moved (in constrained fashion, preserving
    orthogonality). Further, the entire widget can be translated by
    grabbing the center point of the widget; each line can be moved along
    the other line; and the entire widget can be rotated around its
    center point.
    
    @sa
    vtkAngleWidget vtkHandleRepresentation vtkBiDimensionalRepresentation
    """
    def BuildRepresentation(self): # real signature unknown; restored from __doc__
        """
        BuildRepresentation(self) -> None
        C++: void BuildRepresentation() override;
        
        These are methods that satisfy vtkWidgetRepresentation's API.
        """
        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 GetLabelPosition(self): # real signature unknown; restored from __doc__
        """
        GetLabelPosition(self) -> Pointer
        C++: double *GetLabelPosition() override;
        GetLabelPosition(self, pos:[float, float, float]) -> None
        C++: void GetLabelPosition(double pos[3]) override;
        
        Get the position of the widget's label in display coordinates.
        """
        pass

    def GetLabelText(self): # real signature unknown; restored from __doc__
        """
        GetLabelText(self) -> str
        C++: char *GetLabelText() override;
        
        Get the text shown in the widget's label.
        """
        return ""

    def GetLineProperty(self): # real signature unknown; restored from __doc__
        """
        GetLineProperty(self) -> vtkProperty2D
        C++: virtual vtkProperty2D *GetLineProperty()
        
        Retrieve the property used to control the appearance of the two
        orthogonal lines.
        """
        pass

    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 GetSelectedLineProperty(self): # real signature unknown; restored from __doc__
        """
        GetSelectedLineProperty(self) -> vtkProperty2D
        C++: virtual vtkProperty2D *GetSelectedLineProperty()
        """
        pass

    def GetTextProperty(self): # real signature unknown; restored from __doc__
        """
        GetTextProperty(self) -> vtkTextProperty
        C++: virtual vtkTextProperty *GetTextProperty()
        
        Retrieve the property used to control the appearance of the text
        labels.
        """
        pass

    def GetWorldLabelPosition(self, pos, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        GetWorldLabelPosition(self, pos:[float, float, float]) -> None
        C++: void GetWorldLabelPosition(double pos[3]) override;
        """
        pass

    def Highlight(self, highlightOn): # real signature unknown; restored from __doc__
        """
        Highlight(self, highlightOn:int) -> None
        C++: void Highlight(int highlightOn) 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) -> vtkBiDimensionalRepresentation2D
        C++: vtkBiDimensionalRepresentation2D *NewInstance()
        """
        return vtkBiDimensionalRepresentation2D

    def Point2WidgetInteraction(self, e, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        Point2WidgetInteraction(self, e:[float, float]) -> None
        C++: void Point2WidgetInteraction(double e[2]) override;
        """
        pass

    def Point3WidgetInteraction(self, e, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        Point3WidgetInteraction(self, e:[float, float]) -> None
        C++: void Point3WidgetInteraction(double e[2]) override;
        """
        pass

    def ReleaseGraphicsResources(self, w): # real signature unknown; restored from __doc__
        """
        ReleaseGraphicsResources(self, w:vtkWindow) -> None
        C++: void ReleaseGraphicsResources(vtkWindow *w) override;
        
        Methods required by vtkProp superclass.
        """
        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) -> vtkBiDimensionalRepresentation2D
        C++: static vtkBiDimensionalRepresentation2D *SafeDownCast(
            vtkObjectBase *o)
        """
        return vtkBiDimensionalRepresentation2D

    def StartWidgetDefinition(self, e, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        StartWidgetDefinition(self, e:[float, float]) -> None
        C++: void StartWidgetDefinition(double e[2]) override;
        
        These are methods that satisfy vtkWidgetRepresentation's API.
        """
        pass

    def StartWidgetManipulation(self, e, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        StartWidgetManipulation(self, e:[float, float]) -> None
        C++: void StartWidgetManipulation(double e[2]) override;
        """
        pass

    def WidgetInteraction(self, e, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        WidgetInteraction(self, e:[float, float]) -> None
        C++: void WidgetInteraction(double e[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."""


    NearP1 = 1
    NearP2 = 2
    NearP3 = 3
    NearP4 = 4
    OnCenter = 9
    OnL1Inner = 5
    OnL1Outer = 6
    OnL2Inner = 7
    OnL2Outer = 8
    Outside = 0
    __dict__ = None # (!) real value is "mappingproxy({'__vtkname__': 'vtkBiDimensionalRepresentation2D', 'IsTypeOf': <method 'IsTypeOf' of 'vtkmodules.vtkInteractionWidgets.vtkBiDimensionalRepresentation2D' objects>, 'IsA': <method 'IsA' of 'vtkmodules.vtkInteractionWidgets.vtkBiDimensionalRepresentation2D' objects>, 'SafeDownCast': <method 'SafeDownCast' of 'vtkmodules.vtkInteractionWidgets.vtkBiDimensionalRepresentation2D' objects>, 'NewInstance': <method 'NewInstance' of 'vtkmodules.vtkInteractionWidgets.vtkBiDimensionalRepresentation2D' objects>, 'GetNumberOfGenerationsFromBaseType': <method 'GetNumberOfGenerationsFromBaseType' of 'vtkmodules.vtkInteractionWidgets.vtkBiDimensionalRepresentation2D' objects>, 'GetNumberOfGenerationsFromBase': <method 'GetNumberOfGenerationsFromBase' of 'vtkmodules.vtkInteractionWidgets.vtkBiDimensionalRepresentation2D' objects>, 'GetLineProperty': <method 'GetLineProperty' of 'vtkmodules.vtkInteractionWidgets.vtkBiDimensionalRepresentation2D' objects>, 'GetSelectedLineProperty': <method 'GetSelectedLineProperty' of 'vtkmodules.vtkInteractionWidgets.vtkBiDimensionalRepresentation2D' objects>, 'GetTextProperty': <method 'GetTextProperty' of 'vtkmodules.vtkInteractionWidgets.vtkBiDimensionalRepresentation2D' objects>, 'BuildRepresentation': <method 'BuildRepresentation' of 'vtkmodules.vtkInteractionWidgets.vtkBiDimensionalRepresentation2D' objects>, 'ComputeInteractionState': <method 'ComputeInteractionState' of 'vtkmodules.vtkInteractionWidgets.vtkBiDimensionalRepresentation2D' objects>, 'StartWidgetDefinition': <method 'StartWidgetDefinition' of 'vtkmodules.vtkInteractionWidgets.vtkBiDimensionalRepresentation2D' objects>, 'Point2WidgetInteraction': <method 'Point2WidgetInteraction' of 'vtkmodules.vtkInteractionWidgets.vtkBiDimensionalRepresentation2D' objects>, 'Point3WidgetInteraction': <method 'Point3WidgetInteraction' of 'vtkmodules.vtkInteractionWidgets.vtkBiDimensionalRepresentation2D' objects>, 'StartWidgetManipulation': <method 'StartWidgetManipulation' of 'vtkmodules.vtkInteractionWidgets.vtkBiDimensionalRepresentation2D' objects>, 'WidgetInteraction': <method 'WidgetInteraction' of 'vtkmodules.vtkInteractionWidgets.vtkBiDimensionalRepresentation2D' objects>, 'Highlight': <method 'Highlight' of 'vtkmodules.vtkInteractionWidgets.vtkBiDimensionalRepresentation2D' objects>, 'ReleaseGraphicsResources': <method 'ReleaseGraphicsResources' of 'vtkmodules.vtkInteractionWidgets.vtkBiDimensionalRepresentation2D' objects>, 'RenderOverlay': <method 'RenderOverlay' of 'vtkmodules.vtkInteractionWidgets.vtkBiDimensionalRepresentation2D' objects>, 'GetLabelText': <method 'GetLabelText' of 'vtkmodules.vtkInteractionWidgets.vtkBiDimensionalRepresentation2D' objects>, 'GetLabelPosition': <method 'GetLabelPosition' of 'vtkmodules.vtkInteractionWidgets.vtkBiDimensionalRepresentation2D' objects>, 'GetWorldLabelPosition': <method 'GetWorldLabelPosition' of 'vtkmodules.vtkInteractionWidgets.vtkBiDimensionalRepresentation2D' objects>, 'Outside': 0, 'NearP1': 1, 'NearP2': 2, 'NearP3': 3, 'NearP4': 4, 'OnL1Inner': 5, 'OnL1Outer': 6, 'OnL2Inner': 7, 'OnL2Outer': 8, 'OnCenter': 9, '__new__': <built-in method __new__ of type object at 0x00007FF81D637DE0>, '__repr__': <slot wrapper '__repr__' of 'vtkmodules.vtkInteractionWidgets.vtkBiDimensionalRepresentation2D' objects>, '__str__': <slot wrapper '__str__' of 'vtkmodules.vtkInteractionWidgets.vtkBiDimensionalRepresentation2D' objects>, '__getattribute__': <slot wrapper '__getattribute__' of 'vtkmodules.vtkInteractionWidgets.vtkBiDimensionalRepresentation2D' objects>, '__setattr__': <slot wrapper '__setattr__' of 'vtkmodules.vtkInteractionWidgets.vtkBiDimensionalRepresentation2D' objects>, '__delattr__': <slot wrapper '__delattr__' of 'vtkmodules.vtkInteractionWidgets.vtkBiDimensionalRepresentation2D' objects>, '__dict__': <attribute '__dict__' of 'vtkmodules.vtkInteractionWidgets.vtkBiDimensionalRepresentation2D' objects>, '__this__': <attribute '__this__' of 'vtkmodules.vtkInteractionWidgets.vtkBiDimensionalRepresentation2D' objects>, '__doc__': 'vtkBiDimensionalRepresentation2D - represent the\\nvtkBiDimensionalWidget\\n\\nSuperclass: vtkBiDimensionalRepresentation\\n\\nThe vtkBiDimensionalRepresentation2D is used to represent the\\nbi-dimensional measure in a 2D (overlay) context. This representation\\nconsists of two perpendicular lines defined by four\\nvtkHandleRepresentations. The four handles can be independently\\nmanipulated consistent with the orthogonal constraint on the lines.\\n(Note: the four points are referred to as Point1, Point2, Point3 and\\nPoint4. Point1 and Point2 define the first line; and Point3 and\\nPoint4 define the second orthogonal line.)\\n\\nTo create this widget, you click to place the first two points. The\\nthird point is mirrored with the fourth point; when you place the\\nthird point (which is orthogonal to the lined defined by the first\\ntwo points), the fourth point is dropped as well. After definition,\\nthe four points can be moved (in constrained fashion, preserving\\northogonality). Further, the entire widget can be translated by\\ngrabbing the center point of the widget; each line can be moved along\\nthe other line; and the entire widget can be rotated around its\\ncenter point.\\n\\n@sa\\nvtkAngleWidget vtkHandleRepresentation vtkBiDimensionalRepresentation\\n\\n'})"
    __vtkname__ = 'vtkBiDimensionalRepresentation2D'


