# encoding: utf-8
# module vtkmodules.vtkRenderingContextOpenGL2
# from C:\Users\xukai\Downloads\发票2\venv\Lib\site-packages\vtkmodules\vtkRenderingContextOpenGL2.cp311-win_amd64.pyd
# by generator 1.147
# no doc

# imports
import vtkmodules.vtkRenderingContext2D as __vtkmodules_vtkRenderingContext2D


# no functions
# classes

class vtkOpenGLContextActor(__vtkmodules_vtkRenderingContext2D.vtkContextActor):
    """
    vtkOpenGLContextActor - provides a vtkProp derived object.
    
    Superclass: vtkContextActor
    
    This object provides the entry point for the vtkContextScene to be
    rendered in a vtkRenderer. Uses the RenderOverlay pass to render the
    2D vtkContextScene.
    """
    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 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) -> vtkOpenGLContextActor
        C++: vtkOpenGLContextActor *NewInstance()
        """
        return vtkOpenGLContextActor

    def ReleaseGraphicsResources(self, window): # real signature unknown; restored from __doc__
        """
        ReleaseGraphicsResources(self, window:vtkWindow) -> None
        C++: void ReleaseGraphicsResources(vtkWindow *window) override;
        
        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;
        
        We only render in the overlay for the context scene.
        """
        return 0

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkOpenGLContextActor
        C++: static vtkOpenGLContextActor *SafeDownCast(vtkObjectBase *o)
        """
        return vtkOpenGLContextActor

    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__': 'vtkOpenGLContextActor', 'IsTypeOf': <method 'IsTypeOf' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextActor' objects>, 'IsA': <method 'IsA' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextActor' objects>, 'SafeDownCast': <method 'SafeDownCast' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextActor' objects>, 'NewInstance': <method 'NewInstance' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextActor' objects>, 'GetNumberOfGenerationsFromBaseType': <method 'GetNumberOfGenerationsFromBaseType' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextActor' objects>, 'GetNumberOfGenerationsFromBase': <method 'GetNumberOfGenerationsFromBase' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextActor' objects>, 'ReleaseGraphicsResources': <method 'ReleaseGraphicsResources' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextActor' objects>, 'RenderOverlay': <method 'RenderOverlay' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextActor' objects>, '__new__': <built-in method __new__ of type object at 0x00007FF86D7F4130>, '__repr__': <slot wrapper '__repr__' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextActor' objects>, '__str__': <slot wrapper '__str__' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextActor' objects>, '__getattribute__': <slot wrapper '__getattribute__' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextActor' objects>, '__setattr__': <slot wrapper '__setattr__' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextActor' objects>, '__delattr__': <slot wrapper '__delattr__' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextActor' objects>, '__dict__': <attribute '__dict__' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextActor' objects>, '__this__': <attribute '__this__' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextActor' objects>, '__doc__': 'vtkOpenGLContextActor - provides a vtkProp derived object.\\n\\nSuperclass: vtkContextActor\\n\\nThis object provides the entry point for the vtkContextScene to be\\nrendered in a vtkRenderer. Uses the RenderOverlay pass to render the\\n2D vtkContextScene.\\n\\n'})"
    __vtkname__ = 'vtkOpenGLContextActor'


class vtkOpenGLContextBufferId(__vtkmodules_vtkRenderingContext2D.vtkAbstractContextBufferId):
    """
    vtkOpenGLContextBufferId - 2D array of ids stored in VRAM.
    
    Superclass: vtkAbstractContextBufferId
    
    An 2D array where each element is the id of an entity drawn at the
    given pixel.
    """
    def Allocate(self): # real signature unknown; restored from __doc__
        """
        Allocate(self) -> None
        C++: void Allocate() override;
        
        Allocate the memory for at least Width*Height elements.
        \pre positive_width: GetWidth()>0
        \pre positive_height: GetHeight()>0
        \pre context_is_set: this->GetContext()!=0
        """
        pass

    def GetContext(self): # real signature unknown; restored from __doc__
        """
        GetContext(self) -> vtkRenderWindow
        C++: vtkRenderWindow *GetContext() override;
        """
        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 GetPickedItem(self, x, y): # real signature unknown; restored from __doc__
        """
        GetPickedItem(self, x:int, y:int) -> int
        C++: vtkIdType GetPickedItem(int x, int y) override;
        
        Return item under abscissa x and ordinate y. Abscissa go from
        left to right. Ordinate go from bottom to top. The return value
        is -1 if there is no item.
        \pre is_allocated: IsAllocated()
        \post valid_result: result>=-1
        """
        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 IsAllocated(self): # real signature unknown; restored from __doc__
        """
        IsAllocated(self) -> bool
        C++: bool IsAllocated() override;
        
        Tell if the buffer has been allocated.
        """
        return False

    def IsSupported(self): # real signature unknown; restored from __doc__
        """
        IsSupported(self) -> bool
        C++: bool IsSupported() override;
        
        Returns if the context supports the required extensions.
        \pre context_is_set: this->GetContext()!=0
        """
        return False

    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) -> vtkOpenGLContextBufferId
        C++: vtkOpenGLContextBufferId *NewInstance()
        """
        return vtkOpenGLContextBufferId

    def ReleaseGraphicsResources(self): # real signature unknown; restored from __doc__
        """
        ReleaseGraphicsResources(self) -> None
        C++: void ReleaseGraphicsResources() override;
        
        Release any graphics resources that are being consumed by this
        object.
        """
        pass

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkOpenGLContextBufferId
        C++: static vtkOpenGLContextBufferId *SafeDownCast(
            vtkObjectBase *o)
        """
        return vtkOpenGLContextBufferId

    def SetContext(self, context): # real signature unknown; restored from __doc__
        """
        SetContext(self, context:vtkRenderWindow) -> None
        C++: void SetContext(vtkRenderWindow *context) override;
        
        Set/Get the OpenGL context owning the texture object resource.
        """
        pass

    def SetValues(self, srcXmin, srcYmin): # real signature unknown; restored from __doc__
        """
        SetValues(self, srcXmin:int, srcYmin:int) -> None
        C++: void SetValues(int srcXmin, int srcYmin) override;
        
        Copy the contents of the current read buffer to the internal
        texture starting at lower left corner of the framebuffer
        (srcXmin,srcYmin).
        \pre is_allocated: this->IsAllocated()
        """
        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__': 'vtkOpenGLContextBufferId', 'IsTypeOf': <method 'IsTypeOf' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextBufferId' objects>, 'IsA': <method 'IsA' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextBufferId' objects>, 'SafeDownCast': <method 'SafeDownCast' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextBufferId' objects>, 'NewInstance': <method 'NewInstance' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextBufferId' objects>, 'GetNumberOfGenerationsFromBaseType': <method 'GetNumberOfGenerationsFromBaseType' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextBufferId' objects>, 'GetNumberOfGenerationsFromBase': <method 'GetNumberOfGenerationsFromBase' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextBufferId' objects>, 'ReleaseGraphicsResources': <method 'ReleaseGraphicsResources' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextBufferId' objects>, 'SetContext': <method 'SetContext' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextBufferId' objects>, 'GetContext': <method 'GetContext' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextBufferId' objects>, 'IsSupported': <method 'IsSupported' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextBufferId' objects>, 'Allocate': <method 'Allocate' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextBufferId' objects>, 'IsAllocated': <method 'IsAllocated' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextBufferId' objects>, 'SetValues': <method 'SetValues' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextBufferId' objects>, 'GetPickedItem': <method 'GetPickedItem' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextBufferId' objects>, '__new__': <built-in method __new__ of type object at 0x00007FF86D7F44C0>, '__repr__': <slot wrapper '__repr__' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextBufferId' objects>, '__str__': <slot wrapper '__str__' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextBufferId' objects>, '__getattribute__': <slot wrapper '__getattribute__' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextBufferId' objects>, '__setattr__': <slot wrapper '__setattr__' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextBufferId' objects>, '__delattr__': <slot wrapper '__delattr__' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextBufferId' objects>, '__dict__': <attribute '__dict__' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextBufferId' objects>, '__this__': <attribute '__this__' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextBufferId' objects>, '__doc__': 'vtkOpenGLContextBufferId - 2D array of ids stored in VRAM.\\n\\nSuperclass: vtkAbstractContextBufferId\\n\\nAn 2D array where each element is the id of an entity drawn at the\\ngiven pixel.\\n\\n'})"
    __vtkname__ = 'vtkOpenGLContextBufferId'


class vtkOpenGLContextDevice2D(__vtkmodules_vtkRenderingContext2D.vtkContextDevice2D):
    """
    vtkOpenGLContextDevice2D - Class for drawing 2D primitives using
    OpenGL 1.1+.
    
    Superclass: vtkContextDevice2D
    
    This class takes care of drawing the 2D primitives for the
    vtkContext2D class. In general this class should not be used
    directly, but called by vtkContext2D which takes care of many of the
    higher level details.
    
    @sa
    vtkOpenGL2ContextDevice2D
    """
    def Begin(self, viewport): # real signature unknown; restored from __doc__
        """
        Begin(self, viewport:vtkViewport) -> None
        C++: void Begin(vtkViewport *viewport) override;
        
        Begin drawing, pass in the viewport to set up the view.
        """
        pass

    def BufferIdModeBegin(self, bufferId): # real signature unknown; restored from __doc__
        """
        BufferIdModeBegin(self, bufferId:vtkAbstractContextBufferId)
            -> None
        C++: void BufferIdModeBegin(vtkAbstractContextBufferId *bufferId)
            override;
        
        Start BufferId creation Mode. The default implementation is
        empty.
        \pre not_yet: !GetBufferIdMode()
        \pre bufferId_exists: bufferId!=0
        \post started: GetBufferIdMode()
        """
        pass

    def BufferIdModeEnd(self): # real signature unknown; restored from __doc__
        """
        BufferIdModeEnd(self) -> None
        C++: void BufferIdModeEnd() override;
        
        Finalize BufferId creation Mode. It makes sure that the content
        of the bufferId passed in argument of BufferIdModeBegin() is
        correctly set. The default implementation is empty.
        \pre started: GetBufferIdMode()
        \post done: !GetBufferIdMode()
        """
        pass

    def ComputeJustifiedStringBounds(self, string, bounds, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        ComputeJustifiedStringBounds(self, string:str, bounds:[float,
            float, float, float]) -> None
        C++: void ComputeJustifiedStringBounds(const char *string,
            float bounds[4]) override;
        
        Compute the bounds of the supplied string while taking into
        account the justification of the currently applied text property.
        Simple rotations (0, 90, 180, 270 degrees) are also properly
        taken into account.
        """
        pass

    def ComputeStringBounds(self, string, bounds, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        ComputeStringBounds(self, string:str, bounds:[float, float, float,
             float]) -> None
        C++: void ComputeStringBounds(const vtkStdString &string,
            float bounds[4]) override;
        
        Compute the bounds of the supplied string. The bounds will be
        copied to the supplied bounds variable, the first two elements
        are the bottom corner of the string, and the second two elements
        are the width and height of the bounding box. An empty bounding
        box (0, 0, 0, 0) is returned for an empty string or string with
        only characters that cannot be rendered. NOTE: This function does
        not take account of the text rotation.
        """
        pass

    def DrawColoredPolygon(self, points, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        DrawColoredPolygon(self, points:[float, ...], numPoints:int,
            colors:[int, ...]=..., nc_comps:int=0) -> None
        C++: void DrawColoredPolygon(float *points, int numPoints,
            unsigned char *colors=nullptr, int nc_comps=0) override;
        """
        pass

    def DrawEllipseWedge(self, x, y, outRx, outRy, inRx, inRy, startAngle, stopAngle): # real signature unknown; restored from __doc__
        """
        DrawEllipseWedge(self, x:float, y:float, outRx:float, outRy:float,
             inRx:float, inRy:float, startAngle:float, stopAngle:float)
            -> None
        C++: void DrawEllipseWedge(float x, float y, float outRx,
            float outRy, float inRx, float inRy, float startAngle,
            float stopAngle) override;
        
        Draw an elliptic wedge with center at x, y, outer radii outRx,
        outRy, inner radii inRx, inRy between angles startAngle and
        stopAngle (expressed in degrees).
        \pre positive_outRx: outRx>=0
        \pre positive_outRy: outRy>=0
        \pre positive_inRx: inRx>=0
        \pre positive_inRy: inRy>=0
        \pre ordered_rx: inRx<=outRx
        \pre ordered_ry: inRy<=outRy
        """
        pass

    def DrawEllipticArc(self, x, y, rX, rY, startAngle, stopAngle): # real signature unknown; restored from __doc__
        """
        DrawEllipticArc(self, x:float, y:float, rX:float, rY:float,
            startAngle:float, stopAngle:float) -> None
        C++: void DrawEllipticArc(float x, float y, float rX, float rY,
            float startAngle, float stopAngle) override;
        
        Draw an elliptic arc with center at x,y with radii rX and rY
        between angles startAngle and stopAngle (expressed in degrees).
        \pre positive_rX: rX>=0
        \pre positive_rY: rY>=0
        """
        pass

    def DrawImage(self, p, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        DrawImage(self, p:[float, float], scale:float, image:vtkImageData)
             -> None
        C++: void DrawImage(float p[2], float scale, vtkImageData *image)
            override;
        DrawImage(self, pos:vtkRectf, image:vtkImageData) -> None
        C++: void DrawImage(const vtkRectf &pos, vtkImageData *image)
            override;
        
        Draw the supplied image at the given x, y (p[0], p[1]) (bottom
        corner), scaled by scale (1.0 would match the image).
        """
        pass

    def DrawLines(self, f, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        DrawLines(self, f:[float, ...], n:int, colors:[int, ...]=...,
            nc_comps:int=0) -> None
        C++: void DrawLines(float *f, int n,
            unsigned char *colors=nullptr, int nc_comps=0) override;
        
        Draw lines using the points - memory layout is as follows:
        l1p1,l1p2,l2p1,l2p2... The lines will be colored by colors array
        which has nc_comps components.
        \sa DrawPoly()
        """
        pass

    def DrawMarkers(self, shape, highlight, points, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        DrawMarkers(self, shape:int, highlight:bool, points:[float, ...],
            n:int, colors:[int, ...]=..., nc_comps:int=0) -> None
        C++: void DrawMarkers(int shape, bool highlight, float *points,
            int n, unsigned char *colors=nullptr, int nc_comps=0)
            override;
        
        Draw a series of markers centered at the points supplied. The
        shape argument controls the marker shape, and can be one of
        - VTK_MARKER_CROSS
        - VTK_MARKER_PLUS
        - VTK_MARKER_SQUARE
        - VTK_MARKER_CIRCLE
        - VTK_MARKER_DIAMOND
        \param shape the shape of the marker
        \param highlight whether to highlight the marker or not
        \param points where to draw the sprites
        \param n the number of points
        \param colors is an optional array of colors.
        \param nc_comps is the number of components for the color.
        """
        pass

    def DrawMathTextString(self, point, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        DrawMathTextString(self, point:[float, float], string:str) -> None
        C++: void DrawMathTextString(float point[2],
            const vtkStdString &string) override;
        
        Draw text using MathText markup for mathematical equations. See
        http://matplotlib.sourceforge.net/users/mathtext.html for more
        information.
        """
        pass

    def DrawPoints(self, points, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        DrawPoints(self, points:[float, ...], n:int, colors:[int,
            ...]=..., nc_comps:int=0) -> None
        C++: void DrawPoints(float *points, int n,
            unsigned char *colors=nullptr, int nc_comps=0) override;
        
        Draw a series of points - fastest code path due to memory layout
        of the coordinates. Points are colored by colors array which has
        nc_comps components
        """
        pass

    def DrawPointSprites(self, sprite, points, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        DrawPointSprites(self, sprite:vtkImageData, points:[float, ...],
            n:int, colors:[int, ...]=..., nc_comps:int=0) -> None
        C++: void DrawPointSprites(vtkImageData *sprite, float *points,
            int n, unsigned char *colors=nullptr, int nc_comps=0)
            override;
        
        Draw a series of point sprites, images centred at the points
        supplied. The supplied vtkImageData is the sprite to be drawn,
        only squares will be drawn and the size is set using
        SetPointSize. Points are colored by colors array which has
        nc_comps components - this part is optional.
        """
        pass

    def DrawPoly(self, f, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        DrawPoly(self, f:[float, ...], n:int, colors:[int, ...]=...,
            nc_comps:int=0) -> None
        C++: void DrawPoly(float *f, int n, unsigned char *colors=nullptr,
             int nc_comps=0) override;
        
        Draw a poly line using the points - fastest code path due to
        memory layout of the coordinates. The line will be colored by
        colors array which has nc_comps components
        """
        pass

    def DrawPolyData(self, p, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        DrawPolyData(self, p:[float, float], scale:float,
            polyData:vtkPolyData, colors:vtkUnsignedCharArray,
            scalarMode:int) -> None
        C++: void DrawPolyData(float p[2], float scale,
            vtkPolyData *polyData, vtkUnsignedCharArray *colors,
            int scalarMode) override;
        
        Draw the supplied PolyData at the given x, y (p[0], p[1]) (bottom
        corner), scaled by scale (1.0 would match the actual dataset).
        """
        pass

    def DrawPolygon(self, __a, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        DrawPolygon(self, __a:[float, ...], __b:int) -> None
        C++: void DrawPolygon(float *, int) override;
        
        Draw a polygon using the specified number of points.
        """
        pass

    def DrawQuad(self, points, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        DrawQuad(self, points:[float, ...], n:int) -> None
        C++: void DrawQuad(float *points, int n) override;
        
        Draws a rectangle
        """
        pass

    def DrawQuadStrip(self, points, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        DrawQuadStrip(self, points:[float, ...], n:int) -> None
        C++: void DrawQuadStrip(float *points, int n) override;
        
        Draws a rectangle
        """
        pass

    def DrawString(self, point, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        DrawString(self, point:[float, ...], string:str) -> None
        C++: void DrawString(float *point, const vtkStdString &string)
            override;
        
        Draw some text to the screen!
        """
        pass

    def EnableClipping(self, enable): # real signature unknown; restored from __doc__
        """
        EnableClipping(self, enable:bool) -> None
        C++: void EnableClipping(bool enable) override;
        
        Disable clipping of the display.
        """
        pass

    def End(self): # real signature unknown; restored from __doc__
        """
        End(self) -> None
        C++: void End() override;
        
        End drawing, clean up the view.
        """
        pass

    def GetMatrix(self, m): # real signature unknown; restored from __doc__
        """
        GetMatrix(self, m:vtkMatrix3x3) -> None
        C++: void GetMatrix(vtkMatrix3x3 *m) override;
        
        Set the model view matrix for the display
        """
        pass

    def GetMaximumMarkerCacheSize(self): # real signature unknown; restored from __doc__
        """
        GetMaximumMarkerCacheSize(self) -> int
        C++: virtual int GetMaximumMarkerCacheSize()
        """
        return 0

    def GetModelMatrix(self): # real signature unknown; restored from __doc__
        """
        GetModelMatrix(self) -> vtkMatrix4x4
        C++: vtkMatrix4x4 *GetModelMatrix()
        """
        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 GetProjectionMatrix(self): # real signature unknown; restored from __doc__
        """
        GetProjectionMatrix(self) -> vtkMatrix4x4
        C++: vtkMatrix4x4 *GetProjectionMatrix()
        
        Get the projection matrix this is needed
        """
        pass

    def GetRenderWindow(self): # real signature unknown; restored from __doc__
        """
        GetRenderWindow(self) -> vtkOpenGLRenderWindow
        C++: virtual vtkOpenGLRenderWindow *GetRenderWindow()
        
        Get the active RenderWindow of the device. Will return null if
        not active.
        """
        pass

    def HasGLSL(self): # real signature unknown; restored from __doc__
        """
        HasGLSL(self) -> bool
        C++: bool HasGLSL()
        
        Check whether the current context device has support for GLSL.
        """
        return False

    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 MultiplyMatrix(self, m): # real signature unknown; restored from __doc__
        """
        MultiplyMatrix(self, m:vtkMatrix3x3) -> None
        C++: void MultiplyMatrix(vtkMatrix3x3 *m) override;
        
        Multiply the current model view matrix by the supplied one.
        """
        pass

    def NewInstance(self): # real signature unknown; restored from __doc__
        """
        NewInstance(self) -> vtkOpenGLContextDevice2D
        C++: vtkOpenGLContextDevice2D *NewInstance()
        """
        return vtkOpenGLContextDevice2D

    def PopMatrix(self): # real signature unknown; restored from __doc__
        """
        PopMatrix(self) -> None
        C++: void PopMatrix() override;
        
        Pop the current matrix off of the stack.
        """
        pass

    def PushMatrix(self): # real signature unknown; restored from __doc__
        """
        PushMatrix(self) -> None
        C++: void PushMatrix() override;
        
        Push the current matrix onto the stack.
        """
        pass

    def ReleaseGraphicsResources(self, window): # real signature unknown; restored from __doc__
        """
        ReleaseGraphicsResources(self, window:vtkWindow) -> None
        C++: virtual void ReleaseGraphicsResources(vtkWindow *window)
        
        Release any graphics resources that are being consumed by this
        device. The parameter window could be used to determine which
        graphic resources to release.
        """
        pass

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkOpenGLContextDevice2D
        C++: static vtkOpenGLContextDevice2D *SafeDownCast(
            vtkObjectBase *o)
        """
        return vtkOpenGLContextDevice2D

    def SetClipping(self, x, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        SetClipping(self, x:[int, ...]) -> None
        C++: void SetClipping(int *x) override;
        
        Supply an int array of length 4 with x1, y1, width, height
        specifying clipping region for the device in pixels.
        """
        pass

    def SetColor(self, color, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        SetColor(self, color:[int, int, int]) -> None
        C++: virtual void SetColor(unsigned char color[3])
        
        Set the color for the device using unsigned char of length 3,
        RGB.
        """
        pass

    def SetColor4(self, color, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        SetColor4(self, color:[int, int, int, int]) -> None
        C++: void SetColor4(unsigned char color[4]) override;
        
        Set the color for the device using unsigned char of length 4,
        RGBA.
        """
        pass

    def SetLineType(self, type): # real signature unknown; restored from __doc__
        """
        SetLineType(self, type:int) -> None
        C++: void SetLineType(int type) override;
        
        Set the line type type (using anonymous enum in vtkPen).
        """
        pass

    def SetLineWidth(self, width): # real signature unknown; restored from __doc__
        """
        SetLineWidth(self, width:float) -> None
        C++: void SetLineWidth(float width) override;
        
        Set the line width for glyphs/sprites.
        """
        pass

    def SetMatrix(self, m): # real signature unknown; restored from __doc__
        """
        SetMatrix(self, m:vtkMatrix3x3) -> None
        C++: void SetMatrix(vtkMatrix3x3 *m) override;
        
        Set the model view matrix for the display
        """
        pass

    def SetMaximumMarkerCacheSize(self, _arg): # real signature unknown; restored from __doc__
        """
        SetMaximumMarkerCacheSize(self, _arg:int) -> None
        C++: virtual void SetMaximumMarkerCacheSize(int _arg)
        
        Adjust the size of the MarkerCache. This implementation generates
        point sprites for each mark size/shape and uses DrawPointSprites
        to render them. The number of cached markers can be accessed with
        this function.
        """
        pass

    def SetPointSize(self, size): # real signature unknown; restored from __doc__
        """
        SetPointSize(self, size:float) -> None
        C++: void SetPointSize(float size) override;
        
        Set the point size for glyphs/sprites.
        """
        pass

    def SetStringRendererToFreeType(self): # real signature unknown; restored from __doc__
        """
        SetStringRendererToFreeType(self) -> bool
        C++: bool SetStringRendererToFreeType()
        
        Force the use of the freetype based render strategy. If Qt is
        available then freetype will be used preferentially, otherwise
        this has no effect. Returns true on success.
        """
        return False

    def SetStringRendererToQt(self): # real signature unknown; restored from __doc__
        """
        SetStringRendererToQt(self) -> bool
        C++: bool SetStringRendererToQt()
        
        Force the use of the Qt based string render strategy. If Qt is
        not available then freetype will be used and this will return
        false.
        """
        return False

    def SetTexture(self, image, properties=0): # real signature unknown; restored from __doc__
        """
        SetTexture(self, image:vtkImageData, properties:int=0) -> None
        C++: void SetTexture(vtkImageData *image, int properties=0)
            override;
        
        Set the texture for the device, it is used to fill the polygons
        """
        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__': 'vtkOpenGLContextDevice2D', 'IsTypeOf': <method 'IsTypeOf' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice2D' objects>, 'IsA': <method 'IsA' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice2D' objects>, 'SafeDownCast': <method 'SafeDownCast' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice2D' objects>, 'NewInstance': <method 'NewInstance' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice2D' objects>, 'GetNumberOfGenerationsFromBaseType': <method 'GetNumberOfGenerationsFromBaseType' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice2D' objects>, 'GetNumberOfGenerationsFromBase': <method 'GetNumberOfGenerationsFromBase' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice2D' objects>, 'DrawPoly': <method 'DrawPoly' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice2D' objects>, 'DrawLines': <method 'DrawLines' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice2D' objects>, 'DrawPoints': <method 'DrawPoints' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice2D' objects>, 'DrawPointSprites': <method 'DrawPointSprites' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice2D' objects>, 'DrawMarkers': <method 'DrawMarkers' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice2D' objects>, 'SetMaximumMarkerCacheSize': <method 'SetMaximumMarkerCacheSize' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice2D' objects>, 'GetMaximumMarkerCacheSize': <method 'GetMaximumMarkerCacheSize' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice2D' objects>, 'DrawQuad': <method 'DrawQuad' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice2D' objects>, 'DrawQuadStrip': <method 'DrawQuadStrip' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice2D' objects>, 'DrawPolygon': <method 'DrawPolygon' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice2D' objects>, 'DrawColoredPolygon': <method 'DrawColoredPolygon' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice2D' objects>, 'DrawEllipseWedge': <method 'DrawEllipseWedge' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice2D' objects>, 'DrawEllipticArc': <method 'DrawEllipticArc' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice2D' objects>, 'DrawString': <method 'DrawString' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice2D' objects>, 'ComputeStringBounds': <method 'ComputeStringBounds' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice2D' objects>, 'ComputeJustifiedStringBounds': <method 'ComputeJustifiedStringBounds' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice2D' objects>, 'DrawMathTextString': <method 'DrawMathTextString' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice2D' objects>, 'DrawImage': <method 'DrawImage' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice2D' objects>, 'DrawPolyData': <method 'DrawPolyData' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice2D' objects>, 'SetColor4': <method 'SetColor4' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice2D' objects>, 'SetColor': <method 'SetColor' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice2D' objects>, 'SetTexture': <method 'SetTexture' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice2D' objects>, 'SetPointSize': <method 'SetPointSize' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice2D' objects>, 'SetLineWidth': <method 'SetLineWidth' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice2D' objects>, 'SetLineType': <method 'SetLineType' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice2D' objects>, 'MultiplyMatrix': <method 'MultiplyMatrix' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice2D' objects>, 'SetMatrix': <method 'SetMatrix' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice2D' objects>, 'GetMatrix': <method 'GetMatrix' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice2D' objects>, 'PushMatrix': <method 'PushMatrix' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice2D' objects>, 'PopMatrix': <method 'PopMatrix' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice2D' objects>, 'SetClipping': <method 'SetClipping' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice2D' objects>, 'EnableClipping': <method 'EnableClipping' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice2D' objects>, 'Begin': <method 'Begin' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice2D' objects>, 'End': <method 'End' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice2D' objects>, 'BufferIdModeBegin': <method 'BufferIdModeBegin' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice2D' objects>, 'BufferIdModeEnd': <method 'BufferIdModeEnd' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice2D' objects>, 'SetStringRendererToFreeType': <method 'SetStringRendererToFreeType' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice2D' objects>, 'SetStringRendererToQt': <method 'SetStringRendererToQt' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice2D' objects>, 'HasGLSL': <method 'HasGLSL' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice2D' objects>, 'GetRenderWindow': <method 'GetRenderWindow' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice2D' objects>, 'ReleaseGraphicsResources': <method 'ReleaseGraphicsResources' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice2D' objects>, 'GetProjectionMatrix': <method 'GetProjectionMatrix' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice2D' objects>, 'GetModelMatrix': <method 'GetModelMatrix' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice2D' objects>, '__new__': <built-in method __new__ of type object at 0x00007FF86D7F4CB0>, '__repr__': <slot wrapper '__repr__' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice2D' objects>, '__str__': <slot wrapper '__str__' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice2D' objects>, '__getattribute__': <slot wrapper '__getattribute__' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice2D' objects>, '__setattr__': <slot wrapper '__setattr__' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice2D' objects>, '__delattr__': <slot wrapper '__delattr__' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice2D' objects>, '__dict__': <attribute '__dict__' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice2D' objects>, '__this__': <attribute '__this__' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice2D' objects>, '__doc__': 'vtkOpenGLContextDevice2D - Class for drawing 2D primitives using\\nOpenGL 1.1+.\\n\\nSuperclass: vtkContextDevice2D\\n\\nThis class takes care of drawing the 2D primitives for the\\nvtkContext2D class. In general this class should not be used\\ndirectly, but called by vtkContext2D which takes care of many of the\\nhigher level details.\\n\\n@sa\\nvtkOpenGL2ContextDevice2D\\n\\n'})"
    __vtkname__ = 'vtkOpenGLContextDevice2D'


class vtkOpenGLContextDevice3D(__vtkmodules_vtkRenderingContext2D.vtkContextDevice3D):
    """
    vtkOpenGLContextDevice3D - OpenGL class drawing 3D primitives.
    
    Superclass: vtkContextDevice3D
    
    This defines the implementation of a 3D context device for drawing
    simple primitives.
    """
    def ApplyBrush(self, brush): # real signature unknown; restored from __doc__
        """
        ApplyBrush(self, brush:vtkBrush) -> None
        C++: void ApplyBrush(vtkBrush *brush) override;
        
        Apply the supplied brush which controls the outlines of shapes,
        as well as lines, points and related primitives. This makes a
        deep copy of the vtkBrush object in the vtkContext2D, it does not
        hold a pointer to the supplied object.
        """
        pass

    def ApplyPen(self, pen): # real signature unknown; restored from __doc__
        """
        ApplyPen(self, pen:vtkPen) -> None
        C++: void ApplyPen(vtkPen *pen) override;
        
        Apply the supplied pen which controls the outlines of shapes, as
        well as lines, points and related primitives. This makes a deep
        copy of the vtkPen object in the vtkContext2D, it does not hold a
        pointer to the supplied object.
        """
        pass

    def Begin(self, viewport): # real signature unknown; restored from __doc__
        """
        Begin(self, viewport:vtkViewport) -> None
        C++: virtual void Begin(vtkViewport *viewport)
        
        Begin drawing, pass in the viewport to set up the view.
        """
        pass

    def DisableClippingPlane(self, i): # real signature unknown; restored from __doc__
        """
        DisableClippingPlane(self, i:int) -> None
        C++: void DisableClippingPlane(int i) override;
        """
        pass

    def DrawLines(self, verts, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        DrawLines(self, verts:(float, ...), n:int, colors:(int, ...),
            nc:int) -> None
        C++: void DrawLines(const float *verts, int n,
            const unsigned char *colors, int nc) override;
        
        Draw lines defined by specified pair of points.
        \sa DrawPoly()
        """
        pass

    def DrawPoints(self, verts, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        DrawPoints(self, verts:(float, ...), n:int, colors:(int, ...),
            nc:int) -> None
        C++: void DrawPoints(const float *verts, int n,
            const unsigned char *colors, int nc) override;
        
        Draw points at the vertex positions specified.
        """
        pass

    def DrawPoly(self, verts, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        DrawPoly(self, verts:(float, ...), n:int, colors:(int, ...),
            nc:int) -> None
        C++: void DrawPoly(const float *verts, int n,
            const unsigned char *colors, int nc) override;
        
        Draw a polyline between the specified points.
        """
        pass

    def DrawTriangleMesh(self, mesh, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        DrawTriangleMesh(self, mesh:(float, ...), n:int, colors:(int, ...)
            , nc:int) -> None
        C++: void DrawTriangleMesh(const float *mesh, int n,
            const unsigned char *colors, int nc) override;
        
        Draw triangles to generate the specified mesh.
        """
        pass

    def EnableClipping(self, enable): # real signature unknown; restored from __doc__
        """
        EnableClipping(self, enable:bool) -> None
        C++: void EnableClipping(bool enable) override;
        
        Enable or disable the clipping of the scene.
        """
        pass

    def EnableClippingPlane(self, i, planeEquation, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        EnableClippingPlane(self, i:int, planeEquation:[float, ...])
            -> None
        C++: void EnableClippingPlane(int i, double *planeEquation)
            override;
        
        Enable/Disable the specified clipping plane. i is the index of
        the clipping plane being enabled or disabled (0 - 5).
        planeEquation points to the four coefficients of the equation for
        the clipping plane: Ax + By + Cz + D = 0.  This is the equation
        format expected by glClipPlane.
        """
        pass

    def GetMatrix(self, m): # real signature unknown; restored from __doc__
        """
        GetMatrix(self, m:vtkMatrix4x4) -> None
        C++: void GetMatrix(vtkMatrix4x4 *m) override;
        
        Set the model view matrix for the display
        """
        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 Initialize(self, __a, __b): # real signature unknown; restored from __doc__
        """
        Initialize(self, __a:vtkRenderer, __b:vtkOpenGLContextDevice2D)
            -> None
        C++: void Initialize(vtkRenderer *, vtkOpenGLContextDevice2D *)
        
        This must be set during initialization
        """
        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 MultiplyMatrix(self, m): # real signature unknown; restored from __doc__
        """
        MultiplyMatrix(self, m:vtkMatrix4x4) -> None
        C++: void MultiplyMatrix(vtkMatrix4x4 *m) override;
        
        Multiply the current model view matrix by the supplied one
        """
        pass

    def NewInstance(self): # real signature unknown; restored from __doc__
        """
        NewInstance(self) -> vtkOpenGLContextDevice3D
        C++: vtkOpenGLContextDevice3D *NewInstance()
        """
        return vtkOpenGLContextDevice3D

    def PopMatrix(self): # real signature unknown; restored from __doc__
        """
        PopMatrix(self) -> None
        C++: void PopMatrix() override;
        
        Pop the current matrix off of the stack.
        """
        pass

    def PushMatrix(self): # real signature unknown; restored from __doc__
        """
        PushMatrix(self) -> None
        C++: void PushMatrix() override;
        
        Push the current matrix onto the stack.
        """
        pass

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkOpenGLContextDevice3D
        C++: static vtkOpenGLContextDevice3D *SafeDownCast(
            vtkObjectBase *o)
        """
        return vtkOpenGLContextDevice3D

    def SetClipping(self, rect): # real signature unknown; restored from __doc__
        """
        SetClipping(self, rect:vtkRecti) -> None
        C++: void SetClipping(const vtkRecti &rect) override;
        
        Supply a float array of length 4 with x1, y1, width, height
        specifying clipping region for the device in pixels.
        """
        pass

    def SetMatrix(self, m): # real signature unknown; restored from __doc__
        """
        SetMatrix(self, m:vtkMatrix4x4) -> None
        C++: void SetMatrix(vtkMatrix4x4 *m) override;
        
        Set the model view matrix for the display
        """
        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__': 'vtkOpenGLContextDevice3D', 'IsTypeOf': <method 'IsTypeOf' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice3D' objects>, 'IsA': <method 'IsA' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice3D' objects>, 'SafeDownCast': <method 'SafeDownCast' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice3D' objects>, 'NewInstance': <method 'NewInstance' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice3D' objects>, 'GetNumberOfGenerationsFromBaseType': <method 'GetNumberOfGenerationsFromBaseType' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice3D' objects>, 'GetNumberOfGenerationsFromBase': <method 'GetNumberOfGenerationsFromBase' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice3D' objects>, 'DrawPoly': <method 'DrawPoly' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice3D' objects>, 'DrawLines': <method 'DrawLines' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice3D' objects>, 'DrawPoints': <method 'DrawPoints' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice3D' objects>, 'DrawTriangleMesh': <method 'DrawTriangleMesh' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice3D' objects>, 'ApplyPen': <method 'ApplyPen' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice3D' objects>, 'ApplyBrush': <method 'ApplyBrush' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice3D' objects>, 'SetMatrix': <method 'SetMatrix' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice3D' objects>, 'GetMatrix': <method 'GetMatrix' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice3D' objects>, 'MultiplyMatrix': <method 'MultiplyMatrix' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice3D' objects>, 'PushMatrix': <method 'PushMatrix' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice3D' objects>, 'PopMatrix': <method 'PopMatrix' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice3D' objects>, 'SetClipping': <method 'SetClipping' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice3D' objects>, 'EnableClipping': <method 'EnableClipping' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice3D' objects>, 'EnableClippingPlane': <method 'EnableClippingPlane' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice3D' objects>, 'DisableClippingPlane': <method 'DisableClippingPlane' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice3D' objects>, 'Initialize': <method 'Initialize' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice3D' objects>, 'Begin': <method 'Begin' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice3D' objects>, '__new__': <built-in method __new__ of type object at 0x00007FF86D7F5160>, '__repr__': <slot wrapper '__repr__' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice3D' objects>, '__str__': <slot wrapper '__str__' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice3D' objects>, '__getattribute__': <slot wrapper '__getattribute__' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice3D' objects>, '__setattr__': <slot wrapper '__setattr__' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice3D' objects>, '__delattr__': <slot wrapper '__delattr__' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice3D' objects>, '__dict__': <attribute '__dict__' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice3D' objects>, '__this__': <attribute '__this__' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLContextDevice3D' objects>, '__doc__': 'vtkOpenGLContextDevice3D - OpenGL class drawing 3D primitives.\\n\\nSuperclass: vtkContextDevice3D\\n\\nThis defines the implementation of a 3D context device for drawing\\nsimple primitives.\\n\\n'})"
    __vtkname__ = 'vtkOpenGLContextDevice3D'


class vtkOpenGLPropItem(__vtkmodules_vtkRenderingContext2D.vtkPropItem):
    """
    vtkOpenGLPropItem - Sync Context2D state with vtk camera.
    
    Superclass: vtkPropItem
    
    The vtkContext2D framework modifies the GL state directly, while some
    actors and mappers rely on the modelview/projection matrices from
    vtkCamera. This class is a layer between the two that updates the
    camera with the current OpenGL state.
    """
    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 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) -> vtkOpenGLPropItem
        C++: vtkOpenGLPropItem *NewInstance()
        """
        return vtkOpenGLPropItem

    def Paint(self, painter): # real signature unknown; restored from __doc__
        """
        Paint(self, painter:vtkContext2D) -> bool
        C++: bool Paint(vtkContext2D *painter) override;
        
        Paint event for the item, called whenever the item needs to be
        drawn.
        """
        return False

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkOpenGLPropItem
        C++: static vtkOpenGLPropItem *SafeDownCast(vtkObjectBase *o)
        """
        return vtkOpenGLPropItem

    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__': 'vtkOpenGLPropItem', 'IsTypeOf': <method 'IsTypeOf' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLPropItem' objects>, 'IsA': <method 'IsA' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLPropItem' objects>, 'SafeDownCast': <method 'SafeDownCast' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLPropItem' objects>, 'NewInstance': <method 'NewInstance' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLPropItem' objects>, 'GetNumberOfGenerationsFromBaseType': <method 'GetNumberOfGenerationsFromBaseType' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLPropItem' objects>, 'GetNumberOfGenerationsFromBase': <method 'GetNumberOfGenerationsFromBase' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLPropItem' objects>, 'Paint': <method 'Paint' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLPropItem' objects>, '__new__': <built-in method __new__ of type object at 0x00007FF86D7F5410>, '__repr__': <slot wrapper '__repr__' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLPropItem' objects>, '__str__': <slot wrapper '__str__' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLPropItem' objects>, '__getattribute__': <slot wrapper '__getattribute__' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLPropItem' objects>, '__setattr__': <slot wrapper '__setattr__' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLPropItem' objects>, '__delattr__': <slot wrapper '__delattr__' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLPropItem' objects>, '__dict__': <attribute '__dict__' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLPropItem' objects>, '__this__': <attribute '__this__' of 'vtkmodules.vtkRenderingContextOpenGL2.vtkOpenGLPropItem' objects>, '__doc__': 'vtkOpenGLPropItem - Sync Context2D state with vtk camera.\\n\\nSuperclass: vtkPropItem\\n\\nThe vtkContext2D framework modifies the GL state directly, while some\\nactors and mappers rely on the modelview/projection matrices from\\nvtkCamera. This class is a layer between the two that updates the\\ncamera with the current OpenGL state.\\n\\n'})"
    __vtkname__ = 'vtkOpenGLPropItem'


# variables with complex values

__loader__ = None # (!) real value is '<_frozen_importlib_external.ExtensionFileLoader object at 0x000002EBF7F0BC50>'

__spec__ = None # (!) real value is "ModuleSpec(name='vtkmodules.vtkRenderingContextOpenGL2', loader=<_frozen_importlib_external.ExtensionFileLoader object at 0x000002EBF7F0BC50>, origin='C:\\\\Users\\\\xukai\\\\Downloads\\\\??2\\\\venv\\\\Lib\\\\site-packages\\\\vtkmodules\\\\vtkRenderingContextOpenGL2.cp311-win_amd64.pyd')"

