# 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


from .vtkOpenGLRenderPass import vtkOpenGLRenderPass

class vtkShadowMapBakerPass(vtkOpenGLRenderPass):
    """
    vtkShadowMapBakerPass - Implement a builder of shadow map pass.
    
    Superclass: vtkOpenGLRenderPass
    
    Bake a list of shadow maps, once per spot light. It work in
    conjunction with the vtkShadowMapPass, which uses the shadow maps for
    rendering the opaque geometry (a technique to render hard shadows in
    hardware).
    
    This pass expects an initialized depth buffer and color buffer.
    Initialized buffers means they have been cleared with farest z-value
    and background color/gradient/transparent color. An opaque pass may
    have been performed right after the initialization.
    
    Its delegate is usually set to a vtkOpaquePass.
    
    @par Implementation: The first pass of the algorithm is to generate a
    shadow map per light (depth map from the light point of view) by
    rendering the opaque objects
    
    @sa
    vtkRenderPass, vtkOpaquePass, vtkShadowMapPass
    """
    def GetCompositeZPass(self): # real signature unknown; restored from __doc__
        """
        GetCompositeZPass(self) -> vtkRenderPass
        C++: virtual vtkRenderPass *GetCompositeZPass()
        
        Delegate for compositing of the shadow maps across processors. If
        it is NULL, there is no z compositing. It is usually set to a
        vtkCompositeZPass (Parallel package). Initial value is a NULL
        pointer.
        """
        pass

    def GetHasShadows(self): # real signature unknown; restored from __doc__
        """
        GetHasShadows(self) -> bool
        C++: bool GetHasShadows()
        
        INTERNAL USE ONLY. Internally used by vtkShadowMapBakerPass and
        vtkShadowMapPass.
        
        * Tell if there is at least one shadow.
        * Initial value is false.
        """
        return False

    def GetNeedUpdate(self): # real signature unknown; restored from __doc__
        """
        GetNeedUpdate(self) -> bool
        C++: bool GetNeedUpdate()
        
        INTERNAL USE ONLY. Internally used by vtkShadowMapBakerPass and
        vtkShadowMapPass.
        
        * Do the shadows need to be updated?
        * Value changed by vtkShadowMapBakerPass and used by
          vtkShadowMapPass.
        * Initial value is true.
        """
        return False

    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 GetOpaqueSequence(self): # real signature unknown; restored from __doc__
        """
        GetOpaqueSequence(self) -> vtkRenderPass
        C++: virtual vtkRenderPass *GetOpaqueSequence()
        
        Delegate for rendering the camera, lights, and opaque geometry.
        If it is NULL, nothing will be rendered and a warning will be
        emitted. It defaults to a vtkCameraPass with a sequence of
        vtkLightPass/vtkOpaquePass.
        """
        pass

    def GetResolution(self): # real signature unknown; restored from __doc__
        """
        GetResolution(self) -> int
        C++: virtual unsigned int GetResolution()
        """
        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 LightCreatesShadow(self, l): # real signature unknown; restored from __doc__
        """
        LightCreatesShadow(self, l:vtkLight) -> bool
        C++: bool LightCreatesShadow(vtkLight *l)
        
        INTERNAL USE ONLY. Internally used by vtkShadowMapBakerPass and
        vtkShadowMapPass.
        
        * Tell if the light `l' can create shadows.
        * The light has to not be a head light and to be directional or
        * positional with an angle less than 180 degrees.
        * \pre l_exists: l!=0
        """
        return False

    def NewInstance(self): # real signature unknown; restored from __doc__
        """
        NewInstance(self) -> vtkShadowMapBakerPass
        C++: vtkShadowMapBakerPass *NewInstance()
        """
        return vtkShadowMapBakerPass

    def ReleaseGraphicsResources(self, w): # real signature unknown; restored from __doc__
        """
        ReleaseGraphicsResources(self, w:vtkWindow) -> None
        C++: void ReleaseGraphicsResources(vtkWindow *w) override;
        
        Release graphics resources and ask components to release their
        own resources.
        \pre w_exists: w!=0
        """
        pass

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkShadowMapBakerPass
        C++: static vtkShadowMapBakerPass *SafeDownCast(vtkObjectBase *o)
        """
        return vtkShadowMapBakerPass

    def SetCompositeZPass(self, compositeZPass): # real signature unknown; restored from __doc__
        """
        SetCompositeZPass(self, compositeZPass:vtkRenderPass) -> None
        C++: virtual void SetCompositeZPass(vtkRenderPass *compositeZPass)
        """
        pass

    def SetOpaqueSequence(self, opaqueSequence): # real signature unknown; restored from __doc__
        """
        SetOpaqueSequence(self, opaqueSequence:vtkRenderPass) -> None
        C++: virtual void SetOpaqueSequence(vtkRenderPass *opaqueSequence)
        """
        pass

    def SetResolution(self, _arg): # real signature unknown; restored from __doc__
        """
        SetResolution(self, _arg:int) -> None
        C++: virtual void SetResolution(unsigned int _arg)
        
        Set/Get the number of pixels in each dimension of the shadow maps
        (shadow maps are square). Initial value is 256. The greater the
        better. Resolution does not have to be a power-of-two value.
        """
        pass

    def SetUpToDate(self): # real signature unknown; restored from __doc__
        """
        SetUpToDate(self) -> None
        C++: void SetUpToDate()
        """
        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__': 'vtkShadowMapBakerPass', 'IsTypeOf': <method 'IsTypeOf' of 'vtkmodules.vtkRenderingOpenGL2.vtkShadowMapBakerPass' objects>, 'IsA': <method 'IsA' of 'vtkmodules.vtkRenderingOpenGL2.vtkShadowMapBakerPass' objects>, 'SafeDownCast': <method 'SafeDownCast' of 'vtkmodules.vtkRenderingOpenGL2.vtkShadowMapBakerPass' objects>, 'NewInstance': <method 'NewInstance' of 'vtkmodules.vtkRenderingOpenGL2.vtkShadowMapBakerPass' objects>, 'GetNumberOfGenerationsFromBaseType': <method 'GetNumberOfGenerationsFromBaseType' of 'vtkmodules.vtkRenderingOpenGL2.vtkShadowMapBakerPass' objects>, 'GetNumberOfGenerationsFromBase': <method 'GetNumberOfGenerationsFromBase' of 'vtkmodules.vtkRenderingOpenGL2.vtkShadowMapBakerPass' objects>, 'ReleaseGraphicsResources': <method 'ReleaseGraphicsResources' of 'vtkmodules.vtkRenderingOpenGL2.vtkShadowMapBakerPass' objects>, 'GetOpaqueSequence': <method 'GetOpaqueSequence' of 'vtkmodules.vtkRenderingOpenGL2.vtkShadowMapBakerPass' objects>, 'SetOpaqueSequence': <method 'SetOpaqueSequence' of 'vtkmodules.vtkRenderingOpenGL2.vtkShadowMapBakerPass' objects>, 'GetCompositeZPass': <method 'GetCompositeZPass' of 'vtkmodules.vtkRenderingOpenGL2.vtkShadowMapBakerPass' objects>, 'SetCompositeZPass': <method 'SetCompositeZPass' of 'vtkmodules.vtkRenderingOpenGL2.vtkShadowMapBakerPass' objects>, 'SetResolution': <method 'SetResolution' of 'vtkmodules.vtkRenderingOpenGL2.vtkShadowMapBakerPass' objects>, 'GetResolution': <method 'GetResolution' of 'vtkmodules.vtkRenderingOpenGL2.vtkShadowMapBakerPass' objects>, 'GetHasShadows': <method 'GetHasShadows' of 'vtkmodules.vtkRenderingOpenGL2.vtkShadowMapBakerPass' objects>, 'LightCreatesShadow': <method 'LightCreatesShadow' of 'vtkmodules.vtkRenderingOpenGL2.vtkShadowMapBakerPass' objects>, 'GetNeedUpdate': <method 'GetNeedUpdate' of 'vtkmodules.vtkRenderingOpenGL2.vtkShadowMapBakerPass' objects>, 'SetUpToDate': <method 'SetUpToDate' of 'vtkmodules.vtkRenderingOpenGL2.vtkShadowMapBakerPass' objects>, '__new__': <built-in method __new__ of type object at 0x00007FF820605100>, '__repr__': <slot wrapper '__repr__' of 'vtkmodules.vtkRenderingOpenGL2.vtkShadowMapBakerPass' objects>, '__str__': <slot wrapper '__str__' of 'vtkmodules.vtkRenderingOpenGL2.vtkShadowMapBakerPass' objects>, '__getattribute__': <slot wrapper '__getattribute__' of 'vtkmodules.vtkRenderingOpenGL2.vtkShadowMapBakerPass' objects>, '__setattr__': <slot wrapper '__setattr__' of 'vtkmodules.vtkRenderingOpenGL2.vtkShadowMapBakerPass' objects>, '__delattr__': <slot wrapper '__delattr__' of 'vtkmodules.vtkRenderingOpenGL2.vtkShadowMapBakerPass' objects>, '__dict__': <attribute '__dict__' of 'vtkmodules.vtkRenderingOpenGL2.vtkShadowMapBakerPass' objects>, '__this__': <attribute '__this__' of 'vtkmodules.vtkRenderingOpenGL2.vtkShadowMapBakerPass' objects>, '__doc__': 'vtkShadowMapBakerPass - Implement a builder of shadow map pass.\\n\\nSuperclass: vtkOpenGLRenderPass\\n\\nBake a list of shadow maps, once per spot light. It work in\\nconjunction with the vtkShadowMapPass, which uses the shadow maps for\\nrendering the opaque geometry (a technique to render hard shadows in\\nhardware).\\n\\nThis pass expects an initialized depth buffer and color buffer.\\nInitialized buffers means they have been cleared with farest z-value\\nand background color/gradient/transparent color. An opaque pass may\\nhave been performed right after the initialization.\\n\\nIts delegate is usually set to a vtkOpaquePass.\\n\\n@par Implementation: The first pass of the algorithm is to generate a\\nshadow map per light (depth map from the light point of view) by\\nrendering the opaque objects\\n\\n@sa\\nvtkRenderPass, vtkOpaquePass, vtkShadowMapPass\\n\\n'})"
    __vtkname__ = 'vtkShadowMapBakerPass'


