# encoding: utf-8
# module vtkmodules.vtkIOAsynchronous
# from C:\Users\xukai\Downloads\发票2\venv\Lib\site-packages\vtkmodules\vtkIOAsynchronous.cp311-win_amd64.pyd
# by generator 1.147
# no doc

# imports
import vtkmodules.vtkCommonCore as __vtkmodules_vtkCommonCore


# no functions
# classes

class vtkThreadedImageWriter(__vtkmodules_vtkCommonCore.vtkObject):
    """
    vtkThreadedImageWriter - class used to compress/write images using
    threads to prevent
              locking while encoding data.
    
    Superclass: vtkObject
    
    @details  This writer allow to encode an image data based on its file
              extension: tif, tiff, bpm, png, jpg, jpeg, vti, Z, ppm, raw
    
    @author   Patricia Kroll Fasel @ LANL
    """
    def EncodeAndWrite(self, image, fileName): # real signature unknown; restored from __doc__
        """
        EncodeAndWrite(self, image:vtkImageData, fileName:str) -> None
        C++: void EncodeAndWrite(vtkImageData *image,
            const char *fileName)
        
        Push an image into the threaded writer. It is not safe to modify
        the image after this point. You may run into thread safety
        issues. Typically, the caller code will simply release reference
        to the data and stop using it.
        """
        pass

    def Finalize(self): # real signature unknown; restored from __doc__
        """
        Finalize(self) -> None
        C++: void Finalize()
        
        This method will wait for any running thread to terminate.
        """
        pass

    def GetMaxThreads(self): # real signature unknown; restored from __doc__
        """
        GetMaxThreads(self) -> int
        C++: virtual vtkTypeUInt32 GetMaxThreads()
        """
        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 Initialize(self): # real signature unknown; restored from __doc__
        """
        Initialize(self) -> None
        C++: void Initialize()
        
        Need to be called at least once before using the class. Then it
        should be called again after any change on the thread count or if
        Finalize() was called.
        
        This method will wait for any running thread to terminate and
        start a new pool with the given number of threads.
        """
        pass

    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) -> vtkThreadedImageWriter
        C++: vtkThreadedImageWriter *NewInstance()
        """
        return vtkThreadedImageWriter

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkThreadedImageWriter
        C++: static vtkThreadedImageWriter *SafeDownCast(vtkObjectBase *o)
        """
        return vtkThreadedImageWriter

    def SetMaxThreads(self, __a): # real signature unknown; restored from __doc__
        """
        SetMaxThreads(self, __a:int) -> None
        C++: void SetMaxThreads(vtkTypeUInt32)
        
        Define the number of worker thread to use. Initialize() need to
        be called after any thread count change.
        """
        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__': 'vtkThreadedImageWriter', 'IsTypeOf': <method 'IsTypeOf' of 'vtkmodules.vtkIOAsynchronous.vtkThreadedImageWriter' objects>, 'IsA': <method 'IsA' of 'vtkmodules.vtkIOAsynchronous.vtkThreadedImageWriter' objects>, 'SafeDownCast': <method 'SafeDownCast' of 'vtkmodules.vtkIOAsynchronous.vtkThreadedImageWriter' objects>, 'NewInstance': <method 'NewInstance' of 'vtkmodules.vtkIOAsynchronous.vtkThreadedImageWriter' objects>, 'GetNumberOfGenerationsFromBaseType': <method 'GetNumberOfGenerationsFromBaseType' of 'vtkmodules.vtkIOAsynchronous.vtkThreadedImageWriter' objects>, 'GetNumberOfGenerationsFromBase': <method 'GetNumberOfGenerationsFromBase' of 'vtkmodules.vtkIOAsynchronous.vtkThreadedImageWriter' objects>, 'Initialize': <method 'Initialize' of 'vtkmodules.vtkIOAsynchronous.vtkThreadedImageWriter' objects>, 'EncodeAndWrite': <method 'EncodeAndWrite' of 'vtkmodules.vtkIOAsynchronous.vtkThreadedImageWriter' objects>, 'SetMaxThreads': <method 'SetMaxThreads' of 'vtkmodules.vtkIOAsynchronous.vtkThreadedImageWriter' objects>, 'GetMaxThreads': <method 'GetMaxThreads' of 'vtkmodules.vtkIOAsynchronous.vtkThreadedImageWriter' objects>, 'Finalize': <method 'Finalize' of 'vtkmodules.vtkIOAsynchronous.vtkThreadedImageWriter' objects>, '__new__': <built-in method __new__ of type object at 0x00007FF86EFC6190>, '__repr__': <slot wrapper '__repr__' of 'vtkmodules.vtkIOAsynchronous.vtkThreadedImageWriter' objects>, '__str__': <slot wrapper '__str__' of 'vtkmodules.vtkIOAsynchronous.vtkThreadedImageWriter' objects>, '__getattribute__': <slot wrapper '__getattribute__' of 'vtkmodules.vtkIOAsynchronous.vtkThreadedImageWriter' objects>, '__setattr__': <slot wrapper '__setattr__' of 'vtkmodules.vtkIOAsynchronous.vtkThreadedImageWriter' objects>, '__delattr__': <slot wrapper '__delattr__' of 'vtkmodules.vtkIOAsynchronous.vtkThreadedImageWriter' objects>, '__dict__': <attribute '__dict__' of 'vtkmodules.vtkIOAsynchronous.vtkThreadedImageWriter' objects>, '__this__': <attribute '__this__' of 'vtkmodules.vtkIOAsynchronous.vtkThreadedImageWriter' objects>, '__doc__': 'vtkThreadedImageWriter - class used to compress/write images using\\nthreads to prevent\\n          locking while encoding data.\\n\\nSuperclass: vtkObject\\n\\n@details  This writer allow to encode an image data based on its file\\n          extension: tif, tiff, bpm, png, jpg, jpeg, vti, Z, ppm, raw\\n\\n@author   Patricia Kroll Fasel @ LANL\\n\\n'})"
    __vtkname__ = 'vtkThreadedImageWriter'


# variables with complex values

__loader__ = None # (!) real value is '<_frozen_importlib_external.ExtensionFileLoader object at 0x0000016689E1BC50>'

__spec__ = None # (!) real value is "ModuleSpec(name='vtkmodules.vtkIOAsynchronous', loader=<_frozen_importlib_external.ExtensionFileLoader object at 0x0000016689E1BC50>, origin='C:\\\\Users\\\\xukai\\\\Downloads\\\\??2\\\\venv\\\\Lib\\\\site-packages\\\\vtkmodules\\\\vtkIOAsynchronous.cp311-win_amd64.pyd')"

