# 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 vtkToneMappingPass(vtkImageProcessingPass):
    """
    vtkToneMappingPass - Implement a post-processing Tone Mapping.
    
    Superclass: vtkImageProcessingPass
    
    Tone mapping is the process of mapping HDR colors to [0;1] range.
    This render pass supports four different modes:
    - Clamp: clamps the color to [0;1] range
    - Reinhard: maps the color using formula: x/(x+1)
    - Exponential: maps the colors using a coefficient and the formula:
      1-exp(-a*x)
    - GenericFilmic: maps the color using five parameters that allow to
      shape the tonemapping curve : Contrast adjust the toe (left part)
      of the curve; Shoulder adjusts the right part; MidIn and MidOut
      adjusts the middle gray level in percent of the curve for input and
    output (ie. the halfway point between white and black); and HdrMax is
    the maximum HDR input that is not clipped. A boolean UseACES allows
      to use the Academy Color Encoding System.
    
    Advanced tone mapping like GenericFilmic, Reinhard or Exponential can
    be useful when several lights are added to the renderer.
    
    @sa
    vtkRenderPass
    """
    def GetContrast(self): # real signature unknown; restored from __doc__
        """
        GetContrast(self) -> float
        C++: virtual float GetContrast()
        """
        return 0.0

    def GetContrastMaxValue(self): # real signature unknown; restored from __doc__
        """
        GetContrastMaxValue(self) -> float
        C++: virtual float GetContrastMaxValue()
        """
        return 0.0

    def GetContrastMinValue(self): # real signature unknown; restored from __doc__
        """
        GetContrastMinValue(self) -> float
        C++: virtual float GetContrastMinValue()
        """
        return 0.0

    def GetExposure(self): # real signature unknown; restored from __doc__
        """
        GetExposure(self) -> float
        C++: virtual float GetExposure()
        
        Get/Set Exposure coefficient used for exponential and Generic
        Filmic tone mapping. Default is 1.0
        """
        return 0.0

    def GetHdrMax(self): # real signature unknown; restored from __doc__
        """
        GetHdrMax(self) -> float
        C++: virtual float GetHdrMax()
        """
        return 0.0

    def GetHdrMaxMaxValue(self): # real signature unknown; restored from __doc__
        """
        GetHdrMaxMaxValue(self) -> float
        C++: virtual float GetHdrMaxMaxValue()
        """
        return 0.0

    def GetHdrMaxMinValue(self): # real signature unknown; restored from __doc__
        """
        GetHdrMaxMinValue(self) -> float
        C++: virtual float GetHdrMaxMinValue()
        """
        return 0.0

    def GetMidIn(self): # real signature unknown; restored from __doc__
        """
        GetMidIn(self) -> float
        C++: virtual float GetMidIn()
        """
        return 0.0

    def GetMidInMaxValue(self): # real signature unknown; restored from __doc__
        """
        GetMidInMaxValue(self) -> float
        C++: virtual float GetMidInMaxValue()
        """
        return 0.0

    def GetMidInMinValue(self): # real signature unknown; restored from __doc__
        """
        GetMidInMinValue(self) -> float
        C++: virtual float GetMidInMinValue()
        """
        return 0.0

    def GetMidOut(self): # real signature unknown; restored from __doc__
        """
        GetMidOut(self) -> float
        C++: virtual float GetMidOut()
        """
        return 0.0

    def GetMidOutMaxValue(self): # real signature unknown; restored from __doc__
        """
        GetMidOutMaxValue(self) -> float
        C++: virtual float GetMidOutMaxValue()
        """
        return 0.0

    def GetMidOutMinValue(self): # real signature unknown; restored from __doc__
        """
        GetMidOutMinValue(self) -> float
        C++: virtual float GetMidOutMinValue()
        """
        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 GetShoulder(self): # real signature unknown; restored from __doc__
        """
        GetShoulder(self) -> float
        C++: virtual float GetShoulder()
        """
        return 0.0

    def GetShoulderMaxValue(self): # real signature unknown; restored from __doc__
        """
        GetShoulderMaxValue(self) -> float
        C++: virtual float GetShoulderMaxValue()
        """
        return 0.0

    def GetShoulderMinValue(self): # real signature unknown; restored from __doc__
        """
        GetShoulderMinValue(self) -> float
        C++: virtual float GetShoulderMinValue()
        """
        return 0.0

    def GetToneMappingType(self): # real signature unknown; restored from __doc__
        """
        GetToneMappingType(self) -> int
        C++: virtual int GetToneMappingType()
        """
        return 0

    def GetToneMappingTypeMaxValue(self): # real signature unknown; restored from __doc__
        """
        GetToneMappingTypeMaxValue(self) -> int
        C++: virtual int GetToneMappingTypeMaxValue()
        """
        return 0

    def GetToneMappingTypeMinValue(self): # real signature unknown; restored from __doc__
        """
        GetToneMappingTypeMinValue(self) -> int
        C++: virtual int GetToneMappingTypeMinValue()
        """
        return 0

    def GetUseACES(self): # real signature unknown; restored from __doc__
        """
        GetUseACES(self) -> bool
        C++: virtual bool GetUseACES()
        """
        return False

    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) -> vtkToneMappingPass
        C++: vtkToneMappingPass *NewInstance()
        """
        return vtkToneMappingPass

    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.
        """
        pass

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkToneMappingPass
        C++: static vtkToneMappingPass *SafeDownCast(vtkObjectBase *o)
        """
        return vtkToneMappingPass

    def SetContrast(self, _arg): # real signature unknown; restored from __doc__
        """
        SetContrast(self, _arg:float) -> None
        C++: virtual void SetContrast(float _arg)
        
        Contrast adjust the toe of the curve. Typically in [1-2]. Default
        is 1.6773
        """
        pass

    def SetExposure(self, _arg): # real signature unknown; restored from __doc__
        """
        SetExposure(self, _arg:float) -> None
        C++: virtual void SetExposure(float _arg)
        """
        pass

    def SetGenericFilmicDefaultPresets(self): # real signature unknown; restored from __doc__
        """
        SetGenericFilmicDefaultPresets(self) -> None
        C++: void SetGenericFilmicDefaultPresets()
        
        Set function to set uncharted 2 presets, and default presets
        """
        pass

    def SetGenericFilmicUncharted2Presets(self): # real signature unknown; restored from __doc__
        """
        SetGenericFilmicUncharted2Presets(self) -> None
        C++: void SetGenericFilmicUncharted2Presets()
        """
        pass

    def SetHdrMax(self, _arg): # real signature unknown; restored from __doc__
        """
        SetHdrMax(self, _arg:float) -> None
        C++: virtual void SetHdrMax(float _arg)
        
        Maximum HDR input that is not clipped. Default is 11.0785
        """
        pass

    def SetMidIn(self, _arg): # real signature unknown; restored from __doc__
        """
        SetMidIn(self, _arg:float) -> None
        C++: virtual void SetMidIn(float _arg)
        
        Mid level anchor input. Default is 0.18 (in percent gray)
        """
        pass

    def SetMidOut(self, _arg): # real signature unknown; restored from __doc__
        """
        SetMidOut(self, _arg:float) -> None
        C++: virtual void SetMidOut(float _arg)
        
        Mid level anchor output. Default is 0.18 (in percent gray)
        """
        pass

    def SetShoulder(self, _arg): # real signature unknown; restored from __doc__
        """
        SetShoulder(self, _arg:float) -> None
        C++: virtual void SetShoulder(float _arg)
        
        Shoulder limit the output in the shoulder region of the curve.
        Typically in [0.9-1]. Default is 0.9714
        """
        pass

    def SetToneMappingType(self, _arg): # real signature unknown; restored from __doc__
        """
        SetToneMappingType(self, _arg:int) -> None
        C++: virtual void SetToneMappingType(int _arg)
        
        Get/Set the tone mapping type. Default is GenericFilmic
        """
        pass

    def SetUseACES(self, _arg): # real signature unknown; restored from __doc__
        """
        SetUseACES(self, _arg:bool) -> None
        C++: virtual void SetUseACES(bool _arg)
        
        Apply or not the Academy Color Encoding System (ACES). Default is
        true
        """
        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."""


    Clamp = 0
    Exponential = 2
    GenericFilmic = 3
    Reinhard = 1
    __dict__ = None # (!) real value is "mappingproxy({'__vtkname__': 'vtkToneMappingPass', 'IsTypeOf': <method 'IsTypeOf' of 'vtkmodules.vtkRenderingOpenGL2.vtkToneMappingPass' objects>, 'IsA': <method 'IsA' of 'vtkmodules.vtkRenderingOpenGL2.vtkToneMappingPass' objects>, 'SafeDownCast': <method 'SafeDownCast' of 'vtkmodules.vtkRenderingOpenGL2.vtkToneMappingPass' objects>, 'NewInstance': <method 'NewInstance' of 'vtkmodules.vtkRenderingOpenGL2.vtkToneMappingPass' objects>, 'GetNumberOfGenerationsFromBaseType': <method 'GetNumberOfGenerationsFromBaseType' of 'vtkmodules.vtkRenderingOpenGL2.vtkToneMappingPass' objects>, 'GetNumberOfGenerationsFromBase': <method 'GetNumberOfGenerationsFromBase' of 'vtkmodules.vtkRenderingOpenGL2.vtkToneMappingPass' objects>, 'ReleaseGraphicsResources': <method 'ReleaseGraphicsResources' of 'vtkmodules.vtkRenderingOpenGL2.vtkToneMappingPass' objects>, 'SetGenericFilmicDefaultPresets': <method 'SetGenericFilmicDefaultPresets' of 'vtkmodules.vtkRenderingOpenGL2.vtkToneMappingPass' objects>, 'SetGenericFilmicUncharted2Presets': <method 'SetGenericFilmicUncharted2Presets' of 'vtkmodules.vtkRenderingOpenGL2.vtkToneMappingPass' objects>, 'SetToneMappingType': <method 'SetToneMappingType' of 'vtkmodules.vtkRenderingOpenGL2.vtkToneMappingPass' objects>, 'GetToneMappingTypeMinValue': <method 'GetToneMappingTypeMinValue' of 'vtkmodules.vtkRenderingOpenGL2.vtkToneMappingPass' objects>, 'GetToneMappingTypeMaxValue': <method 'GetToneMappingTypeMaxValue' of 'vtkmodules.vtkRenderingOpenGL2.vtkToneMappingPass' objects>, 'GetToneMappingType': <method 'GetToneMappingType' of 'vtkmodules.vtkRenderingOpenGL2.vtkToneMappingPass' objects>, 'GetExposure': <method 'GetExposure' of 'vtkmodules.vtkRenderingOpenGL2.vtkToneMappingPass' objects>, 'SetExposure': <method 'SetExposure' of 'vtkmodules.vtkRenderingOpenGL2.vtkToneMappingPass' objects>, 'SetContrast': <method 'SetContrast' of 'vtkmodules.vtkRenderingOpenGL2.vtkToneMappingPass' objects>, 'GetContrastMinValue': <method 'GetContrastMinValue' of 'vtkmodules.vtkRenderingOpenGL2.vtkToneMappingPass' objects>, 'GetContrastMaxValue': <method 'GetContrastMaxValue' of 'vtkmodules.vtkRenderingOpenGL2.vtkToneMappingPass' objects>, 'GetContrast': <method 'GetContrast' of 'vtkmodules.vtkRenderingOpenGL2.vtkToneMappingPass' objects>, 'SetShoulder': <method 'SetShoulder' of 'vtkmodules.vtkRenderingOpenGL2.vtkToneMappingPass' objects>, 'GetShoulderMinValue': <method 'GetShoulderMinValue' of 'vtkmodules.vtkRenderingOpenGL2.vtkToneMappingPass' objects>, 'GetShoulderMaxValue': <method 'GetShoulderMaxValue' of 'vtkmodules.vtkRenderingOpenGL2.vtkToneMappingPass' objects>, 'GetShoulder': <method 'GetShoulder' of 'vtkmodules.vtkRenderingOpenGL2.vtkToneMappingPass' objects>, 'SetMidIn': <method 'SetMidIn' of 'vtkmodules.vtkRenderingOpenGL2.vtkToneMappingPass' objects>, 'GetMidInMinValue': <method 'GetMidInMinValue' of 'vtkmodules.vtkRenderingOpenGL2.vtkToneMappingPass' objects>, 'GetMidInMaxValue': <method 'GetMidInMaxValue' of 'vtkmodules.vtkRenderingOpenGL2.vtkToneMappingPass' objects>, 'GetMidIn': <method 'GetMidIn' of 'vtkmodules.vtkRenderingOpenGL2.vtkToneMappingPass' objects>, 'SetMidOut': <method 'SetMidOut' of 'vtkmodules.vtkRenderingOpenGL2.vtkToneMappingPass' objects>, 'GetMidOutMinValue': <method 'GetMidOutMinValue' of 'vtkmodules.vtkRenderingOpenGL2.vtkToneMappingPass' objects>, 'GetMidOutMaxValue': <method 'GetMidOutMaxValue' of 'vtkmodules.vtkRenderingOpenGL2.vtkToneMappingPass' objects>, 'GetMidOut': <method 'GetMidOut' of 'vtkmodules.vtkRenderingOpenGL2.vtkToneMappingPass' objects>, 'SetHdrMax': <method 'SetHdrMax' of 'vtkmodules.vtkRenderingOpenGL2.vtkToneMappingPass' objects>, 'GetHdrMaxMinValue': <method 'GetHdrMaxMinValue' of 'vtkmodules.vtkRenderingOpenGL2.vtkToneMappingPass' objects>, 'GetHdrMaxMaxValue': <method 'GetHdrMaxMaxValue' of 'vtkmodules.vtkRenderingOpenGL2.vtkToneMappingPass' objects>, 'GetHdrMax': <method 'GetHdrMax' of 'vtkmodules.vtkRenderingOpenGL2.vtkToneMappingPass' objects>, 'SetUseACES': <method 'SetUseACES' of 'vtkmodules.vtkRenderingOpenGL2.vtkToneMappingPass' objects>, 'GetUseACES': <method 'GetUseACES' of 'vtkmodules.vtkRenderingOpenGL2.vtkToneMappingPass' objects>, 'Clamp': 0, 'Reinhard': 1, 'Exponential': 2, 'GenericFilmic': 3, '__new__': <built-in method __new__ of type object at 0x00007FF8206075C0>, '__repr__': <slot wrapper '__repr__' of 'vtkmodules.vtkRenderingOpenGL2.vtkToneMappingPass' objects>, '__str__': <slot wrapper '__str__' of 'vtkmodules.vtkRenderingOpenGL2.vtkToneMappingPass' objects>, '__getattribute__': <slot wrapper '__getattribute__' of 'vtkmodules.vtkRenderingOpenGL2.vtkToneMappingPass' objects>, '__setattr__': <slot wrapper '__setattr__' of 'vtkmodules.vtkRenderingOpenGL2.vtkToneMappingPass' objects>, '__delattr__': <slot wrapper '__delattr__' of 'vtkmodules.vtkRenderingOpenGL2.vtkToneMappingPass' objects>, '__dict__': <attribute '__dict__' of 'vtkmodules.vtkRenderingOpenGL2.vtkToneMappingPass' objects>, '__this__': <attribute '__this__' of 'vtkmodules.vtkRenderingOpenGL2.vtkToneMappingPass' objects>, '__doc__': 'vtkToneMappingPass - Implement a post-processing Tone Mapping.\\n\\nSuperclass: vtkImageProcessingPass\\n\\nTone mapping is the process of mapping HDR colors to [0;1] range.\\nThis render pass supports four different modes:\\n- Clamp: clamps the color to [0;1] range\\n- Reinhard: maps the color using formula: x/(x+1)\\n- Exponential: maps the colors using a coefficient and the formula:\\n  1-exp(-a*x)\\n- GenericFilmic: maps the color using five parameters that allow to\\n  shape the tonemapping curve : Contrast adjust the toe (left part)\\n  of the curve; Shoulder adjusts the right part; MidIn and MidOut\\n  adjusts the middle gray level in percent of the curve for input and\\noutput (ie. the halfway point between white and black); and HdrMax is\\nthe maximum HDR input that is not clipped. A boolean UseACES allows\\n  to use the Academy Color Encoding System.\\n\\nAdvanced tone mapping like GenericFilmic, Reinhard or Exponential can\\nbe useful when several lights are added to the renderer.\\n\\n@sa\\nvtkRenderPass\\n\\n'})"
    __vtkname__ = 'vtkToneMappingPass'


