# 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 vtkMagnifierRepresentation(vtkWidgetRepresentation):
    """
    vtkMagnifierRepresentation - represent a vtkBorderWidget
    
    Superclass: vtkWidgetRepresentation
    
    This class is used to represent and render a vtkMagnifierWidget.  To
    use this class, you need to specify a renderer in which to place the
    magnifier, and a magnification factor. Optionally, you can specify
    the size of the magnifier window, whether it has a border, and the
    particular actors to render.
    
    @sa
    vtkMagnifierWidget
    """
    def AddViewProp(self, __a): # real signature unknown; restored from __doc__
        """
        AddViewProp(self, __a:vtkProp) -> None
        C++: void AddViewProp(vtkProp *)
        
        Optionally specify and maintain the list of view props (e.g.,
        actors, volumes, etc).  By default, if nothing is specified, then
        the view props from the associated renderer are used. Note, by
        using view props different than that of the associated renderer,
        it is possible to create special effects and/or remove props from
        what is shown in the magnifier.
        """
        pass

    def BorderOff(self): # real signature unknown; restored from __doc__
        """
        BorderOff(self) -> None
        C++: virtual void BorderOff()
        """
        pass

    def BorderOn(self): # real signature unknown; restored from __doc__
        """
        BorderOn(self) -> None
        C++: virtual void BorderOn()
        """
        pass

    def BuildRepresentation(self): # real signature unknown; restored from __doc__
        """
        BuildRepresentation(self) -> None
        C++: void BuildRepresentation() override;
        
        Subclasses should implement these methods. See the superclasses'
        documentation for more information.
        """
        pass

    def GetBorder(self): # real signature unknown; restored from __doc__
        """
        GetBorder(self) -> bool
        C++: virtual bool GetBorder()
        """
        return False

    def GetBorderProperty(self): # real signature unknown; restored from __doc__
        """
        GetBorderProperty(self) -> vtkProperty2D
        C++: virtual vtkProperty2D *GetBorderProperty()
        
        Specify the properties of the border.
        """
        pass

    def GetInteractionStateMaxValue(self): # real signature unknown; restored from __doc__
        """
        GetInteractionStateMaxValue(self) -> int
        C++: virtual int GetInteractionStateMaxValue()
        """
        return 0

    def GetInteractionStateMinValue(self): # real signature unknown; restored from __doc__
        """
        GetInteractionStateMinValue(self) -> int
        C++: virtual int GetInteractionStateMinValue()
        """
        return 0

    def GetMagnificationFactor(self): # real signature unknown; restored from __doc__
        """
        GetMagnificationFactor(self) -> float
        C++: virtual double GetMagnificationFactor()
        """
        return 0.0

    def GetMagnificationFactorMaxValue(self): # real signature unknown; restored from __doc__
        """
        GetMagnificationFactorMaxValue(self) -> float
        C++: virtual double GetMagnificationFactorMaxValue()
        """
        return 0.0

    def GetMagnificationFactorMinValue(self): # real signature unknown; restored from __doc__
        """
        GetMagnificationFactorMinValue(self) -> float
        C++: virtual double GetMagnificationFactorMinValue()
        """
        return 0.0

    def GetMagnificationRenderer(self): # real signature unknown; restored from __doc__
        """
        GetMagnificationRenderer(self) -> vtkRenderer
        C++: vtkRenderer *GetMagnificationRenderer()
        
        Provide access to the magnification renderer. This is so
        properties like background color can be set.
        """
        pass

    def GetMTime(self): # real signature unknown; restored from __doc__
        """
        GetMTime(self) -> int
        C++: vtkMTimeType GetMTime() override;
        
        Return the MTime of this object. It takes into account MTimes of
        the border's property.
        """
        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 GetSize(self): # real signature unknown; restored from __doc__
        """
        GetSize(self) -> (int, int)
        C++: virtual int *GetSize()
        """
        pass

    def GetViewProps(self): # real signature unknown; restored from __doc__
        """
        GetViewProps(self) -> vtkPropCollection
        C++: vtkPropCollection *GetViewProps()
        """
        pass

    def HasTranslucentPolygonalGeometry(self): # real signature unknown; restored from __doc__
        """
        HasTranslucentPolygonalGeometry(self) -> int
        C++: vtkTypeBool HasTranslucentPolygonalGeometry() override;
        
        WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT
        USE THESE METHODS OUTSIDE OF THE RENDERING PROCESS Does this prop
        have some translucent polygonal geometry? This method is called
        during the rendering process to know if there is some translucent
        polygonal geometry. A simple prop that has some translucent
        polygonal geometry will return true. A composite prop (like
        vtkAssembly) that has at least one sub-prop that has some
        translucent polygonal geometry will return true. Default
        implementation return false.
        """
        return 0

    def HasViewProp(self, __a): # real signature unknown; restored from __doc__
        """
        HasViewProp(self, __a:vtkProp) -> int
        C++: int HasViewProp(vtkProp *)
        """
        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) -> vtkMagnifierRepresentation
        C++: vtkMagnifierRepresentation *NewInstance()
        """
        return vtkMagnifierRepresentation

    def ReleaseGraphicsResources(self, __a): # real signature unknown; restored from __doc__
        """
        ReleaseGraphicsResources(self, __a:vtkWindow) -> None
        C++: void ReleaseGraphicsResources(vtkWindow *) override;
        
        These methods are necessary to make this representation behave as
        a vtkProp.
        """
        pass

    def RemoveAllViewProps(self): # real signature unknown; restored from __doc__
        """
        RemoveAllViewProps(self) -> None
        C++: void RemoveAllViewProps(void)
        """
        pass

    def RemoveViewProp(self, __a): # real signature unknown; restored from __doc__
        """
        RemoveViewProp(self, __a:vtkProp) -> None
        C++: void RemoveViewProp(vtkProp *)
        """
        pass

    def RenderOpaqueGeometry(self, __a): # real signature unknown; restored from __doc__
        """
        RenderOpaqueGeometry(self, __a:vtkViewport) -> int
        C++: int RenderOpaqueGeometry(vtkViewport *) override;
        
        WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT
        USE THESE METHODS OUTSIDE OF THE RENDERING PROCESS All concrete
        subclasses must be able to render themselves. There are four key
        render methods in vtk and they correspond to four different
        points in the rendering cycle. Any given prop may implement one
        or more of these methods. The first method is intended for
        rendering all opaque geometry. The second method is intended for
        rendering all translucent polygonal geometry. The third one is
        intended for rendering all translucent volumetric geometry. Most
        of the volume rendering mappers draw their results during this
        third method. The last method is to render any 2D annotation or
        overlays. Each of these methods return an integer value
        indicating whether or not this render method was applied to this
        data.
        """
        return 0

    def RenderOverlay(self, __a): # real signature unknown; restored from __doc__
        """
        RenderOverlay(self, __a:vtkViewport) -> int
        C++: int RenderOverlay(vtkViewport *) override;
        """
        return 0

    def RenderTranslucentPolygonalGeometry(self, __a): # real signature unknown; restored from __doc__
        """
        RenderTranslucentPolygonalGeometry(self, __a:vtkViewport) -> int
        C++: int RenderTranslucentPolygonalGeometry(vtkViewport *)
            override;
        """
        return 0

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkMagnifierRepresentation
        C++: static vtkMagnifierRepresentation *SafeDownCast(
            vtkObjectBase *o)
        """
        return vtkMagnifierRepresentation

    def SetBorder(self, _arg): # real signature unknown; restored from __doc__
        """
        SetBorder(self, _arg:bool) -> None
        C++: virtual void SetBorder(bool _arg)
        
        Optionally specify whether a border should be drawn on the outer
        edge of the magnifier viewport. By default this is off.
        """
        pass

    def SetInteractionState(self, _arg): # real signature unknown; restored from __doc__
        """
        SetInteractionState(self, _arg:int) -> None
        C++: virtual void SetInteractionState(int _arg)
        
        Specify the interaction state of the widget. This is generally
        performed by the associated vtkMagnifierWidget. (It is necessary
        for the widget to specify the interaction state in order to
        remove the internal magnification renderer from the render
        window).
        """
        pass

    def SetMagnificationFactor(self, _arg): # real signature unknown; restored from __doc__
        """
        SetMagnificationFactor(self, _arg:float) -> None
        C++: virtual void SetMagnificationFactor(double _arg)
        
        Methods to control the magnification factor. The magnification
        factor is relative to the associated renderer's camera. The bump
        method enables small increments of magnification to be applied.
        If the bump is positive, it increases the magnification; if
        negative it decreases the magnification.
        """
        pass

    def SetRenderer(self, ren): # real signature unknown; restored from __doc__
        """
        SetRenderer(self, ren:vtkRenderer) -> None
        C++: void SetRenderer(vtkRenderer *ren) override;
        
        Specify the renderer viewport in which to place the magnifier.
        """
        pass

    def SetSize(self, _arg1, _arg2): # real signature unknown; restored from __doc__
        """
        SetSize(self, _arg1:int, _arg2:int) -> None
        C++: virtual void SetSize(int _arg1, int _arg2)
        SetSize(self, _arg:(int, int)) -> None
        C++: void SetSize(const int _arg[2])
        
        Specify the size of the magnifier viewport in pixels.
        """
        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."""


    InteractionStateType = None # (!) real value is "<class 'vtkmodules.vtkInteractionWidgets.vtkMagnifierRepresentation.InteractionStateType'>"
    Invisible = 0
    Visible = 1
    __dict__ = None # (!) real value is "mappingproxy({'__vtkname__': 'vtkMagnifierRepresentation', 'IsTypeOf': <method 'IsTypeOf' of 'vtkmodules.vtkInteractionWidgets.vtkMagnifierRepresentation' objects>, 'IsA': <method 'IsA' of 'vtkmodules.vtkInteractionWidgets.vtkMagnifierRepresentation' objects>, 'SafeDownCast': <method 'SafeDownCast' of 'vtkmodules.vtkInteractionWidgets.vtkMagnifierRepresentation' objects>, 'NewInstance': <method 'NewInstance' of 'vtkmodules.vtkInteractionWidgets.vtkMagnifierRepresentation' objects>, 'GetNumberOfGenerationsFromBaseType': <method 'GetNumberOfGenerationsFromBaseType' of 'vtkmodules.vtkInteractionWidgets.vtkMagnifierRepresentation' objects>, 'GetNumberOfGenerationsFromBase': <method 'GetNumberOfGenerationsFromBase' of 'vtkmodules.vtkInteractionWidgets.vtkMagnifierRepresentation' objects>, 'SetRenderer': <method 'SetRenderer' of 'vtkmodules.vtkInteractionWidgets.vtkMagnifierRepresentation' objects>, 'SetMagnificationFactor': <method 'SetMagnificationFactor' of 'vtkmodules.vtkInteractionWidgets.vtkMagnifierRepresentation' objects>, 'GetMagnificationFactorMinValue': <method 'GetMagnificationFactorMinValue' of 'vtkmodules.vtkInteractionWidgets.vtkMagnifierRepresentation' objects>, 'GetMagnificationFactorMaxValue': <method 'GetMagnificationFactorMaxValue' of 'vtkmodules.vtkInteractionWidgets.vtkMagnifierRepresentation' objects>, 'GetMagnificationFactor': <method 'GetMagnificationFactor' of 'vtkmodules.vtkInteractionWidgets.vtkMagnifierRepresentation' objects>, 'AddViewProp': <method 'AddViewProp' of 'vtkmodules.vtkInteractionWidgets.vtkMagnifierRepresentation' objects>, 'GetViewProps': <method 'GetViewProps' of 'vtkmodules.vtkInteractionWidgets.vtkMagnifierRepresentation' objects>, 'HasViewProp': <method 'HasViewProp' of 'vtkmodules.vtkInteractionWidgets.vtkMagnifierRepresentation' objects>, 'RemoveViewProp': <method 'RemoveViewProp' of 'vtkmodules.vtkInteractionWidgets.vtkMagnifierRepresentation' objects>, 'RemoveAllViewProps': <method 'RemoveAllViewProps' of 'vtkmodules.vtkInteractionWidgets.vtkMagnifierRepresentation' objects>, 'SetSize': <method 'SetSize' of 'vtkmodules.vtkInteractionWidgets.vtkMagnifierRepresentation' objects>, 'GetSize': <method 'GetSize' of 'vtkmodules.vtkInteractionWidgets.vtkMagnifierRepresentation' objects>, 'SetBorder': <method 'SetBorder' of 'vtkmodules.vtkInteractionWidgets.vtkMagnifierRepresentation' objects>, 'GetBorder': <method 'GetBorder' of 'vtkmodules.vtkInteractionWidgets.vtkMagnifierRepresentation' objects>, 'BorderOn': <method 'BorderOn' of 'vtkmodules.vtkInteractionWidgets.vtkMagnifierRepresentation' objects>, 'BorderOff': <method 'BorderOff' of 'vtkmodules.vtkInteractionWidgets.vtkMagnifierRepresentation' objects>, 'GetBorderProperty': <method 'GetBorderProperty' of 'vtkmodules.vtkInteractionWidgets.vtkMagnifierRepresentation' objects>, 'BuildRepresentation': <method 'BuildRepresentation' of 'vtkmodules.vtkInteractionWidgets.vtkMagnifierRepresentation' objects>, 'WidgetInteraction': <method 'WidgetInteraction' of 'vtkmodules.vtkInteractionWidgets.vtkMagnifierRepresentation' objects>, 'SetInteractionState': <method 'SetInteractionState' of 'vtkmodules.vtkInteractionWidgets.vtkMagnifierRepresentation' objects>, 'GetInteractionStateMinValue': <method 'GetInteractionStateMinValue' of 'vtkmodules.vtkInteractionWidgets.vtkMagnifierRepresentation' objects>, 'GetInteractionStateMaxValue': <method 'GetInteractionStateMaxValue' of 'vtkmodules.vtkInteractionWidgets.vtkMagnifierRepresentation' objects>, 'GetMagnificationRenderer': <method 'GetMagnificationRenderer' of 'vtkmodules.vtkInteractionWidgets.vtkMagnifierRepresentation' objects>, 'ReleaseGraphicsResources': <method 'ReleaseGraphicsResources' of 'vtkmodules.vtkInteractionWidgets.vtkMagnifierRepresentation' objects>, 'RenderOverlay': <method 'RenderOverlay' of 'vtkmodules.vtkInteractionWidgets.vtkMagnifierRepresentation' objects>, 'RenderOpaqueGeometry': <method 'RenderOpaqueGeometry' of 'vtkmodules.vtkInteractionWidgets.vtkMagnifierRepresentation' objects>, 'RenderTranslucentPolygonalGeometry': <method 'RenderTranslucentPolygonalGeometry' of 'vtkmodules.vtkInteractionWidgets.vtkMagnifierRepresentation' objects>, 'HasTranslucentPolygonalGeometry': <method 'HasTranslucentPolygonalGeometry' of 'vtkmodules.vtkInteractionWidgets.vtkMagnifierRepresentation' objects>, 'GetMTime': <method 'GetMTime' of 'vtkmodules.vtkInteractionWidgets.vtkMagnifierRepresentation' objects>, 'InteractionStateType': <class 'vtkmodules.vtkInteractionWidgets.vtkMagnifierRepresentation.InteractionStateType'>, 'Invisible': 0, 'Visible': 1, '__new__': <built-in method __new__ of type object at 0x00007FF81D6543B0>, '__repr__': <slot wrapper '__repr__' of 'vtkmodules.vtkInteractionWidgets.vtkMagnifierRepresentation' objects>, '__str__': <slot wrapper '__str__' of 'vtkmodules.vtkInteractionWidgets.vtkMagnifierRepresentation' objects>, '__getattribute__': <slot wrapper '__getattribute__' of 'vtkmodules.vtkInteractionWidgets.vtkMagnifierRepresentation' objects>, '__setattr__': <slot wrapper '__setattr__' of 'vtkmodules.vtkInteractionWidgets.vtkMagnifierRepresentation' objects>, '__delattr__': <slot wrapper '__delattr__' of 'vtkmodules.vtkInteractionWidgets.vtkMagnifierRepresentation' objects>, '__dict__': <attribute '__dict__' of 'vtkmodules.vtkInteractionWidgets.vtkMagnifierRepresentation' objects>, '__this__': <attribute '__this__' of 'vtkmodules.vtkInteractionWidgets.vtkMagnifierRepresentation' objects>, '__doc__': 'vtkMagnifierRepresentation - represent a vtkBorderWidget\\n\\nSuperclass: vtkWidgetRepresentation\\n\\nThis class is used to represent and render a vtkMagnifierWidget.  To\\nuse this class, you need to specify a renderer in which to place the\\nmagnifier, and a magnification factor. Optionally, you can specify\\nthe size of the magnifier window, whether it has a border, and the\\nparticular actors to render.\\n\\n@sa\\nvtkMagnifierWidget\\n\\n'})"
    __vtkname__ = 'vtkMagnifierRepresentation'


