# 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 vtkNIFTIImageWriter(vtkImageWriter):
    """
    vtkNIFTIImageWriter - Write NIfTI-1 and NIfTI-2 medical image files
    
    Superclass: vtkImageWriter
    
    This class writes NIFTI files, either in .nii format or as separate
    .img and .hdr files.  If told to write a file that ends in ".gz",
    then the writer will automatically compress the file with zlib.
    Images of type unsigned char that have 3 or 4 scalar components will
    automatically be written as RGB or RGBA respectively.  Images of type
    float or double that have 2 components will automatically be written
    as complex values.@par Thanks: This class was contributed to VTK by
    the Calgary Image Processing and Analysis Centre (CIPAC).
    @sa
    vtkNIFTIImageReader
    """
    def GetDescription(self): # real signature unknown; restored from __doc__
        """
        GetDescription(self) -> str
        C++: virtual char *GetDescription()
        """
        return ""

    def GetNIFTIHeader(self): # real signature unknown; restored from __doc__
        """
        GetNIFTIHeader(self) -> vtkNIFTIImageHeader
        C++: vtkNIFTIImageHeader *GetNIFTIHeader()
        """
        return vtkNIFTIImageHeader

    def GetNIFTIVersion(self): # real signature unknown; restored from __doc__
        """
        GetNIFTIVersion(self) -> int
        C++: virtual int GetNIFTIVersion()
        """
        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 GetPlanarRGB(self): # real signature unknown; restored from __doc__
        """
        GetPlanarRGB(self) -> bool
        C++: virtual bool GetPlanarRGB()
        
        Write planar RGB (separate R, G, and B planes), rather than
        packed RGB. Use this option with extreme caution: the NIFTI
        standard requires RGB pixels to be packed.  The Analyze format,
        however, was used to store both planar RGB and packed RGB
        depending on the software, without any indication in the header
        about which convention was being used.
        """
        return False

    def GetQFac(self): # real signature unknown; restored from __doc__
        """
        GetQFac(self) -> float
        C++: virtual double GetQFac()
        """
        return 0.0

    def GetQFormMatrix(self): # real signature unknown; restored from __doc__
        """
        GetQFormMatrix(self) -> vtkMatrix4x4
        C++: vtkMatrix4x4 *GetQFormMatrix()
        """
        pass

    def GetRescaleIntercept(self): # real signature unknown; restored from __doc__
        """
        GetRescaleIntercept(self) -> float
        C++: virtual double GetRescaleIntercept()
        """
        return 0.0

    def GetRescaleSlope(self): # real signature unknown; restored from __doc__
        """
        GetRescaleSlope(self) -> float
        C++: virtual double GetRescaleSlope()
        """
        return 0.0

    def GetSFormMatrix(self): # real signature unknown; restored from __doc__
        """
        GetSFormMatrix(self) -> vtkMatrix4x4
        C++: vtkMatrix4x4 *GetSFormMatrix()
        """
        pass

    def GetTimeDimension(self): # real signature unknown; restored from __doc__
        """
        GetTimeDimension(self) -> int
        C++: virtual int GetTimeDimension()
        
        Set the time dimension to use in the NIFTI file (or zero if
        none). The number of components of the input data must be
        divisible by the time dimension if the time dimension is not set
        to zero.  The vector dimension will be set to the number of
        components divided by the time dimension.
        """
        return 0

    def GetTimeSpacing(self): # real signature unknown; restored from __doc__
        """
        GetTimeSpacing(self) -> float
        C++: virtual double GetTimeSpacing()
        """
        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) -> vtkNIFTIImageWriter
        C++: vtkNIFTIImageWriter *NewInstance()
        """
        return vtkNIFTIImageWriter

    def PlanarRGBOff(self): # real signature unknown; restored from __doc__
        """
        PlanarRGBOff(self) -> None
        C++: virtual void PlanarRGBOff()
        """
        pass

    def PlanarRGBOn(self): # real signature unknown; restored from __doc__
        """
        PlanarRGBOn(self) -> None
        C++: virtual void PlanarRGBOn()
        """
        pass

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkNIFTIImageWriter
        C++: static vtkNIFTIImageWriter *SafeDownCast(vtkObjectBase *o)
        """
        return vtkNIFTIImageWriter

    def SetDescription(self, _arg): # real signature unknown; restored from __doc__
        """
        SetDescription(self, _arg:str) -> None
        C++: virtual void SetDescription(const char *_arg)
        
        Set a short description (max 80 chars) of how the file was
        produced. The default description is "VTKX.Y" where X.Y is the
        VTK version.
        """
        pass

    def SetNIFTIHeader(self, hdr): # real signature unknown; restored from __doc__
        """
        SetNIFTIHeader(self, hdr:vtkNIFTIImageHeader) -> None
        C++: void SetNIFTIHeader(vtkNIFTIImageHeader *hdr)
        
        Set the NIFTI header information to use when writing the file.
        The data dimensions and pixdim from the supplied header will be
        ignored.  Likewise, the QForm and SForm information in the
        supplied header will be ignored if you have called
        SetQFormMatrix() or SetSFormMatrix() to provide the orientation
        information for the file.
        """
        pass

    def SetNIFTIVersion(self, _arg): # real signature unknown; restored from __doc__
        """
        SetNIFTIVersion(self, _arg:int) -> None
        C++: virtual void SetNIFTIVersion(int _arg)
        
        Set the version number for the NIfTI file format to use. This can
        be 1, 2, or 0 (the default).  If set to zero, then it will save
        as NIfTI version 1 unless SetNIFTIHeader() provided header
        information from a NIfTI version 2 file.
        """
        pass

    def SetPlanarRGB(self, _arg): # real signature unknown; restored from __doc__
        """
        SetPlanarRGB(self, _arg:bool) -> None
        C++: virtual void SetPlanarRGB(bool _arg)
        """
        pass

    def SetQFac(self, _arg): # real signature unknown; restored from __doc__
        """
        SetQFac(self, _arg:float) -> None
        C++: virtual void SetQFac(double _arg)
        
        The QFac sets the ordering of the slices in the NIFTI file. If
        QFac is -1, then the slice ordering in the file will be reversed
        as compared to VTK. Use with caution.
        """
        pass

    def SetQFormMatrix(self, __a): # real signature unknown; restored from __doc__
        """
        SetQFormMatrix(self, __a:vtkMatrix4x4) -> None
        C++: void SetQFormMatrix(vtkMatrix4x4 *)
        
        Set the "qform" orientation and offset for the image data. The
        3x3 portion of the matrix must be orthonormal and have a positive
        determinant, it will be used to compute the quaternion. The last
        column of the matrix will be used for the offset. In the NIFTI
        header, the qform_code will be set to 1.
        """
        pass

    def SetRescaleIntercept(self, _arg): # real signature unknown; restored from __doc__
        """
        SetRescaleIntercept(self, _arg:float) -> None
        C++: virtual void SetRescaleIntercept(double _arg)
        """
        pass

    def SetRescaleSlope(self, _arg): # real signature unknown; restored from __doc__
        """
        SetRescaleSlope(self, _arg:float) -> None
        C++: virtual void SetRescaleSlope(double _arg)
        
        Set the slope and intercept for calibrating the scalar values.
        Other programs that read the NIFTI file can use the equation v =
        u*RescaleSlope + RescaleIntercept to rescale the data to real
        values.  If both the slope and the intercept are zero, then the
        SclSlope and SclIntercept in the header info provided via
        SetNIFTIHeader() are used instead.
        """
        pass

    def SetSFormMatrix(self, __a): # real signature unknown; restored from __doc__
        """
        SetSFormMatrix(self, __a:vtkMatrix4x4) -> None
        C++: void SetSFormMatrix(vtkMatrix4x4 *)
        
        Set a matrix for the "sform" transformation stored in the file.
        Unlike the qform matrix, the sform matrix can contain scaling
        information.  Before being stored in the NIFTI header, the first
        three columns of the matrix will be multiplied by the voxel
        spacing. In the NIFTI header, the sform_code will be set to 2.
        """
        pass

    def SetTimeDimension(self, _arg): # real signature unknown; restored from __doc__
        """
        SetTimeDimension(self, _arg:int) -> None
        C++: virtual void SetTimeDimension(int _arg)
        """
        pass

    def SetTimeSpacing(self, _arg): # real signature unknown; restored from __doc__
        """
        SetTimeSpacing(self, _arg:float) -> None
        C++: virtual void SetTimeSpacing(double _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__\': \'vtkNIFTIImageWriter\', \'IsTypeOf\': <method \'IsTypeOf\' of \'vtkmodules.vtkIOImage.vtkNIFTIImageWriter\' objects>, \'IsA\': <method \'IsA\' of \'vtkmodules.vtkIOImage.vtkNIFTIImageWriter\' objects>, \'SafeDownCast\': <method \'SafeDownCast\' of \'vtkmodules.vtkIOImage.vtkNIFTIImageWriter\' objects>, \'NewInstance\': <method \'NewInstance\' of \'vtkmodules.vtkIOImage.vtkNIFTIImageWriter\' objects>, \'GetNumberOfGenerationsFromBaseType\': <method \'GetNumberOfGenerationsFromBaseType\' of \'vtkmodules.vtkIOImage.vtkNIFTIImageWriter\' objects>, \'GetNumberOfGenerationsFromBase\': <method \'GetNumberOfGenerationsFromBase\' of \'vtkmodules.vtkIOImage.vtkNIFTIImageWriter\' objects>, \'SetNIFTIVersion\': <method \'SetNIFTIVersion\' of \'vtkmodules.vtkIOImage.vtkNIFTIImageWriter\' objects>, \'GetNIFTIVersion\': <method \'GetNIFTIVersion\' of \'vtkmodules.vtkIOImage.vtkNIFTIImageWriter\' objects>, \'SetDescription\': <method \'SetDescription\' of \'vtkmodules.vtkIOImage.vtkNIFTIImageWriter\' objects>, \'GetDescription\': <method \'GetDescription\' of \'vtkmodules.vtkIOImage.vtkNIFTIImageWriter\' objects>, \'GetTimeDimension\': <method \'GetTimeDimension\' of \'vtkmodules.vtkIOImage.vtkNIFTIImageWriter\' objects>, \'SetTimeDimension\': <method \'SetTimeDimension\' of \'vtkmodules.vtkIOImage.vtkNIFTIImageWriter\' objects>, \'GetTimeSpacing\': <method \'GetTimeSpacing\' of \'vtkmodules.vtkIOImage.vtkNIFTIImageWriter\' objects>, \'SetTimeSpacing\': <method \'SetTimeSpacing\' of \'vtkmodules.vtkIOImage.vtkNIFTIImageWriter\' objects>, \'SetRescaleSlope\': <method \'SetRescaleSlope\' of \'vtkmodules.vtkIOImage.vtkNIFTIImageWriter\' objects>, \'GetRescaleSlope\': <method \'GetRescaleSlope\' of \'vtkmodules.vtkIOImage.vtkNIFTIImageWriter\' objects>, \'SetRescaleIntercept\': <method \'SetRescaleIntercept\' of \'vtkmodules.vtkIOImage.vtkNIFTIImageWriter\' objects>, \'GetRescaleIntercept\': <method \'GetRescaleIntercept\' of \'vtkmodules.vtkIOImage.vtkNIFTIImageWriter\' objects>, \'GetPlanarRGB\': <method \'GetPlanarRGB\' of \'vtkmodules.vtkIOImage.vtkNIFTIImageWriter\' objects>, \'SetPlanarRGB\': <method \'SetPlanarRGB\' of \'vtkmodules.vtkIOImage.vtkNIFTIImageWriter\' objects>, \'PlanarRGBOn\': <method \'PlanarRGBOn\' of \'vtkmodules.vtkIOImage.vtkNIFTIImageWriter\' objects>, \'PlanarRGBOff\': <method \'PlanarRGBOff\' of \'vtkmodules.vtkIOImage.vtkNIFTIImageWriter\' objects>, \'SetQFac\': <method \'SetQFac\' of \'vtkmodules.vtkIOImage.vtkNIFTIImageWriter\' objects>, \'GetQFac\': <method \'GetQFac\' of \'vtkmodules.vtkIOImage.vtkNIFTIImageWriter\' objects>, \'SetQFormMatrix\': <method \'SetQFormMatrix\' of \'vtkmodules.vtkIOImage.vtkNIFTIImageWriter\' objects>, \'GetQFormMatrix\': <method \'GetQFormMatrix\' of \'vtkmodules.vtkIOImage.vtkNIFTIImageWriter\' objects>, \'SetSFormMatrix\': <method \'SetSFormMatrix\' of \'vtkmodules.vtkIOImage.vtkNIFTIImageWriter\' objects>, \'GetSFormMatrix\': <method \'GetSFormMatrix\' of \'vtkmodules.vtkIOImage.vtkNIFTIImageWriter\' objects>, \'SetNIFTIHeader\': <method \'SetNIFTIHeader\' of \'vtkmodules.vtkIOImage.vtkNIFTIImageWriter\' objects>, \'GetNIFTIHeader\': <method \'GetNIFTIHeader\' of \'vtkmodules.vtkIOImage.vtkNIFTIImageWriter\' objects>, \'__new__\': <built-in method __new__ of type object at 0x00007FF8393B88F0>, \'__repr__\': <slot wrapper \'__repr__\' of \'vtkmodules.vtkIOImage.vtkNIFTIImageWriter\' objects>, \'__str__\': <slot wrapper \'__str__\' of \'vtkmodules.vtkIOImage.vtkNIFTIImageWriter\' objects>, \'__getattribute__\': <slot wrapper \'__getattribute__\' of \'vtkmodules.vtkIOImage.vtkNIFTIImageWriter\' objects>, \'__setattr__\': <slot wrapper \'__setattr__\' of \'vtkmodules.vtkIOImage.vtkNIFTIImageWriter\' objects>, \'__delattr__\': <slot wrapper \'__delattr__\' of \'vtkmodules.vtkIOImage.vtkNIFTIImageWriter\' objects>, \'__dict__\': <attribute \'__dict__\' of \'vtkmodules.vtkIOImage.vtkNIFTIImageWriter\' objects>, \'__this__\': <attribute \'__this__\' of \'vtkmodules.vtkIOImage.vtkNIFTIImageWriter\' objects>, \'__doc__\': \'vtkNIFTIImageWriter - Write NIfTI-1 and NIfTI-2 medical image files\\n\\nSuperclass: vtkImageWriter\\n\\nThis class writes NIFTI files, either in .nii format or as separate\\n.img and .hdr files.  If told to write a file that ends in ".gz",\\nthen the writer will automatically compress the file with zlib.\\nImages of type unsigned char that have 3 or 4 scalar components will\\nautomatically be written as RGB or RGBA respectively.  Images of type\\nfloat or double that have 2 components will automatically be written\\nas complex values.@par Thanks: This class was contributed to VTK by\\nthe Calgary Image Processing and Analysis Centre (CIPAC).\\n@sa\\nvtkNIFTIImageReader\\n\\n\'})'
    __vtkname__ = 'vtkNIFTIImageWriter'


