# 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 .vtkImageReader2 import vtkImageReader2

class vtkDICOMImageReader(vtkImageReader2):
    """
    vtkDICOMImageReader - Reads some DICOM images
    
    Superclass: vtkImageReader2
    
    DICOM (stands for Digital Imaging in COmmunications and Medicine) is
    a medical image file format widely used to exchange data, provided by
    various modalities.
    @warning
    This reader might eventually handle ACR-NEMA file (predecessor of the
    DICOM format for medical images). This reader does not handle
    encapsulated format, only plain raw file are handled. This reader
    also does not handle multi-frames DICOM datasets.
    @warning
    Internally DICOMParser assumes the x,y pixel spacing is stored in
    0028,0030 and that z spacing is stored in Slice Thickness (correct
    only when slice were acquired contiguous): 0018,0050. Which means
    this is only valid for some rare MR Image Storage
    
    @sa
    vtkBMPReader vtkPNMReader vtkTIFFReader
    """
    def CanReadFile(self, fname): # real signature unknown; restored from __doc__
        """
        CanReadFile(self, fname:str) -> int
        C++: int CanReadFile(const char *fname) override;
        
        Return non zero if the reader can read the given file name.
        Should be implemented by all sub-classes of vtkImageReader2. For
        non zero return values the following values are to be used 1 - I
        think I can read the file but I cannot prove it 2 - I definitely
        can read the file 3 - I can read the file and I have validated
        that I am the correct reader for this file
        """
        return 0

    def GetBitsAllocated(self): # real signature unknown; restored from __doc__
        """
        GetBitsAllocated(self) -> int
        C++: int GetBitsAllocated()
        
        Get the number of bits allocated for each pixel in the file.
        """
        return 0

    def GetDescriptiveName(self): # real signature unknown; restored from __doc__
        """
        GetDescriptiveName(self) -> str
        C++: const char *GetDescriptiveName() override;
        
        Return a descriptive name for the file format that might be
        useful in a GUI.
        """
        return ""

    def GetDirectoryName(self): # real signature unknown; restored from __doc__
        """
        GetDirectoryName(self) -> str
        C++: virtual char *GetDirectoryName()
        
        Returns the directory name.
        """
        return ""

    def GetFileExtensions(self): # real signature unknown; restored from __doc__
        """
        GetFileExtensions(self) -> str
        C++: const char *GetFileExtensions() override;
        
        Get the file extensions for this format. Returns a string with a
        space separated list of extensions in the format .extension
        """
        return ""

    def GetGantryAngle(self): # real signature unknown; restored from __doc__
        """
        GetGantryAngle(self) -> float
        C++: float GetGantryAngle()
        
        Get the gantry angle for the last image processed.
        """
        return 0.0

    def GetHeight(self): # real signature unknown; restored from __doc__
        """
        GetHeight(self) -> int
        C++: int GetHeight()
        
        Returns the image height.
        """
        return 0

    def GetImageOrientationPatient(self): # real signature unknown; restored from __doc__
        """
        GetImageOrientationPatient(self) -> (float, float, float, float,
            float, float)
        C++: float *GetImageOrientationPatient()
        
        Get the (DICOM) directions cosines. It consist of the components
        of the first two vectors. The third vector needs to be computed
        to form an orthonormal basis.
        """
        pass

    def GetImagePositionPatient(self): # real signature unknown; restored from __doc__
        """
        GetImagePositionPatient(self) -> (float, float, float)
        C++: float *GetImagePositionPatient()
        
        Get the (DICOM) x,y,z coordinates of the first pixel in the image
        (upper left hand corner) of the last image processed by the
        DICOMParser
        """
        pass

    def GetNumberOfComponents(self): # real signature unknown; restored from __doc__
        """
        GetNumberOfComponents(self) -> int
        C++: int GetNumberOfComponents()
        
        Get the number of components of the image data for the last image
        processed.
        """
        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 GetPatientName(self): # real signature unknown; restored from __doc__
        """
        GetPatientName(self) -> str
        C++: const char *GetPatientName()
        
        Get the patient name for the last image processed.
        """
        return ""

    def GetPixelRepresentation(self): # real signature unknown; restored from __doc__
        """
        GetPixelRepresentation(self) -> int
        C++: int GetPixelRepresentation()
        
        Get the pixel representation of the last image processed by the
        DICOMParser. A zero is a unsigned quantity.  A one indicates a
        signed quantity
        """
        return 0

    def GetPixelSpacing(self): # real signature unknown; restored from __doc__
        """
        GetPixelSpacing(self) -> (float, float, float)
        C++: double *GetPixelSpacing()
        
        Returns the pixel spacing (in X, Y, Z). Note: if there is only
        one slice, the Z spacing is set to the slice thickness. If there
        is more than one slice, it is set to the distance between the
        first two slices.
        """
        pass

    def GetRescaleOffset(self): # real signature unknown; restored from __doc__
        """
        GetRescaleOffset(self) -> float
        C++: float GetRescaleOffset()
        
        Get the rescale offset for the pixel data.
        """
        return 0.0

    def GetRescaleSlope(self): # real signature unknown; restored from __doc__
        """
        GetRescaleSlope(self) -> float
        C++: float GetRescaleSlope()
        
        Get the rescale slope for the pixel data.
        """
        return 0.0

    def GetStudyID(self): # real signature unknown; restored from __doc__
        """
        GetStudyID(self) -> str
        C++: const char *GetStudyID()
        
        Get the Study ID for the last image processed.
        """
        return ""

    def GetStudyUID(self): # real signature unknown; restored from __doc__
        """
        GetStudyUID(self) -> str
        C++: const char *GetStudyUID()
        
        Get the study uid for the last image processed.
        """
        return ""

    def GetTransferSyntaxUID(self): # real signature unknown; restored from __doc__
        """
        GetTransferSyntaxUID(self) -> str
        C++: const char *GetTransferSyntaxUID()
        
        Get the transfer syntax UID for the last image processed.
        """
        return ""

    def GetWidth(self): # real signature unknown; restored from __doc__
        """
        GetWidth(self) -> int
        C++: int GetWidth()
        
        Returns the image width.
        """
        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) -> vtkDICOMImageReader
        C++: vtkDICOMImageReader *NewInstance()
        """
        return vtkDICOMImageReader

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkDICOMImageReader
        C++: static vtkDICOMImageReader *SafeDownCast(vtkObjectBase *o)
        """
        return vtkDICOMImageReader

    def SetDirectoryName(self, dn): # real signature unknown; restored from __doc__
        """
        SetDirectoryName(self, dn:str) -> None
        C++: void SetDirectoryName(const char *dn)
        
        Set the directory name for the reader to look in for DICOM files.
        If this method is used, the reader will try to find all the DICOM
        files in a directory. It will select the subset corresponding to
        the first series UID it stumbles across and it will try to build
        an ordered volume from them based on the slice number. The volume
        building will be upgraded to something more sophisticated in the
        future.
        """
        pass

    def SetFileName(self, fn): # real signature unknown; restored from __doc__
        """
        SetFileName(self, fn:str) -> None
        C++: void SetFileName(const char *fn) override;
        
        Set the filename for the file to read. If this method is used,
        the reader will only read a single file.
        """
        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__': 'vtkDICOMImageReader', 'IsTypeOf': <method 'IsTypeOf' of 'vtkmodules.vtkIOImage.vtkDICOMImageReader' objects>, 'IsA': <method 'IsA' of 'vtkmodules.vtkIOImage.vtkDICOMImageReader' objects>, 'SafeDownCast': <method 'SafeDownCast' of 'vtkmodules.vtkIOImage.vtkDICOMImageReader' objects>, 'NewInstance': <method 'NewInstance' of 'vtkmodules.vtkIOImage.vtkDICOMImageReader' objects>, 'GetNumberOfGenerationsFromBaseType': <method 'GetNumberOfGenerationsFromBaseType' of 'vtkmodules.vtkIOImage.vtkDICOMImageReader' objects>, 'GetNumberOfGenerationsFromBase': <method 'GetNumberOfGenerationsFromBase' of 'vtkmodules.vtkIOImage.vtkDICOMImageReader' objects>, 'SetFileName': <method 'SetFileName' of 'vtkmodules.vtkIOImage.vtkDICOMImageReader' objects>, 'SetDirectoryName': <method 'SetDirectoryName' of 'vtkmodules.vtkIOImage.vtkDICOMImageReader' objects>, 'GetDirectoryName': <method 'GetDirectoryName' of 'vtkmodules.vtkIOImage.vtkDICOMImageReader' objects>, 'GetPixelSpacing': <method 'GetPixelSpacing' of 'vtkmodules.vtkIOImage.vtkDICOMImageReader' objects>, 'GetWidth': <method 'GetWidth' of 'vtkmodules.vtkIOImage.vtkDICOMImageReader' objects>, 'GetHeight': <method 'GetHeight' of 'vtkmodules.vtkIOImage.vtkDICOMImageReader' objects>, 'GetImagePositionPatient': <method 'GetImagePositionPatient' of 'vtkmodules.vtkIOImage.vtkDICOMImageReader' objects>, 'GetImageOrientationPatient': <method 'GetImageOrientationPatient' of 'vtkmodules.vtkIOImage.vtkDICOMImageReader' objects>, 'GetBitsAllocated': <method 'GetBitsAllocated' of 'vtkmodules.vtkIOImage.vtkDICOMImageReader' objects>, 'GetPixelRepresentation': <method 'GetPixelRepresentation' of 'vtkmodules.vtkIOImage.vtkDICOMImageReader' objects>, 'GetNumberOfComponents': <method 'GetNumberOfComponents' of 'vtkmodules.vtkIOImage.vtkDICOMImageReader' objects>, 'GetTransferSyntaxUID': <method 'GetTransferSyntaxUID' of 'vtkmodules.vtkIOImage.vtkDICOMImageReader' objects>, 'GetRescaleSlope': <method 'GetRescaleSlope' of 'vtkmodules.vtkIOImage.vtkDICOMImageReader' objects>, 'GetRescaleOffset': <method 'GetRescaleOffset' of 'vtkmodules.vtkIOImage.vtkDICOMImageReader' objects>, 'GetPatientName': <method 'GetPatientName' of 'vtkmodules.vtkIOImage.vtkDICOMImageReader' objects>, 'GetStudyUID': <method 'GetStudyUID' of 'vtkmodules.vtkIOImage.vtkDICOMImageReader' objects>, 'GetStudyID': <method 'GetStudyID' of 'vtkmodules.vtkIOImage.vtkDICOMImageReader' objects>, 'GetGantryAngle': <method 'GetGantryAngle' of 'vtkmodules.vtkIOImage.vtkDICOMImageReader' objects>, 'CanReadFile': <method 'CanReadFile' of 'vtkmodules.vtkIOImage.vtkDICOMImageReader' objects>, 'GetFileExtensions': <method 'GetFileExtensions' of 'vtkmodules.vtkIOImage.vtkDICOMImageReader' objects>, 'GetDescriptiveName': <method 'GetDescriptiveName' of 'vtkmodules.vtkIOImage.vtkDICOMImageReader' objects>, '__new__': <built-in method __new__ of type object at 0x00007FF8393B1020>, '__repr__': <slot wrapper '__repr__' of 'vtkmodules.vtkIOImage.vtkDICOMImageReader' objects>, '__str__': <slot wrapper '__str__' of 'vtkmodules.vtkIOImage.vtkDICOMImageReader' objects>, '__getattribute__': <slot wrapper '__getattribute__' of 'vtkmodules.vtkIOImage.vtkDICOMImageReader' objects>, '__setattr__': <slot wrapper '__setattr__' of 'vtkmodules.vtkIOImage.vtkDICOMImageReader' objects>, '__delattr__': <slot wrapper '__delattr__' of 'vtkmodules.vtkIOImage.vtkDICOMImageReader' objects>, '__dict__': <attribute '__dict__' of 'vtkmodules.vtkIOImage.vtkDICOMImageReader' objects>, '__this__': <attribute '__this__' of 'vtkmodules.vtkIOImage.vtkDICOMImageReader' objects>, '__doc__': 'vtkDICOMImageReader - Reads some DICOM images\\n\\nSuperclass: vtkImageReader2\\n\\nDICOM (stands for Digital Imaging in COmmunications and Medicine) is\\na medical image file format widely used to exchange data, provided by\\nvarious modalities.\\n@warning\\nThis reader might eventually handle ACR-NEMA file (predecessor of the\\nDICOM format for medical images). This reader does not handle\\nencapsulated format, only plain raw file are handled. This reader\\nalso does not handle multi-frames DICOM datasets.\\n@warning\\nInternally DICOMParser assumes the x,y pixel spacing is stored in\\n0028,0030 and that z spacing is stored in Slice Thickness (correct\\nonly when slice were acquired contiguous): 0018,0050. Which means\\nthis is only valid for some rare MR Image Storage\\n\\n@sa\\nvtkBMPReader vtkPNMReader vtkTIFFReader\\n\\n'})"
    __vtkname__ = 'vtkDICOMImageReader'


