# 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 vtkOpenGLGlyph3DMapper(__vtkmodules_vtkRenderingCore.vtkGlyph3DMapper):
    """
    vtkOpenGLGlyph3DMapper - vtkOpenGLGlyph3D on the GPU.
    
    Superclass: vtkGlyph3DMapper
    
    Do the same job than vtkGlyph3D but on the GPU. For this reason, it
    is a mapper not a vtkPolyDataAlgorithm. Also, some methods of
    vtkOpenGLGlyph3D don't make sense in vtkOpenGLGlyph3DMapper:
    GeneratePointIds, old-style SetSource, PointIdsName, IsPointVisible.
    
    @sa
    vtkOpenGLGlyph3D
    """
    def GetMaxNumberOfLOD(self): # real signature unknown; restored from __doc__
        """
        GetMaxNumberOfLOD(self) -> int
        C++: vtkIdType GetMaxNumberOfLOD() override;
        
        Get the maximum number of LOD. OpenGL context must be bound. The
        maximum number of LOD depends on GPU capabilities.
        """
        return 0

    def GetNumberOfGenerationsFromBase(self, type): # real signature unknown; restored from __doc__
        """
        GetNumberOfGenerationsFromBase(self, type:str) -> int
        C++: vtkIdType GetNumberOfGenerationsFromBase(const char *type)
            override;
        
        Given the name of a base class of this class type, return the
        distance of inheritance between this class type and the named
        class (how many generations of inheritance are there between this
        class and the named class). If the named class is not in this
        class's inheritance tree, return a negative value. Valid
        responses will always be nonnegative. This method works in
        combination with vtkTypeMacro found in vtkSetGet.h.
        """
        return 0

    def GetNumberOfGenerationsFromBaseType(self, type): # real signature unknown; restored from __doc__
        """
        GetNumberOfGenerationsFromBaseType(type:str) -> int
        C++: static vtkIdType GetNumberOfGenerationsFromBaseType(
            const char *type)
        
        Given a the name of a base class of this class type, return the
        distance of inheritance between this class type and the named
        class (how many generations of inheritance are there between this
        class and the named class). If the named class is not in this
        class's inheritance tree, return a negative value. Valid
        responses will always be nonnegative. This method works in
        combination with vtkTypeMacro found in vtkSetGet.h.
        """
        return 0

    def 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) -> vtkOpenGLGlyph3DMapper
        C++: vtkOpenGLGlyph3DMapper *NewInstance()
        """
        return vtkOpenGLGlyph3DMapper

    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
        mapper. The parameter window could be used to determine which
        graphic resources to release.
        """
        pass

    def Render(self, ren, a): # real signature unknown; restored from __doc__
        """
        Render(self, ren:vtkRenderer, a:vtkActor) -> None
        C++: void Render(vtkRenderer *ren, vtkActor *a) override;
        
        Method initiates the mapping process. Generally sent by the actor
        as each frame is rendered.
        """
        pass

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkOpenGLGlyph3DMapper
        C++: static vtkOpenGLGlyph3DMapper *SafeDownCast(vtkObjectBase *o)
        """
        return vtkOpenGLGlyph3DMapper

    def SetLODDistanceAndTargetReduction(self, index, distance, targetReduction): # real signature unknown; restored from __doc__
        """
        SetLODDistanceAndTargetReduction(self, index:int, distance:float,
            targetReduction:float) -> None
        C++: void SetLODDistanceAndTargetReduction(vtkIdType index,
            float distance, float targetReduction) override;
        
        Configure LODs. Culling must be enabled. distance have to be a
        positive value, it is the distance to the camera scaled by the
        instanced geometry bounding box. targetReduction have to be
        between 0 and 1, 0 disable decimation, 1 draw a point.
        
        @sa vtkDecimatePro::SetTargetReduction
        """
        pass

    def SetNumberOfLOD(self, nb): # real signature unknown; restored from __doc__
        """
        SetNumberOfLOD(self, nb:int) -> None
        C++: void SetNumberOfLOD(vtkIdType nb) override;
        
        Set the number of LOD.
        """
        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__\': \'vtkOpenGLGlyph3DMapper\', \'IsTypeOf\': <method \'IsTypeOf\' of \'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLGlyph3DMapper\' objects>, \'IsA\': <method \'IsA\' of \'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLGlyph3DMapper\' objects>, \'SafeDownCast\': <method \'SafeDownCast\' of \'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLGlyph3DMapper\' objects>, \'NewInstance\': <method \'NewInstance\' of \'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLGlyph3DMapper\' objects>, \'GetNumberOfGenerationsFromBaseType\': <method \'GetNumberOfGenerationsFromBaseType\' of \'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLGlyph3DMapper\' objects>, \'GetNumberOfGenerationsFromBase\': <method \'GetNumberOfGenerationsFromBase\' of \'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLGlyph3DMapper\' objects>, \'Render\': <method \'Render\' of \'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLGlyph3DMapper\' objects>, \'ReleaseGraphicsResources\': <method \'ReleaseGraphicsResources\' of \'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLGlyph3DMapper\' objects>, \'GetMaxNumberOfLOD\': <method \'GetMaxNumberOfLOD\' of \'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLGlyph3DMapper\' objects>, \'SetNumberOfLOD\': <method \'SetNumberOfLOD\' of \'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLGlyph3DMapper\' objects>, \'SetLODDistanceAndTargetReduction\': <method \'SetLODDistanceAndTargetReduction\' of \'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLGlyph3DMapper\' objects>, \'__new__\': <built-in method __new__ of type object at 0x00007FF8205F6140>, \'__repr__\': <slot wrapper \'__repr__\' of \'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLGlyph3DMapper\' objects>, \'__str__\': <slot wrapper \'__str__\' of \'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLGlyph3DMapper\' objects>, \'__getattribute__\': <slot wrapper \'__getattribute__\' of \'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLGlyph3DMapper\' objects>, \'__setattr__\': <slot wrapper \'__setattr__\' of \'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLGlyph3DMapper\' objects>, \'__delattr__\': <slot wrapper \'__delattr__\' of \'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLGlyph3DMapper\' objects>, \'__dict__\': <attribute \'__dict__\' of \'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLGlyph3DMapper\' objects>, \'__this__\': <attribute \'__this__\' of \'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLGlyph3DMapper\' objects>, \'__doc__\': "vtkOpenGLGlyph3DMapper - vtkOpenGLGlyph3D on the GPU.\\n\\nSuperclass: vtkGlyph3DMapper\\n\\nDo the same job than vtkGlyph3D but on the GPU. For this reason, it\\nis a mapper not a vtkPolyDataAlgorithm. Also, some methods of\\nvtkOpenGLGlyph3D don\'t make sense in vtkOpenGLGlyph3DMapper:\\nGeneratePointIds, old-style SetSource, PointIdsName, IsPointVisible.\\n\\n@sa\\nvtkOpenGLGlyph3D\\n\\n"})'
    __vtkname__ = 'vtkOpenGLGlyph3DMapper'


