ActiViz .NET  5.8.0
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Private Member Functions | Static Private Member Functions
Kitware.VTK.vtkDICOMImageReader Class Reference

vtkDICOMImageReader - Reads some DICOM images More...

Inheritance diagram for Kitware.VTK.vtkDICOMImageReader:
[legend]
Collaboration diagram for Kitware.VTK.vtkDICOMImageReader:
[legend]

List of all members.

Public Member Functions

 vtkDICOMImageReader (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkDICOMImageReader ()
 Static method for construction.
override int CanReadFile (string fname)
 Can I read the file?
int GetBitsAllocated ()
 Get the number of bits allocated for each pixel in the file.
override string GetDescriptiveName ()
 Return a descriptive name for the file format that might be useful in a GUI.
virtual string GetDirectoryName ()
 Returns the directory name.
override string GetFileExtensions ()
 What file extensions are supported?
float GetGantryAngle ()
 Get the gantry angle for the last image processed.
int GetHeight ()
 Returns the image height.
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.
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.
int GetNumberOfComponents ()
 Get the number of components of the image data for the last image processed.
string GetPatientName ()
 Get the patient name for the last image processed.
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.
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.
float GetRescaleOffset ()
 Get the rescale offset for the pixel data.
float GetRescaleSlope ()
 Get the rescale slope for the pixel data.
string GetStudyID ()
 Get the Study ID for the last image processed.
string GetStudyUID ()
 Get the study uid for the last image processed.
string GetTransferSyntaxUID ()
 Get the transfer syntax UID for the last image processed.
int GetWidth ()
 Returns the image width.
override int IsA (string type)
 Static method for construction.
new vtkDICOMImageReader NewInstance ()
 Static method for construction.
void SetDirectoryName (string 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.
override void SetFileName (string fn)
 Set the filename for the file to read. If this method is used, the reader will only read a single file.

Static Public Member Functions

static new vtkDICOMImageReader New ()
 Static method for construction.
static new int IsTypeOf (string type)
 Static method for construction.
static new vtkDICOMImageReader SafeDownCast (vtkObjectBase o)
 Static method for construction.

Public Attributes

new const string MRFullTypeName = "Kitware.VTK.vtkDICOMImageReader"
 Automatically generated type registration mechanics.

Static Public Attributes

static new readonly string MRClassNameKey = "19vtkDICOMImageReader"
 Automatically generated type registration mechanics.

Protected Member Functions

override void Dispose (bool disposing)
 Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.

Private Member Functions

static internal IntPtr vtkDICOMImageReader_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkDICOMImageReader_CanReadFile_01 (HandleRef pThis, string fname)
static internal int vtkDICOMImageReader_GetBitsAllocated_02 (HandleRef pThis)
static internal IntPtr vtkDICOMImageReader_GetDescriptiveName_03 (HandleRef pThis)
static internal IntPtr vtkDICOMImageReader_GetDirectoryName_04 (HandleRef pThis)
static internal IntPtr vtkDICOMImageReader_GetFileExtensions_05 (HandleRef pThis)
static internal float vtkDICOMImageReader_GetGantryAngle_06 (HandleRef pThis)
static internal int vtkDICOMImageReader_GetHeight_07 (HandleRef pThis)
static internal IntPtr vtkDICOMImageReader_GetImageOrientationPatient_08 (HandleRef pThis)
static internal IntPtr vtkDICOMImageReader_GetImagePositionPatient_09 (HandleRef pThis)
static internal int vtkDICOMImageReader_GetNumberOfComponents_10 (HandleRef pThis)
static internal IntPtr vtkDICOMImageReader_GetPatientName_11 (HandleRef pThis)
static internal int vtkDICOMImageReader_GetPixelRepresentation_12 (HandleRef pThis)
static internal IntPtr vtkDICOMImageReader_GetPixelSpacing_13 (HandleRef pThis)
static internal float vtkDICOMImageReader_GetRescaleOffset_14 (HandleRef pThis)
static internal float vtkDICOMImageReader_GetRescaleSlope_15 (HandleRef pThis)
static internal IntPtr vtkDICOMImageReader_GetStudyID_16 (HandleRef pThis)
static internal IntPtr vtkDICOMImageReader_GetStudyUID_17 (HandleRef pThis)
static internal IntPtr vtkDICOMImageReader_GetTransferSyntaxUID_18 (HandleRef pThis)
static internal int vtkDICOMImageReader_GetWidth_19 (HandleRef pThis)
static internal int vtkDICOMImageReader_IsA_20 (HandleRef pThis, string type)
static internal int vtkDICOMImageReader_IsTypeOf_21 (string type)
static internal IntPtr vtkDICOMImageReader_NewInstance_23 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkDICOMImageReader_SafeDownCast_24 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkDICOMImageReader_SetDirectoryName_25 (HandleRef pThis, string dn)
static internal void vtkDICOMImageReader_SetFileName_26 (HandleRef pThis, string fn)

Static Private Member Functions

static vtkDICOMImageReader ()
 Automatically generated type registration mechanics.

Detailed Description

vtkDICOMImageReader - Reads some DICOM images

Description DICOM (stands for Digital Imaging in COmmunications and Medicine) is a medical image file format widely used to exchange data, provided by various modalities. Warnings 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. Warnings 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

vtkBMPReader vtkPNMReader vtkTIFFReader


Constructor & Destructor Documentation

Automatically generated type registration mechanics.

Kitware.VTK.vtkDICOMImageReader.vtkDICOMImageReader ( IntPtr  rawCppThis,
bool  callDisposalMethod,
bool  strong 
)

Automatically generated constructor - called from generated code. DO NOT call directly.

Static method for construction.


Member Function Documentation

override int Kitware.VTK.vtkDICOMImageReader.CanReadFile ( string  fname) [virtual]

Can I read the file?

Reimplemented from Kitware.VTK.vtkImageReader2.

override void Kitware.VTK.vtkDICOMImageReader.Dispose ( bool  disposing) [protected]

Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.

Reimplemented from Kitware.VTK.vtkImageReader2.

Get the number of bits allocated for each pixel in the file.

Return a descriptive name for the file format that might be useful in a GUI.

Reimplemented from Kitware.VTK.vtkImageReader2.

Returns the directory name.

What file extensions are supported?

Reimplemented from Kitware.VTK.vtkImageReader2.

Get the gantry angle for the last image processed.

Returns the image height.

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.

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.

Get the number of components of the image data for the last image processed.

Get the patient name for the last image processed.

Get the pixel representation of the last image processed by the DICOMParser. A zero is a unsigned quantity. A one indicates a signed quantity.

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.

Get the rescale offset for the pixel data.

Get the rescale slope for the pixel data.

Get the Study ID for the last image processed.

Get the study uid for the last image processed.

Get the transfer syntax UID for the last image processed.

Returns the image width.

override int Kitware.VTK.vtkDICOMImageReader.IsA ( string  type) [virtual]

Static method for construction.

Reimplemented from Kitware.VTK.vtkImageReader2.

static new int Kitware.VTK.vtkDICOMImageReader.IsTypeOf ( string  type) [static]

Static method for construction.

Reimplemented from Kitware.VTK.vtkImageReader2.

Static method for construction.

Reimplemented from Kitware.VTK.vtkImageReader2.

Static method for construction.

Reimplemented from Kitware.VTK.vtkImageReader2.

Static method for construction.

Reimplemented from Kitware.VTK.vtkImageReader2.

Here is the call graph for this function:

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.

override void Kitware.VTK.vtkDICOMImageReader.SetFileName ( string  fn) [virtual]

Set the filename for the file to read. If this method is used, the reader will only read a single file.

Reimplemented from Kitware.VTK.vtkImageReader2.

static internal int Kitware.VTK.vtkDICOMImageReader.vtkDICOMImageReader_CanReadFile_01 ( HandleRef  pThis,
string  fname 
) [private]
static internal int Kitware.VTK.vtkDICOMImageReader.vtkDICOMImageReader_GetBitsAllocated_02 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkDICOMImageReader.vtkDICOMImageReader_GetDescriptiveName_03 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkDICOMImageReader.vtkDICOMImageReader_GetDirectoryName_04 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkDICOMImageReader.vtkDICOMImageReader_GetFileExtensions_05 ( HandleRef  pThis) [private]
static internal float Kitware.VTK.vtkDICOMImageReader.vtkDICOMImageReader_GetGantryAngle_06 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkDICOMImageReader.vtkDICOMImageReader_GetHeight_07 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkDICOMImageReader.vtkDICOMImageReader_GetImageOrientationPatient_08 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkDICOMImageReader.vtkDICOMImageReader_GetImagePositionPatient_09 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkDICOMImageReader.vtkDICOMImageReader_GetNumberOfComponents_10 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkDICOMImageReader.vtkDICOMImageReader_GetPatientName_11 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkDICOMImageReader.vtkDICOMImageReader_GetPixelRepresentation_12 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkDICOMImageReader.vtkDICOMImageReader_GetPixelSpacing_13 ( HandleRef  pThis) [private]
static internal float Kitware.VTK.vtkDICOMImageReader.vtkDICOMImageReader_GetRescaleOffset_14 ( HandleRef  pThis) [private]
static internal float Kitware.VTK.vtkDICOMImageReader.vtkDICOMImageReader_GetRescaleSlope_15 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkDICOMImageReader.vtkDICOMImageReader_GetStudyID_16 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkDICOMImageReader.vtkDICOMImageReader_GetStudyUID_17 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkDICOMImageReader.vtkDICOMImageReader_GetTransferSyntaxUID_18 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkDICOMImageReader.vtkDICOMImageReader_GetWidth_19 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkDICOMImageReader.vtkDICOMImageReader_IsA_20 ( HandleRef  pThis,
string  type 
) [private]
static internal int Kitware.VTK.vtkDICOMImageReader.vtkDICOMImageReader_IsTypeOf_21 ( string  type) [private]
static internal IntPtr Kitware.VTK.vtkDICOMImageReader.vtkDICOMImageReader_New ( ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkDICOMImageReader.vtkDICOMImageReader_NewInstance_23 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkDICOMImageReader.vtkDICOMImageReader_SafeDownCast_24 ( HandleRef  o,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkDICOMImageReader.vtkDICOMImageReader_SetDirectoryName_25 ( HandleRef  pThis,
string  dn 
) [private]
static internal void Kitware.VTK.vtkDICOMImageReader.vtkDICOMImageReader_SetFileName_26 ( HandleRef  pThis,
string  fn 
) [private]

Member Data Documentation

new readonly string Kitware.VTK.vtkDICOMImageReader.MRClassNameKey = "19vtkDICOMImageReader" [static]

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkImageReader2.

new const string Kitware.VTK.vtkDICOMImageReader.MRFullTypeName = "Kitware.VTK.vtkDICOMImageReader"

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkImageReader2.


The documentation for this class was generated from the following file: