# 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 vtkOpenGLPolyDataMapper(__vtkmodules_vtkRenderingCore.vtkPolyDataMapper):
    """
    vtkOpenGLPolyDataMapper - PolyDataMapper using OpenGL to render.
    
    Superclass: vtkPolyDataMapper
    
    PolyDataMapper that uses a OpenGL to do the actual rendering.
    """
    def GetCellIdArrayName(self): # real signature unknown; restored from __doc__
        """
        GetCellIdArrayName(self) -> str
        C++: virtual char *GetCellIdArrayName()
        """
        return ""

    def GetCompositeIdArrayName(self): # real signature unknown; restored from __doc__
        """
        GetCompositeIdArrayName(self) -> str
        C++: virtual char *GetCompositeIdArrayName()
        """
        return ""

    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 GetPauseShiftScale(self): # real signature unknown; restored from __doc__
        """
        GetPauseShiftScale(self) -> bool
        C++: virtual bool GetPauseShiftScale()
        """
        return False

    def GetPointIdArrayName(self): # real signature unknown; restored from __doc__
        """
        GetPointIdArrayName(self) -> str
        C++: virtual char *GetPointIdArrayName()
        """
        return ""

    def GetPopulateSelectionSettings(self): # real signature unknown; restored from __doc__
        """
        GetPopulateSelectionSettings(self) -> int
        C++: virtual int GetPopulateSelectionSettings()
        """
        return 0

    def GetProcessIdArrayName(self): # real signature unknown; restored from __doc__
        """
        GetProcessIdArrayName(self) -> str
        C++: virtual char *GetProcessIdArrayName()
        """
        return ""

    def GetSupportsSelection(self): # real signature unknown; restored from __doc__
        """
        GetSupportsSelection(self) -> bool
        C++: bool GetSupportsSelection() override;
        
        WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT
        USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS Used by
        vtkHardwareSelector to determine if the prop supports hardware
        selection.
        """
        return False

    def GetVBOs(self): # real signature unknown; restored from __doc__
        """
        GetVBOs(self) -> vtkOpenGLVertexBufferObjectGroup
        C++: virtual vtkOpenGLVertexBufferObjectGroup *GetVBOs()
        
        Return the mapper's vertex buffer objects.
        """
        return vtkOpenGLVertexBufferObjectGroup

    def GetVBOShiftScaleMethod(self): # real signature unknown; restored from __doc__
        """
        GetVBOShiftScaleMethod(self) -> int
        C++: virtual int GetVBOShiftScaleMethod()
        """
        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 MapDataArrayToMultiTextureAttribute(self, tname, dataArrayName, fieldAssociation, componentno=-1): # real signature unknown; restored from __doc__
        """
        MapDataArrayToMultiTextureAttribute(self, tname:str,
            dataArrayName:str, fieldAssociation:int, componentno:int=-1)
            -> None
        C++: void MapDataArrayToMultiTextureAttribute(const char *tname,
            const char *dataArrayName, int fieldAssociation,
            int componentno=-1) override;
        """
        pass

    def MapDataArrayToVertexAttribute(self, vertexAttributeName, dataArrayName, fieldAssociation, componentno=-1): # real signature unknown; restored from __doc__
        """
        MapDataArrayToVertexAttribute(self, vertexAttributeName:str,
            dataArrayName:str, fieldAssociation:int, componentno:int=-1)
            -> None
        C++: void MapDataArrayToVertexAttribute(
            const char *vertexAttributeName, const char *dataArrayName,
            int fieldAssociation, int componentno=-1) override;
        
        Select a data array from the point/cell data and map it to a
        generic vertex attribute. vertexAttributeName is the name of the
        vertex attribute. dataArrayName is the name of the data array.
        fieldAssociation indicates when the data array is a point data
        array or cell data array (vtkDataObject::FIELD_ASSOCIATION_POINTS
        or (vtkDataObject::FIELD_ASSOCIATION_CELLS). componentno
        indicates which component from the data array must be passed as
        the attribute. If -1, then all components are passed.
        """
        pass

    def NewInstance(self): # real signature unknown; restored from __doc__
        """
        NewInstance(self) -> vtkOpenGLPolyDataMapper
        C++: vtkOpenGLPolyDataMapper *NewInstance()
        """
        return vtkOpenGLPolyDataMapper

    def PauseShiftScaleOff(self): # real signature unknown; restored from __doc__
        """
        PauseShiftScaleOff(self) -> None
        C++: virtual void PauseShiftScaleOff()
        """
        pass

    def PauseShiftScaleOn(self): # real signature unknown; restored from __doc__
        """
        PauseShiftScaleOn(self) -> None
        C++: virtual void PauseShiftScaleOn()
        """
        pass

    def ProcessSelectorPixelBuffers(self, sel, pixeloffsets, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        ProcessSelectorPixelBuffers(self, sel:vtkHardwareSelector,
            pixeloffsets:[int, ...], prop:vtkProp) -> None
        C++: void ProcessSelectorPixelBuffers(vtkHardwareSelector *sel,
            std::vector<unsigned int> &pixeloffsets, vtkProp *prop)
            override;
        
        allows a mapper to update a selections color buffers Called from
        a prop which in turn is called from the selector
        """
        pass

    def ReleaseGraphicsResources(self, __a): # real signature unknown; restored from __doc__
        """
        ReleaseGraphicsResources(self, __a:vtkWindow) -> None
        C++: void ReleaseGraphicsResources(vtkWindow *) override;
        
        Release any graphics resources that are being consumed by this
        mapper. The parameter window could be used to determine which
        graphic resources to release.
        """
        pass

    def RemoveAllVertexAttributeMappings(self): # real signature unknown; restored from __doc__
        """
        RemoveAllVertexAttributeMappings(self) -> None
        C++: void RemoveAllVertexAttributeMappings() override;
        
        Remove all vertex attributes.
        """
        pass

    def RemoveVertexAttributeMapping(self, vertexAttributeName): # real signature unknown; restored from __doc__
        """
        RemoveVertexAttributeMapping(self, vertexAttributeName:str)
            -> None
        C++: void RemoveVertexAttributeMapping(
            const char *vertexAttributeName) override;
        
        Remove a vertex attribute mapping.
        """
        pass

    def RenderPiece(self, ren, act): # real signature unknown; restored from __doc__
        """
        RenderPiece(self, ren:vtkRenderer, act:vtkActor) -> None
        C++: void RenderPiece(vtkRenderer *ren, vtkActor *act) override;
        
        Implemented by sub classes. Actual rendering is done here.
        """
        pass

    def RenderPieceDraw(self, ren, act): # real signature unknown; restored from __doc__
        """
        RenderPieceDraw(self, ren:vtkRenderer, act:vtkActor) -> None
        C++: virtual void RenderPieceDraw(vtkRenderer *ren, vtkActor *act)
        """
        pass

    def RenderPieceFinish(self, ren, act): # real signature unknown; restored from __doc__
        """
        RenderPieceFinish(self, ren:vtkRenderer, act:vtkActor) -> None
        C++: virtual void RenderPieceFinish(vtkRenderer *ren,
            vtkActor *act)
        """
        pass

    def RenderPieceStart(self, ren, act): # real signature unknown; restored from __doc__
        """
        RenderPieceStart(self, ren:vtkRenderer, act:vtkActor) -> None
        C++: virtual void RenderPieceStart(vtkRenderer *ren,
            vtkActor *act)
        
        Implemented by sub classes. Actual rendering is done here.
        """
        pass

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkOpenGLPolyDataMapper
        C++: static vtkOpenGLPolyDataMapper *SafeDownCast(
            vtkObjectBase *o)
        """
        return vtkOpenGLPolyDataMapper

    def SetCellIdArrayName(self, _arg): # real signature unknown; restored from __doc__
        """
        SetCellIdArrayName(self, _arg:str) -> None
        C++: virtual void SetCellIdArrayName(const char *_arg)
        """
        pass

    def SetCompositeIdArrayName(self, _arg): # real signature unknown; restored from __doc__
        """
        SetCompositeIdArrayName(self, _arg:str) -> None
        C++: virtual void SetCompositeIdArrayName(const char *_arg)
        
        Generally, this class can render the composite id when iterating
        over composite datasets. However in some cases (as in AMR), the
        rendered structure may not correspond to the input data, in which
        case we need to provide a cell array that can be used to render
        in the composite id in selection passes. Set to NULL (default) to
        not override the composite id color set by vtkCompositePainter if
        any. The array *MUST* be a cell array and of type
        vtkUnsignedIntArray.
        """
        pass

    def SetPauseShiftScale(self, pauseShiftScale): # real signature unknown; restored from __doc__
        """
        SetPauseShiftScale(self, pauseShiftScale:bool) -> None
        C++: virtual void SetPauseShiftScale(bool pauseShiftScale)
        
        Pause per-render updates to VBO shift+scale parameters.
        
        For large datasets, re-uploading the VBO during user interaction
        can cause stutters in the framerate. Interactors can use this
        method to force UpdateCameraShiftScale to return immediately
        (without changes) while users are zooming/rotating/etc. and then
        re-enable shift-scale just before a still render.
        
        This setting has no effect unless the shift-scale method is set
        to NEAR_PLANE_SHIFT_SCALE or FOCAL_POINT_SHIFT_SCALE.
        
        Changing this setting does **not** mark the mapper as modified as
        that would force a VBO upload – defeating its own purpose.
        """
        pass

    def SetPointIdArrayName(self, _arg): # real signature unknown; restored from __doc__
        """
        SetPointIdArrayName(self, _arg:str) -> None
        C++: virtual void SetPointIdArrayName(const char *_arg)
        
        By default, this class uses the dataset's point and cell ids
        during rendering. However, one can override those by specifying
        cell and point data arrays to use instead. Currently, only
        vtkIdType array is supported. Set to NULL string (default) to use
        the point ids instead.
        """
        pass

    def SetPopulateSelectionSettings(self, v): # real signature unknown; restored from __doc__
        """
        SetPopulateSelectionSettings(self, v:int) -> None
        C++: void SetPopulateSelectionSettings(int v)
        """
        pass

    def SetProcessIdArrayName(self, _arg): # real signature unknown; restored from __doc__
        """
        SetProcessIdArrayName(self, _arg:str) -> None
        C++: virtual void SetProcessIdArrayName(const char *_arg)
        
        If this class should override the process id using a data-array,
        set this variable to the name of the array to use. It must be a
        point-array.
        """
        pass

    def SetVBOShiftScaleMethod(self, m): # real signature unknown; restored from __doc__
        """
        SetVBOShiftScaleMethod(self, m:int) -> None
        C++: virtual void SetVBOShiftScaleMethod(int m)
        
        A convenience method for enabling/disabling
        the VBO's shift+scale transform.
        """
        pass

    def ShallowCopy(self, m): # real signature unknown; restored from __doc__
        """
        ShallowCopy(self, m:vtkAbstractMapper) -> None
        C++: void ShallowCopy(vtkAbstractMapper *m) override;
        
        Make a shallow copy of this mapper.
        """
        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."""


    PrimitiveEnd = 5
    PrimitiveLines = 1
    PrimitivePoints = 0
    PrimitiveStart = 0
    PrimitiveTris = 2
    PrimitiveTriStrips = 3
    PrimitiveTypes = None # (!) real value is "<class 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLPolyDataMapper.PrimitiveTypes'>"
    PrimitiveVertices = 4
    __dict__ = None # (!) real value is "mappingproxy({'__vtkname__': 'vtkOpenGLPolyDataMapper', 'IsTypeOf': <method 'IsTypeOf' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLPolyDataMapper' objects>, 'IsA': <method 'IsA' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLPolyDataMapper' objects>, 'SafeDownCast': <method 'SafeDownCast' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLPolyDataMapper' objects>, 'NewInstance': <method 'NewInstance' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLPolyDataMapper' objects>, 'GetNumberOfGenerationsFromBaseType': <method 'GetNumberOfGenerationsFromBaseType' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLPolyDataMapper' objects>, 'GetNumberOfGenerationsFromBase': <method 'GetNumberOfGenerationsFromBase' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLPolyDataMapper' objects>, 'RenderPiece': <method 'RenderPiece' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLPolyDataMapper' objects>, 'RenderPieceStart': <method 'RenderPieceStart' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLPolyDataMapper' objects>, 'RenderPieceDraw': <method 'RenderPieceDraw' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLPolyDataMapper' objects>, 'RenderPieceFinish': <method 'RenderPieceFinish' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLPolyDataMapper' objects>, 'ReleaseGraphicsResources': <method 'ReleaseGraphicsResources' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLPolyDataMapper' objects>, 'GetPopulateSelectionSettings': <method 'GetPopulateSelectionSettings' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLPolyDataMapper' objects>, 'SetPopulateSelectionSettings': <method 'SetPopulateSelectionSettings' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLPolyDataMapper' objects>, 'GetSupportsSelection': <method 'GetSupportsSelection' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLPolyDataMapper' objects>, 'SetPointIdArrayName': <method 'SetPointIdArrayName' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLPolyDataMapper' objects>, 'GetPointIdArrayName': <method 'GetPointIdArrayName' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLPolyDataMapper' objects>, 'SetCellIdArrayName': <method 'SetCellIdArrayName' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLPolyDataMapper' objects>, 'GetCellIdArrayName': <method 'GetCellIdArrayName' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLPolyDataMapper' objects>, 'SetProcessIdArrayName': <method 'SetProcessIdArrayName' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLPolyDataMapper' objects>, 'GetProcessIdArrayName': <method 'GetProcessIdArrayName' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLPolyDataMapper' objects>, 'SetCompositeIdArrayName': <method 'SetCompositeIdArrayName' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLPolyDataMapper' objects>, 'GetCompositeIdArrayName': <method 'GetCompositeIdArrayName' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLPolyDataMapper' objects>, 'ShallowCopy': <method 'ShallowCopy' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLPolyDataMapper' objects>, 'GetVBOs': <method 'GetVBOs' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLPolyDataMapper' objects>, 'SetVBOShiftScaleMethod': <method 'SetVBOShiftScaleMethod' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLPolyDataMapper' objects>, 'GetVBOShiftScaleMethod': <method 'GetVBOShiftScaleMethod' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLPolyDataMapper' objects>, 'SetPauseShiftScale': <method 'SetPauseShiftScale' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLPolyDataMapper' objects>, 'GetPauseShiftScale': <method 'GetPauseShiftScale' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLPolyDataMapper' objects>, 'PauseShiftScaleOn': <method 'PauseShiftScaleOn' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLPolyDataMapper' objects>, 'PauseShiftScaleOff': <method 'PauseShiftScaleOff' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLPolyDataMapper' objects>, 'MapDataArrayToVertexAttribute': <method 'MapDataArrayToVertexAttribute' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLPolyDataMapper' objects>, 'MapDataArrayToMultiTextureAttribute': <method 'MapDataArrayToMultiTextureAttribute' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLPolyDataMapper' objects>, 'RemoveVertexAttributeMapping': <method 'RemoveVertexAttributeMapping' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLPolyDataMapper' objects>, 'RemoveAllVertexAttributeMappings': <method 'RemoveAllVertexAttributeMappings' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLPolyDataMapper' objects>, 'ProcessSelectorPixelBuffers': <method 'ProcessSelectorPixelBuffers' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLPolyDataMapper' objects>, 'PrimitiveTypes': <class 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLPolyDataMapper.PrimitiveTypes'>, 'PrimitiveStart': 0, 'PrimitivePoints': 0, 'PrimitiveLines': 1, 'PrimitiveTris': 2, 'PrimitiveTriStrips': 3, 'PrimitiveVertices': 4, 'PrimitiveEnd': 5, '__new__': <built-in method __new__ of type object at 0x00007FF8205F8B60>, '__repr__': <slot wrapper '__repr__' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLPolyDataMapper' objects>, '__str__': <slot wrapper '__str__' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLPolyDataMapper' objects>, '__getattribute__': <slot wrapper '__getattribute__' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLPolyDataMapper' objects>, '__setattr__': <slot wrapper '__setattr__' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLPolyDataMapper' objects>, '__delattr__': <slot wrapper '__delattr__' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLPolyDataMapper' objects>, '__dict__': <attribute '__dict__' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLPolyDataMapper' objects>, '__this__': <attribute '__this__' of 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLPolyDataMapper' objects>, '__doc__': 'vtkOpenGLPolyDataMapper - PolyDataMapper using OpenGL to render.\\n\\nSuperclass: vtkPolyDataMapper\\n\\nPolyDataMapper that uses a OpenGL to do the actual rendering.\\n\\n'})"
    __vtkname__ = 'vtkOpenGLPolyDataMapper'


