# 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


class vtkImageImport(__vtkmodules_vtkCommonExecutionModel.vtkImageAlgorithm):
    """
    vtkImageImport - Import data from a C array.
    
    Superclass: vtkImageAlgorithm
    
    vtkImageImport provides methods needed to import image data from a
    source independent of VTK, such as a simple C array or a third-party
    pipeline. Note that the VTK convention is for the image voxel index
    (0,0,0) to be the lower-left corner of the image, while most 2D image
    formats use the upper-left corner.  You can use vtkImageFlip to
    correct the orientation after the image has been loaded into VTK.
    Note that is also possible to import the raw data from a Python
    string instead of from a C array. The array applies on scalar point
    data only, not on cell data.
    @sa
    vtkImageExport
    """
    def CopyImportVoidPointer(self, ptr, size): # real signature unknown; restored from __doc__
        """
        CopyImportVoidPointer(self, ptr:Pointer, size:int) -> None
        C++: void CopyImportVoidPointer(void *ptr, vtkIdType size)
        
        Import data and make an internal copy of it.  If you do not want
        VTK to copy the data, then use SetImportVoidPointer instead (do
        not use both).  Give the size of the data array in bytes.
        """
        pass

    def GetCallbackUserData(self): # real signature unknown; restored from __doc__
        """
        GetCallbackUserData(self) -> Pointer
        C++: virtual void *GetCallbackUserData()
        """
        pass

    def GetDataDirection(self): # real signature unknown; restored from __doc__
        """
        GetDataDirection(self) -> (float, float, float, float, float,
            float, float, float, float)
        C++: virtual double *GetDataDirection()
        """
        pass

    def GetDataExtent(self): # real signature unknown; restored from __doc__
        """
        GetDataExtent(self) -> (int, int, int, int, int, int)
        C++: virtual int *GetDataExtent()
        """
        pass

    def GetDataOrigin(self): # real signature unknown; restored from __doc__
        """
        GetDataOrigin(self) -> (float, float, float)
        C++: virtual double *GetDataOrigin()
        """
        pass

    def GetDataScalarType(self): # real signature unknown; restored from __doc__
        """
        GetDataScalarType(self) -> int
        C++: virtual int GetDataScalarType()
        """
        return 0

    def GetDataScalarTypeAsString(self): # real signature unknown; restored from __doc__
        """
        GetDataScalarTypeAsString(self) -> str
        C++: const char *GetDataScalarTypeAsString()
        """
        return ""

    def GetDataSpacing(self): # real signature unknown; restored from __doc__
        """
        GetDataSpacing(self) -> (float, float, float)
        C++: virtual double *GetDataSpacing()
        """
        pass

    def GetImportVoidPointer(self): # real signature unknown; restored from __doc__
        """
        GetImportVoidPointer(self) -> Pointer
        C++: void *GetImportVoidPointer()
        """
        pass

    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 GetNumberOfScalarComponents(self): # real signature unknown; restored from __doc__
        """
        GetNumberOfScalarComponents(self) -> int
        C++: virtual int GetNumberOfScalarComponents()
        """
        return 0

    def GetScalarArrayName(self): # real signature unknown; restored from __doc__
        """
        GetScalarArrayName(self) -> str
        C++: virtual char *GetScalarArrayName()
        """
        return ""

    def GetWholeExtent(self): # real signature unknown; restored from __doc__
        """
        GetWholeExtent(self) -> (int, int, int, int, int, int)
        C++: virtual int *GetWholeExtent()
        """
        pass

    def InvokeExecuteDataCallbacks(self): # real signature unknown; restored from __doc__
        """
        InvokeExecuteDataCallbacks(self) -> None
        C++: void InvokeExecuteDataCallbacks()
        """
        pass

    def InvokeExecuteInformationCallbacks(self): # real signature unknown; restored from __doc__
        """
        InvokeExecuteInformationCallbacks(self) -> None
        C++: void InvokeExecuteInformationCallbacks()
        """
        pass

    def InvokePipelineModifiedCallbacks(self): # real signature unknown; restored from __doc__
        """
        InvokePipelineModifiedCallbacks(self) -> int
        C++: int InvokePipelineModifiedCallbacks()
        
        Invoke the appropriate callbacks
        """
        return 0

    def InvokeUpdateInformationCallbacks(self): # real signature unknown; restored from __doc__
        """
        InvokeUpdateInformationCallbacks(self) -> None
        C++: void InvokeUpdateInformationCallbacks()
        """
        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 LegacyCheckWholeExtent(self): # real signature unknown; restored from __doc__
        """
        LegacyCheckWholeExtent(self) -> None
        C++: void LegacyCheckWholeExtent()
        """
        pass

    def NewInstance(self): # real signature unknown; restored from __doc__
        """
        NewInstance(self) -> vtkImageImport
        C++: vtkImageImport *NewInstance()
        """
        return vtkImageImport

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkImageImport
        C++: static vtkImageImport *SafeDownCast(vtkObjectBase *o)
        """
        return vtkImageImport

    def SetCallbackUserData(self, _arg): # real signature unknown; restored from __doc__
        """
        SetCallbackUserData(self, _arg:Pointer) -> None
        C++: virtual void SetCallbackUserData(void *_arg)
        
        Set/Get the user data which will be passed as the first argument
        to all of the third-party pipeline callbacks.
        """
        pass

    def SetDataDirection(self, data, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        SetDataDirection(self, data:(float, ...)) -> None
        C++: virtual void SetDataDirection(const double data[])
        
        Set/Get the direction of the data, i.e. the 3x3 matrix to rotate
        the coordinates from index space (ijk) to physical space (xyz).
        Default: Identity Matrix (1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0,
        1.0)
        """
        pass

    def SetDataExtent(self, _arg1, _arg2, _arg3, _arg4, _arg5, _arg6): # real signature unknown; restored from __doc__
        """
        SetDataExtent(self, _arg1:int, _arg2:int, _arg3:int, _arg4:int,
            _arg5:int, _arg6:int) -> None
        C++: virtual void SetDataExtent(int _arg1, int _arg2, int _arg3,
            int _arg4, int _arg5, int _arg6)
        SetDataExtent(self, _arg:(int, int, int, int, int, int)) -> None
        C++: virtual void SetDataExtent(const int _arg[6])
        
        Get/Set the extent of the data buffer.  The dimensions of your
        data must be equal to (extent[1]-extent[0]+1) *
        (extent[3]-extent[2]+1) * (extent[5]-DataExtent[4]+1).  For
        example, for a 2D image use (0,width-1, 0,height-1, 0,0).
        """
        pass

    def SetDataExtentToWholeExtent(self): # real signature unknown; restored from __doc__
        """
        SetDataExtentToWholeExtent(self) -> None
        C++: void SetDataExtentToWholeExtent()
        """
        pass

    def SetDataOrigin(self, _arg1, _arg2, _arg3): # real signature unknown; restored from __doc__
        """
        SetDataOrigin(self, _arg1:float, _arg2:float, _arg3:float) -> None
        C++: virtual void SetDataOrigin(double _arg1, double _arg2,
            double _arg3)
        SetDataOrigin(self, _arg:(float, float, float)) -> None
        C++: virtual void SetDataOrigin(const double _arg[3])
        
        Set/Get the origin of the data, i.e. the coordinates (usually in
        mm) of voxel (0,0,0).  Default: (0.0, 0.0, 0.0).
        """
        pass

    def SetDataScalarType(self, _arg): # real signature unknown; restored from __doc__
        """
        SetDataScalarType(self, _arg:int) -> None
        C++: virtual void SetDataScalarType(int _arg)
        
        Set/Get the data type of pixels in the imported data.  This is
        used as the scalar type of the Output.  Default: Short.
        """
        pass

    def SetDataScalarTypeToDouble(self): # real signature unknown; restored from __doc__
        """
        SetDataScalarTypeToDouble(self) -> None
        C++: void SetDataScalarTypeToDouble()
        """
        pass

    def SetDataScalarTypeToFloat(self): # real signature unknown; restored from __doc__
        """
        SetDataScalarTypeToFloat(self) -> None
        C++: void SetDataScalarTypeToFloat()
        """
        pass

    def SetDataScalarTypeToInt(self): # real signature unknown; restored from __doc__
        """
        SetDataScalarTypeToInt(self) -> None
        C++: void SetDataScalarTypeToInt()
        """
        pass

    def SetDataScalarTypeToShort(self): # real signature unknown; restored from __doc__
        """
        SetDataScalarTypeToShort(self) -> None
        C++: void SetDataScalarTypeToShort()
        """
        pass

    def SetDataScalarTypeToUnsignedChar(self): # real signature unknown; restored from __doc__
        """
        SetDataScalarTypeToUnsignedChar(self) -> None
        C++: void SetDataScalarTypeToUnsignedChar()
        """
        pass

    def SetDataScalarTypeToUnsignedShort(self): # real signature unknown; restored from __doc__
        """
        SetDataScalarTypeToUnsignedShort(self) -> None
        C++: void SetDataScalarTypeToUnsignedShort()
        """
        pass

    def SetDataSpacing(self, _arg1, _arg2, _arg3): # real signature unknown; restored from __doc__
        """
        SetDataSpacing(self, _arg1:float, _arg2:float, _arg3:float)
            -> None
        C++: virtual void SetDataSpacing(double _arg1, double _arg2,
            double _arg3)
        SetDataSpacing(self, _arg:(float, float, float)) -> None
        C++: virtual void SetDataSpacing(const double _arg[3])
        
        Set/Get the spacing (typically in mm) between image voxels.
        Default: (1.0, 1.0, 1.0).
        """
        pass

    def SetImportVoidPointer(self, ptr): # real signature unknown; restored from __doc__
        """
        SetImportVoidPointer(self, ptr:Pointer) -> None
        C++: void SetImportVoidPointer(void *ptr)
        SetImportVoidPointer(self, ptr:Pointer, save:int) -> None
        C++: void SetImportVoidPointer(void *ptr, int save)
        
        Set the pointer from which the image data is imported.  VTK will
        not make its own copy of the data, it will access the data
        directly from the supplied array.  VTK will not attempt to delete
        the data nor modify the data.
        """
        pass

    def SetNumberOfScalarComponents(self, _arg): # real signature unknown; restored from __doc__
        """
        SetNumberOfScalarComponents(self, _arg:int) -> None
        C++: virtual void SetNumberOfScalarComponents(int _arg)
        
        Set/Get the number of scalar components, for RGB images this must
        be 3. Default: 1.
        """
        pass

    def SetScalarArrayName(self, _arg): # real signature unknown; restored from __doc__
        """
        SetScalarArrayName(self, _arg:str) -> None
        C++: virtual void SetScalarArrayName(const char *_arg)
        
        Set/get the scalar array name for this data set. Initial value is
        "scalars".
        """
        pass

    def SetWholeExtent(self, _arg1, _arg2, _arg3, _arg4, _arg5, _arg6): # real signature unknown; restored from __doc__
        """
        SetWholeExtent(self, _arg1:int, _arg2:int, _arg3:int, _arg4:int,
            _arg5:int, _arg6:int) -> None
        C++: virtual void SetWholeExtent(int _arg1, int _arg2, int _arg3,
            int _arg4, int _arg5, int _arg6)
        SetWholeExtent(self, _arg:(int, int, int, int, int, int)) -> None
        C++: virtual void SetWholeExtent(const int _arg[6])
        
        Get/Set the whole extent of the image.  This is the largest
        possible extent.  Set the DataExtent to the extent of the image
        in the buffer pointed to by the ImportVoidPointer.
        """
        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__': 'vtkImageImport', 'IsTypeOf': <method 'IsTypeOf' of 'vtkmodules.vtkIOImage.vtkImageImport' objects>, 'IsA': <method 'IsA' of 'vtkmodules.vtkIOImage.vtkImageImport' objects>, 'SafeDownCast': <method 'SafeDownCast' of 'vtkmodules.vtkIOImage.vtkImageImport' objects>, 'NewInstance': <method 'NewInstance' of 'vtkmodules.vtkIOImage.vtkImageImport' objects>, 'GetNumberOfGenerationsFromBaseType': <method 'GetNumberOfGenerationsFromBaseType' of 'vtkmodules.vtkIOImage.vtkImageImport' objects>, 'GetNumberOfGenerationsFromBase': <method 'GetNumberOfGenerationsFromBase' of 'vtkmodules.vtkIOImage.vtkImageImport' objects>, 'CopyImportVoidPointer': <method 'CopyImportVoidPointer' of 'vtkmodules.vtkIOImage.vtkImageImport' objects>, 'SetImportVoidPointer': <method 'SetImportVoidPointer' of 'vtkmodules.vtkIOImage.vtkImageImport' objects>, 'GetImportVoidPointer': <method 'GetImportVoidPointer' of 'vtkmodules.vtkIOImage.vtkImageImport' objects>, 'SetDataScalarType': <method 'SetDataScalarType' of 'vtkmodules.vtkIOImage.vtkImageImport' objects>, 'SetDataScalarTypeToDouble': <method 'SetDataScalarTypeToDouble' of 'vtkmodules.vtkIOImage.vtkImageImport' objects>, 'SetDataScalarTypeToFloat': <method 'SetDataScalarTypeToFloat' of 'vtkmodules.vtkIOImage.vtkImageImport' objects>, 'SetDataScalarTypeToInt': <method 'SetDataScalarTypeToInt' of 'vtkmodules.vtkIOImage.vtkImageImport' objects>, 'SetDataScalarTypeToShort': <method 'SetDataScalarTypeToShort' of 'vtkmodules.vtkIOImage.vtkImageImport' objects>, 'SetDataScalarTypeToUnsignedShort': <method 'SetDataScalarTypeToUnsignedShort' of 'vtkmodules.vtkIOImage.vtkImageImport' objects>, 'SetDataScalarTypeToUnsignedChar': <method 'SetDataScalarTypeToUnsignedChar' of 'vtkmodules.vtkIOImage.vtkImageImport' objects>, 'GetDataScalarType': <method 'GetDataScalarType' of 'vtkmodules.vtkIOImage.vtkImageImport' objects>, 'GetDataScalarTypeAsString': <method 'GetDataScalarTypeAsString' of 'vtkmodules.vtkIOImage.vtkImageImport' objects>, 'SetNumberOfScalarComponents': <method 'SetNumberOfScalarComponents' of 'vtkmodules.vtkIOImage.vtkImageImport' objects>, 'GetNumberOfScalarComponents': <method 'GetNumberOfScalarComponents' of 'vtkmodules.vtkIOImage.vtkImageImport' objects>, 'SetDataExtent': <method 'SetDataExtent' of 'vtkmodules.vtkIOImage.vtkImageImport' objects>, 'GetDataExtent': <method 'GetDataExtent' of 'vtkmodules.vtkIOImage.vtkImageImport' objects>, 'SetDataExtentToWholeExtent': <method 'SetDataExtentToWholeExtent' of 'vtkmodules.vtkIOImage.vtkImageImport' objects>, 'SetDataSpacing': <method 'SetDataSpacing' of 'vtkmodules.vtkIOImage.vtkImageImport' objects>, 'GetDataSpacing': <method 'GetDataSpacing' of 'vtkmodules.vtkIOImage.vtkImageImport' objects>, 'SetDataOrigin': <method 'SetDataOrigin' of 'vtkmodules.vtkIOImage.vtkImageImport' objects>, 'GetDataOrigin': <method 'GetDataOrigin' of 'vtkmodules.vtkIOImage.vtkImageImport' objects>, 'SetDataDirection': <method 'SetDataDirection' of 'vtkmodules.vtkIOImage.vtkImageImport' objects>, 'GetDataDirection': <method 'GetDataDirection' of 'vtkmodules.vtkIOImage.vtkImageImport' objects>, 'SetWholeExtent': <method 'SetWholeExtent' of 'vtkmodules.vtkIOImage.vtkImageImport' objects>, 'GetWholeExtent': <method 'GetWholeExtent' of 'vtkmodules.vtkIOImage.vtkImageImport' objects>, 'SetScalarArrayName': <method 'SetScalarArrayName' of 'vtkmodules.vtkIOImage.vtkImageImport' objects>, 'GetScalarArrayName': <method 'GetScalarArrayName' of 'vtkmodules.vtkIOImage.vtkImageImport' objects>, 'SetCallbackUserData': <method 'SetCallbackUserData' of 'vtkmodules.vtkIOImage.vtkImageImport' objects>, 'GetCallbackUserData': <method 'GetCallbackUserData' of 'vtkmodules.vtkIOImage.vtkImageImport' objects>, 'InvokePipelineModifiedCallbacks': <method 'InvokePipelineModifiedCallbacks' of 'vtkmodules.vtkIOImage.vtkImageImport' objects>, 'InvokeUpdateInformationCallbacks': <method 'InvokeUpdateInformationCallbacks' of 'vtkmodules.vtkIOImage.vtkImageImport' objects>, 'InvokeExecuteInformationCallbacks': <method 'InvokeExecuteInformationCallbacks' of 'vtkmodules.vtkIOImage.vtkImageImport' objects>, 'InvokeExecuteDataCallbacks': <method 'InvokeExecuteDataCallbacks' of 'vtkmodules.vtkIOImage.vtkImageImport' objects>, 'LegacyCheckWholeExtent': <method 'LegacyCheckWholeExtent' of 'vtkmodules.vtkIOImage.vtkImageImport' objects>, '__new__': <built-in method __new__ of type object at 0x00007FF8393B23E0>, '__repr__': <slot wrapper '__repr__' of 'vtkmodules.vtkIOImage.vtkImageImport' objects>, '__str__': <slot wrapper '__str__' of 'vtkmodules.vtkIOImage.vtkImageImport' objects>, '__getattribute__': <slot wrapper '__getattribute__' of 'vtkmodules.vtkIOImage.vtkImageImport' objects>, '__setattr__': <slot wrapper '__setattr__' of 'vtkmodules.vtkIOImage.vtkImageImport' objects>, '__delattr__': <slot wrapper '__delattr__' of 'vtkmodules.vtkIOImage.vtkImageImport' objects>, '__dict__': <attribute '__dict__' of 'vtkmodules.vtkIOImage.vtkImageImport' objects>, '__this__': <attribute '__this__' of 'vtkmodules.vtkIOImage.vtkImageImport' objects>, '__doc__': 'vtkImageImport - Import data from a C array.\\n\\nSuperclass: vtkImageAlgorithm\\n\\nvtkImageImport provides methods needed to import image data from a\\nsource independent of VTK, such as a simple C array or a third-party\\npipeline. Note that the VTK convention is for the image voxel index\\n(0,0,0) to be the lower-left corner of the image, while most 2D image\\nformats use the upper-left corner.  You can use vtkImageFlip to\\ncorrect the orientation after the image has been loaded into VTK.\\nNote that is also possible to import the raw data from a Python\\nstring instead of from a C array. The array applies on scalar point\\ndata only, not on cell data.\\n@sa\\nvtkImageExport\\n\\n'})"
    __vtkname__ = 'vtkImageImport'


