# encoding: utf-8
# module vtkmodules.vtkIOImage
# from C:\Users\xukai\Downloads\发票2\venv\Lib\site-packages\vtkmodules\vtkIOImage.cp311-win_amd64.pyd
# by generator 1.147
# no doc

# imports
import vtkmodules.vtkCommonCore as __vtkmodules_vtkCommonCore
import vtkmodules.vtkCommonExecutionModel as __vtkmodules_vtkCommonExecutionModel


from .vtkImageWriter import vtkImageWriter

class vtkJPEGWriter(vtkImageWriter):
    """
    vtkJPEGWriter - Writes JPEG files.
    
    Superclass: vtkImageWriter
    
    vtkJPEGWriter writes JPEG files. It supports 1 and 3 component data
    of unsigned char. It relies on the IJG's libjpeg.  Thanks to IJG for
    supplying a public jpeg IO library.
    
    @sa
    vtkJPEGReader
    """
    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 GetProgressive(self): # real signature unknown; restored from __doc__
        """
        GetProgressive(self) -> int
        C++: virtual vtkTypeUBool GetProgressive()
        """
        return 0

    def GetQuality(self): # real signature unknown; restored from __doc__
        """
        GetQuality(self) -> int
        C++: virtual int GetQuality()
        """
        return 0

    def GetQualityMaxValue(self): # real signature unknown; restored from __doc__
        """
        GetQualityMaxValue(self) -> int
        C++: virtual int GetQualityMaxValue()
        """
        return 0

    def GetQualityMinValue(self): # real signature unknown; restored from __doc__
        """
        GetQualityMinValue(self) -> int
        C++: virtual int GetQualityMinValue()
        """
        return 0

    def GetResult(self): # real signature unknown; restored from __doc__
        """
        GetResult(self) -> vtkUnsignedCharArray
        C++: virtual vtkUnsignedCharArray *GetResult()
        """
        pass

    def GetWriteToMemory(self): # real signature unknown; restored from __doc__
        """
        GetWriteToMemory(self) -> int
        C++: virtual vtkTypeUBool GetWriteToMemory()
        """
        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) -> vtkJPEGWriter
        C++: vtkJPEGWriter *NewInstance()
        """
        return vtkJPEGWriter

    def ProgressiveOff(self): # real signature unknown; restored from __doc__
        """
        ProgressiveOff(self) -> None
        C++: virtual void ProgressiveOff()
        """
        pass

    def ProgressiveOn(self): # real signature unknown; restored from __doc__
        """
        ProgressiveOn(self) -> None
        C++: virtual void ProgressiveOn()
        """
        pass

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkJPEGWriter
        C++: static vtkJPEGWriter *SafeDownCast(vtkObjectBase *o)
        """
        return vtkJPEGWriter

    def SetProgressive(self, _arg): # real signature unknown; restored from __doc__
        """
        SetProgressive(self, _arg:int) -> None
        C++: virtual void SetProgressive(vtkTypeUBool _arg)
        
        Progressive JPEG generation.
        """
        pass

    def SetQuality(self, _arg): # real signature unknown; restored from __doc__
        """
        SetQuality(self, _arg:int) -> None
        C++: virtual void SetQuality(int _arg)
        
        Compression quality. 0 = Low quality, 100 = High quality
        """
        pass

    def SetResult(self, __a): # real signature unknown; restored from __doc__
        """
        SetResult(self, __a:vtkUnsignedCharArray) -> None
        C++: virtual void SetResult(vtkUnsignedCharArray *)
        
        When writing to memory this is the result, it will be nullptr
        until the data is written the first time
        """
        pass

    def SetWriteToMemory(self, _arg): # real signature unknown; restored from __doc__
        """
        SetWriteToMemory(self, _arg:int) -> None
        C++: virtual void SetWriteToMemory(vtkTypeUBool _arg)
        
        Write the image to memory (a vtkUnsignedCharArray)
        """
        pass

    def Write(self): # real signature unknown; restored from __doc__
        """
        Write(self) -> None
        C++: void Write() override;
        
        The main interface which triggers the writer to start.
        """
        pass

    def WriteToMemoryOff(self): # real signature unknown; restored from __doc__
        """
        WriteToMemoryOff(self) -> None
        C++: virtual void WriteToMemoryOff()
        """
        pass

    def WriteToMemoryOn(self): # real signature unknown; restored from __doc__
        """
        WriteToMemoryOn(self) -> None
        C++: virtual void WriteToMemoryOn()
        """
        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__\': \'vtkJPEGWriter\', \'IsTypeOf\': <method \'IsTypeOf\' of \'vtkmodules.vtkIOImage.vtkJPEGWriter\' objects>, \'IsA\': <method \'IsA\' of \'vtkmodules.vtkIOImage.vtkJPEGWriter\' objects>, \'SafeDownCast\': <method \'SafeDownCast\' of \'vtkmodules.vtkIOImage.vtkJPEGWriter\' objects>, \'NewInstance\': <method \'NewInstance\' of \'vtkmodules.vtkIOImage.vtkJPEGWriter\' objects>, \'GetNumberOfGenerationsFromBaseType\': <method \'GetNumberOfGenerationsFromBaseType\' of \'vtkmodules.vtkIOImage.vtkJPEGWriter\' objects>, \'GetNumberOfGenerationsFromBase\': <method \'GetNumberOfGenerationsFromBase\' of \'vtkmodules.vtkIOImage.vtkJPEGWriter\' objects>, \'Write\': <method \'Write\' of \'vtkmodules.vtkIOImage.vtkJPEGWriter\' objects>, \'SetQuality\': <method \'SetQuality\' of \'vtkmodules.vtkIOImage.vtkJPEGWriter\' objects>, \'GetQualityMinValue\': <method \'GetQualityMinValue\' of \'vtkmodules.vtkIOImage.vtkJPEGWriter\' objects>, \'GetQualityMaxValue\': <method \'GetQualityMaxValue\' of \'vtkmodules.vtkIOImage.vtkJPEGWriter\' objects>, \'GetQuality\': <method \'GetQuality\' of \'vtkmodules.vtkIOImage.vtkJPEGWriter\' objects>, \'SetProgressive\': <method \'SetProgressive\' of \'vtkmodules.vtkIOImage.vtkJPEGWriter\' objects>, \'GetProgressive\': <method \'GetProgressive\' of \'vtkmodules.vtkIOImage.vtkJPEGWriter\' objects>, \'ProgressiveOn\': <method \'ProgressiveOn\' of \'vtkmodules.vtkIOImage.vtkJPEGWriter\' objects>, \'ProgressiveOff\': <method \'ProgressiveOff\' of \'vtkmodules.vtkIOImage.vtkJPEGWriter\' objects>, \'SetWriteToMemory\': <method \'SetWriteToMemory\' of \'vtkmodules.vtkIOImage.vtkJPEGWriter\' objects>, \'GetWriteToMemory\': <method \'GetWriteToMemory\' of \'vtkmodules.vtkIOImage.vtkJPEGWriter\' objects>, \'WriteToMemoryOn\': <method \'WriteToMemoryOn\' of \'vtkmodules.vtkIOImage.vtkJPEGWriter\' objects>, \'WriteToMemoryOff\': <method \'WriteToMemoryOff\' of \'vtkmodules.vtkIOImage.vtkJPEGWriter\' objects>, \'SetResult\': <method \'SetResult\' of \'vtkmodules.vtkIOImage.vtkJPEGWriter\' objects>, \'GetResult\': <method \'GetResult\' of \'vtkmodules.vtkIOImage.vtkJPEGWriter\' objects>, \'__new__\': <built-in method __new__ of type object at 0x00007FF8393B4640>, \'__repr__\': <slot wrapper \'__repr__\' of \'vtkmodules.vtkIOImage.vtkJPEGWriter\' objects>, \'__str__\': <slot wrapper \'__str__\' of \'vtkmodules.vtkIOImage.vtkJPEGWriter\' objects>, \'__getattribute__\': <slot wrapper \'__getattribute__\' of \'vtkmodules.vtkIOImage.vtkJPEGWriter\' objects>, \'__setattr__\': <slot wrapper \'__setattr__\' of \'vtkmodules.vtkIOImage.vtkJPEGWriter\' objects>, \'__delattr__\': <slot wrapper \'__delattr__\' of \'vtkmodules.vtkIOImage.vtkJPEGWriter\' objects>, \'__dict__\': <attribute \'__dict__\' of \'vtkmodules.vtkIOImage.vtkJPEGWriter\' objects>, \'__this__\': <attribute \'__this__\' of \'vtkmodules.vtkIOImage.vtkJPEGWriter\' objects>, \'__doc__\': "vtkJPEGWriter - Writes JPEG files.\\n\\nSuperclass: vtkImageWriter\\n\\nvtkJPEGWriter writes JPEG files. It supports 1 and 3 component data\\nof unsigned char. It relies on the IJG\'s libjpeg.  Thanks to IJG for\\nsupplying a public jpeg IO library.\\n\\n@sa\\nvtkJPEGReader\\n\\n"})'
    __vtkname__ = 'vtkJPEGWriter'


