# 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 .vtkImageProcessingPass import vtkImageProcessingPass

class vtkOutlineGlowPass(vtkImageProcessingPass):
    """
    vtkOutlineGlowPass - Renders a glowing outline using a image
    processing pass
    
    Superclass: vtkImageProcessingPass
    
    Create a glowing outline of the image rendered by the delegate.
    
    This render pass was designed to highlight parts of a scene by
    applying the render pass to a layered renderer on top of the main
    scene. For optimal results, actors that form the outline should be
    brightly colored with lighting disabled. The outline will have the
    color of the actors. There is only one outline around all objects
    rendered by the delegate.
    
    This pass expects an initialized depth buffer and color buffer.
    Initialized buffers means they have been cleared with farthest
    z-value and background color/gradient/transparent color. An opaque
    pass may have been performed right after the initialization.
    
    The delegate is used once.
    
    Its delegate is usually set to a vtkCameraPass or to a
    post-processing pass.
    
    This pass requires a OpenGL context that supports texture objects
    (TO), framebuffer objects (FBO) and GLSL. If not, it will emit an
    error message and will render its delegate and return.
    
    @par Implementation: The image is first rendered to a full size
    offscreen render target, then blurred twice on a half sized render
    target using Gaussian blur with an offset. The offset and the smaller
    render target increase the size of the outline without incurring the
    cost of a big Gaussian blur kernel. The implementation of the
    gaussian blur is similar to vtkGaussianBlurPass with the alterations
    described above.
    
    @sa
    vtkRenderPass vtkGaussianBlurPass
    """
    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 GetOutlineIntensity(self): # real signature unknown; restored from __doc__
        """
        GetOutlineIntensity(self) -> float
        C++: virtual float GetOutlineIntensity()
        
        Get/Set the intensity of the outline. Default value is 3.0 which
        gives a bright outline with a fading edge
        """
        return 0.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) -> vtkOutlineGlowPass
        C++: vtkOutlineGlowPass *NewInstance()
        """
        return vtkOutlineGlowPass

    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) -> vtkOutlineGlowPass
        C++: static vtkOutlineGlowPass *SafeDownCast(vtkObjectBase *o)
        """
        return vtkOutlineGlowPass

    def SetOutlineIntensity(self, _arg): # real signature unknown; restored from __doc__
        """
        SetOutlineIntensity(self, _arg:float) -> None
        C++: virtual void SetOutlineIntensity(float _arg)
        """
        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__': 'vtkOutlineGlowPass', 'IsTypeOf': <method 'IsTypeOf' of 'vtkmodules.vtkRenderingOpenGL2.vtkOutlineGlowPass' objects>, 'IsA': <method 'IsA' of 'vtkmodules.vtkRenderingOpenGL2.vtkOutlineGlowPass' objects>, 'SafeDownCast': <method 'SafeDownCast' of 'vtkmodules.vtkRenderingOpenGL2.vtkOutlineGlowPass' objects>, 'NewInstance': <method 'NewInstance' of 'vtkmodules.vtkRenderingOpenGL2.vtkOutlineGlowPass' objects>, 'GetNumberOfGenerationsFromBaseType': <method 'GetNumberOfGenerationsFromBaseType' of 'vtkmodules.vtkRenderingOpenGL2.vtkOutlineGlowPass' objects>, 'GetNumberOfGenerationsFromBase': <method 'GetNumberOfGenerationsFromBase' of 'vtkmodules.vtkRenderingOpenGL2.vtkOutlineGlowPass' objects>, 'ReleaseGraphicsResources': <method 'ReleaseGraphicsResources' of 'vtkmodules.vtkRenderingOpenGL2.vtkOutlineGlowPass' objects>, 'GetOutlineIntensity': <method 'GetOutlineIntensity' of 'vtkmodules.vtkRenderingOpenGL2.vtkOutlineGlowPass' objects>, 'SetOutlineIntensity': <method 'SetOutlineIntensity' of 'vtkmodules.vtkRenderingOpenGL2.vtkOutlineGlowPass' objects>, '__new__': <built-in method __new__ of type object at 0x00007FF8206006C0>, '__repr__': <slot wrapper '__repr__' of 'vtkmodules.vtkRenderingOpenGL2.vtkOutlineGlowPass' objects>, '__str__': <slot wrapper '__str__' of 'vtkmodules.vtkRenderingOpenGL2.vtkOutlineGlowPass' objects>, '__getattribute__': <slot wrapper '__getattribute__' of 'vtkmodules.vtkRenderingOpenGL2.vtkOutlineGlowPass' objects>, '__setattr__': <slot wrapper '__setattr__' of 'vtkmodules.vtkRenderingOpenGL2.vtkOutlineGlowPass' objects>, '__delattr__': <slot wrapper '__delattr__' of 'vtkmodules.vtkRenderingOpenGL2.vtkOutlineGlowPass' objects>, '__dict__': <attribute '__dict__' of 'vtkmodules.vtkRenderingOpenGL2.vtkOutlineGlowPass' objects>, '__this__': <attribute '__this__' of 'vtkmodules.vtkRenderingOpenGL2.vtkOutlineGlowPass' objects>, '__doc__': 'vtkOutlineGlowPass - Renders a glowing outline using a image\\nprocessing pass\\n\\nSuperclass: vtkImageProcessingPass\\n\\nCreate a glowing outline of the image rendered by the delegate.\\n\\nThis render pass was designed to highlight parts of a scene by\\napplying the render pass to a layered renderer on top of the main\\nscene. For optimal results, actors that form the outline should be\\nbrightly colored with lighting disabled. The outline will have the\\ncolor of the actors. There is only one outline around all objects\\nrendered by the delegate.\\n\\nThis pass expects an initialized depth buffer and color buffer.\\nInitialized buffers means they have been cleared with farthest\\nz-value and background color/gradient/transparent color. An opaque\\npass may have been performed right after the initialization.\\n\\nThe delegate is used once.\\n\\nIts delegate is usually set to a vtkCameraPass or to a\\npost-processing pass.\\n\\nThis pass requires a OpenGL context that supports texture objects\\n(TO), framebuffer objects (FBO) and GLSL. If not, it will emit an\\nerror message and will render its delegate and return.\\n\\n@par Implementation: The image is first rendered to a full size\\noffscreen render target, then blurred twice on a half sized render\\ntarget using Gaussian blur with an offset. The offset and the smaller\\nrender target increase the size of the outline without incurring the\\ncost of a big Gaussian blur kernel. The implementation of the\\ngaussian blur is similar to vtkGaussianBlurPass with the alterations\\ndescribed above.\\n\\n@sa\\nvtkRenderPass vtkGaussianBlurPass\\n\\n'})"
    __vtkname__ = 'vtkOutlineGlowPass'


