# encoding: utf-8
# module vtkmodules.vtkRenderingOpenGL2
# from C:\Users\xukai\Downloads\发票2\venv\Lib\site-packages\vtkmodules\vtkRenderingOpenGL2.cp311-win_amd64.pyd
# by generator 1.147
# no doc

# imports
import vtkmodules.vtkCommonCore as __vtkmodules_vtkCommonCore
import vtkmodules.vtkRenderingCore as __vtkmodules_vtkRenderingCore
import vtkmodules.vtkRenderingHyperTreeGrid as __vtkmodules_vtkRenderingHyperTreeGrid


class vtkOpenGLGL2PSHelper(__vtkmodules_vtkCommonCore.vtkObject):
    """
    vtkOpenGLGL2PSHelper - Access GL2PS functionality.
    
    Superclass: vtkObject
    
    This class provides convenience functions that can be used to draw
    into a GL2PS context. Link to vtkRenderingGL2PSOpenGL2 to bring in
    the vtkOpenGLGL2PSHelperImpl class, the object factory override that
    implements this interface.
    """
    def Draw3DPath(self, path, actorMatrix, rasterPos, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        Draw3DPath(self, path:vtkPath, actorMatrix:vtkMatrix4x4,
            rasterPos:[float, float, float], actorColor:[int, int, int,
            int], ren:vtkRenderer, label:str=...) -> None
        C++: virtual void Draw3DPath(vtkPath *path,
            vtkMatrix4x4 *actorMatrix, double rasterPos[3],
            unsigned char actorColor[4], vtkRenderer *ren,
            const char *label=nullptr)
        
        Transform the path using the actor's matrix and current GL state,
        then draw it to GL2PS. The label string is inserted into the
        GL2PS output at the beginning of the path specification as a
        comment on supported backends.
        """
        pass

    def DrawImage(self, image, pos, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        DrawImage(self, image:vtkImageData, pos:[float, float, float])
            -> None
        C++: virtual void DrawImage(vtkImageData *image, double pos[3])
        
        Draw the image at pos. Image must be RGB or RGBA with float
        scalars.
        """
        pass

    def DrawPath(self, path, rasterPos, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        DrawPath(self, path:vtkPath, rasterPos:[float, float, float],
            windowPos:[float, float], rgba:[int, int, int, int],
            scale:[float, float]=..., rotateAngle:float=0.0,
            strokeWidth:float=-1, label:str=...) -> None
        C++: virtual void DrawPath(vtkPath *path, double rasterPos[3],
            double windowPos[2], unsigned char rgba[4],
            double scale[2]=nullptr, double rotateAngle=0.0,
            float strokeWidth=-1, const char *label=nullptr)
        
        Generate PS, EPS, or SVG markup from a vtkPath object, and then
        inject it into the output using the gl2psSpecial command. The
        path is translated uniformly in the scene by windowPos. It is
        scaled by scale and rotated counter-clockwise by rotateAngle. The
        rasterPos is in world coordinates and determines clipping and
        depth. If scale is NULL, no scaling is done. If strokeWidth is
        positive, the path will be stroked with the indicated width. If
        zero or negative, the path will be filled (default). The label
        string is inserted into the GL2PS output at the beginning of the
        path specification as a comment on supported backends.
        """
        pass

    def DrawString(self, p_str, tprop, pos, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        DrawString(self, str:str, tprop:vtkTextProperty, pos:[float,
            float, float], backgroundDepth:float, ren:vtkRenderer) -> None
        C++: virtual void DrawString(const std::string &str,
            vtkTextProperty *tprop, double pos[3], double backgroundDepth,
             vtkRenderer *ren)
        
        Format the text in str according to tprop and instruct GL2PS to
        draw it at pixel coordinate pos. Background depth is the z value
        for the background quad, and should be in NDC space. The drawing
        is always done in the overlay plane.
        @sa TextAsPath
        """
        pass

    def GetActiveState(self): # real signature unknown; restored from __doc__
        """
        GetActiveState(self) -> State
        C++: virtual State GetActiveState()
        
        Get the current export state. Vector images are rendered in two
        passes: First, all non-vectorizable props are rendered, and the
        resulting image is inserted as a raster image into the background
        of the exported file (ActiveState == Background). Next, all
        vectorizable props are drawn and captured into GL2PS, where they
        are drawn over the background image. Vectorizable props should
        not draw themselves during the background pass, and use the
        vtkOpenGLGL2PSHelper API to draw themselves during the capture
        pass.
        """
        pass

    def GetInstance(self): # real signature unknown; restored from __doc__
        """
        GetInstance() -> vtkOpenGLGL2PSHelper
        C++: static vtkOpenGLGL2PSHelper *GetInstance()
        
        The global instance. Only set during export.
        """
        return vtkOpenGLGL2PSHelper

    def GetLineStipple(self): # real signature unknown; restored from __doc__
        """
        GetLineStipple(self) -> int
        C++: virtual unsigned short GetLineStipple()
        """
        return 0

    def GetLineWidth(self): # real signature unknown; restored from __doc__
        """
        GetLineWidth(self) -> float
        C++: virtual float GetLineWidth()
        """
        return 0.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 GetPointSize(self): # real signature unknown; restored from __doc__
        """
        GetPointSize(self) -> float
        C++: virtual float GetPointSize()
        """
        return 0.0

    def GetRenderWindow(self): # real signature unknown; restored from __doc__
        """
        GetRenderWindow(self) -> vtkRenderWindow
        C++: virtual vtkRenderWindow *GetRenderWindow()
        
        Get the renderwindow that's being exported.
        """
        pass

    def IsA(self, type): # real signature unknown; restored from __doc__
        """
        IsA(self, type:str) -> int
        C++: vtkTypeBool IsA(const char *type) override;
        
        Return 1 if this class is the same type of (or a subclass of) the
        named class. Returns 0 otherwise. This method works in
        combination with vtkTypeMacro found in vtkSetGet.h.
        """
        return 0

    def IsTypeOf(self, type): # real signature unknown; restored from __doc__
        """
        IsTypeOf(type:str) -> int
        C++: static vtkTypeBool IsTypeOf(const char *type)
        
        Return 1 if this class type is the same type of (or a subclass
        of) the named class. Returns 0 otherwise. This method works in
        combination with vtkTypeMacro found in vtkSetGet.h.
        """
        return 0

    def NewInstance(self): # real signature unknown; restored from __doc__
        """
        NewInstance(self) -> vtkOpenGLGL2PSHelper
        C++: vtkOpenGLGL2PSHelper *NewInstance()
        """
        return vtkOpenGLGL2PSHelper

    def ProcessTransformFeedback(self, tfc, ren, act): # real signature unknown; restored from __doc__
        """
        ProcessTransformFeedback(self, tfc:vtkTransformFeedback,
            ren:vtkRenderer, act:vtkActor) -> None
        C++: virtual void ProcessTransformFeedback(
            vtkTransformFeedback *tfc, vtkRenderer *ren, vtkActor *act)
        ProcessTransformFeedback(self, tfc:vtkTransformFeedback,
            ren:vtkRenderer, col:[int, int, int, int]) -> None
        C++: virtual void ProcessTransformFeedback(
            vtkTransformFeedback *tfc, vtkRenderer *ren,
            unsigned char col[4])
        ProcessTransformFeedback(self, tfc:vtkTransformFeedback,
            ren:vtkRenderer, col:[float, float, float, float]) -> None
        C++: virtual void ProcessTransformFeedback(
            vtkTransformFeedback *tfc, vtkRenderer *ren, float col[4])
        
        Parse the vertex information in tfc and inject primitives into
        GL2PS. ren is used to obtain viewport information to complete the
        vertex transformation into pixel coordinates, and act/col are
        used to color the vertices when tfc does not contain color
        information.
        """
        pass

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkOpenGLGL2PSHelper
        C++: static vtkOpenGLGL2PSHelper *SafeDownCast(vtkObjectBase *o)
        """
        return vtkOpenGLGL2PSHelper

    def SetInstance(self, __a): # real signature unknown; restored from __doc__
        """
        SetInstance(__a:vtkOpenGLGL2PSHelper) -> None
        C++: static void SetInstance(vtkOpenGLGL2PSHelper *)
        """
        pass

    def SetLineStipple(self, _arg): # real signature unknown; restored from __doc__
        """
        SetLineStipple(self, _arg:int) -> None
        C++: virtual void SetLineStipple(unsigned short _arg)
        
        Set/Get the current line stipple pattern per OpenGL convention.
        Default is 0xffff.
        """
        pass

    def SetLineWidth(self, _arg): # real signature unknown; restored from __doc__
        """
        SetLineWidth(self, _arg:float) -> None
        C++: virtual void SetLineWidth(float _arg)
        
        Set/Get the current line width.
        """
        pass

    def SetPointSize(self, _arg): # real signature unknown; restored from __doc__
        """
        SetPointSize(self, _arg:float) -> None
        C++: virtual void SetPointSize(float _arg)
        
        Set/Get the current point size.
        """
        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."""


    Background = 1
    Capture = 2
    Inactive = 0
    State = None # (!) real value is "<class 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLGL2PSHelper.State'>"
    __dict__ = None # (!) real value is "mappingproxy({'__vtkname__': 'vtkOpenGLGL2PSHelper', 'IsTypeOf': <method 'IsTypeOf' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLGL2PSHelper' objects>, 'IsA': <method 'IsA' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLGL2PSHelper' objects>, 'SafeDownCast': <method 'SafeDownCast' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLGL2PSHelper' objects>, 'NewInstance': <method 'NewInstance' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLGL2PSHelper' objects>, 'GetNumberOfGenerationsFromBaseType': <method 'GetNumberOfGenerationsFromBaseType' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLGL2PSHelper' objects>, 'GetNumberOfGenerationsFromBase': <method 'GetNumberOfGenerationsFromBase' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLGL2PSHelper' objects>, 'GetInstance': <method 'GetInstance' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLGL2PSHelper' objects>, 'SetInstance': <method 'SetInstance' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLGL2PSHelper' objects>, 'GetRenderWindow': <method 'GetRenderWindow' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLGL2PSHelper' objects>, 'GetActiveState': <method 'GetActiveState' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLGL2PSHelper' objects>, 'SetPointSize': <method 'SetPointSize' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLGL2PSHelper' objects>, 'GetPointSize': <method 'GetPointSize' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLGL2PSHelper' objects>, 'SetLineWidth': <method 'SetLineWidth' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLGL2PSHelper' objects>, 'GetLineWidth': <method 'GetLineWidth' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLGL2PSHelper' objects>, 'SetLineStipple': <method 'SetLineStipple' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLGL2PSHelper' objects>, 'GetLineStipple': <method 'GetLineStipple' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLGL2PSHelper' objects>, 'ProcessTransformFeedback': <method 'ProcessTransformFeedback' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLGL2PSHelper' objects>, 'DrawString': <method 'DrawString' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLGL2PSHelper' objects>, 'DrawPath': <method 'DrawPath' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLGL2PSHelper' objects>, 'Draw3DPath': <method 'Draw3DPath' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLGL2PSHelper' objects>, 'DrawImage': <method 'DrawImage' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLGL2PSHelper' objects>, 'State': <class 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLGL2PSHelper.State'>, 'Inactive': 0, 'Background': 1, 'Capture': 2, '__new__': <built-in method __new__ of type object at 0x00007FF8205F5B20>, '__repr__': <slot wrapper '__repr__' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLGL2PSHelper' objects>, '__str__': <slot wrapper '__str__' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLGL2PSHelper' objects>, '__getattribute__': <slot wrapper '__getattribute__' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLGL2PSHelper' objects>, '__setattr__': <slot wrapper '__setattr__' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLGL2PSHelper' objects>, '__delattr__': <slot wrapper '__delattr__' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLGL2PSHelper' objects>, '__dict__': <attribute '__dict__' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLGL2PSHelper' objects>, '__this__': <attribute '__this__' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLGL2PSHelper' objects>, '__doc__': 'vtkOpenGLGL2PSHelper - Access GL2PS functionality.\\n\\nSuperclass: vtkObject\\n\\nThis class provides convenience functions that can be used to draw\\ninto a GL2PS context. Link to vtkRenderingGL2PSOpenGL2 to bring in\\nthe vtkOpenGLGL2PSHelperImpl class, the object factory override that\\nimplements this interface.\\n\\n'})"
    __vtkname__ = 'vtkOpenGLGL2PSHelper'


