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.vtkMINCImageReader Class Reference

vtkMINCImageReader - A reader for MINC files. More...

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

List of all members.

Public Member Functions

 vtkMINCImageReader (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkMINCImageReader ()
 Undocumented Block.
override int CanReadFile (string name)
 Test whether the specified file can be read.
virtual double[] GetDataRange ()
 Get the scalar range of the output from the information in the file header. This is more efficient that computing the scalar range, but in some cases the MINC file stores an incorrect valid_range and the DataRange will be incorrect.
virtual void GetDataRange (IntPtr range)
 Get the scalar range of the output from the information in the file header. This is more efficient that computing the scalar range, but in some cases the MINC file stores an incorrect valid_range and the DataRange will be incorrect.
override string GetDescriptiveName ()
 Get the name of this file format.
virtual vtkMatrix4x4 GetDirectionCosines ()
 Get a matrix that describes the orientation of the data. The three columns of the matrix are the direction cosines for the x, y and z dimensions respectively.
override string GetFileExtensions ()
 Get the entension for this file format.
virtual vtkMINCImageAttributes GetImageAttributes ()
 Get the image attributes, which contain patient information and other useful metadata.
virtual int GetNumberOfTimeSteps ()
 Get the number of time steps in the file.
virtual double GetRescaleIntercept ()
 Get the slope and intercept for rescaling the scalar values to real data values. To convert scalar values to real values, use the equation y = x*RescaleSlope + RescaleIntercept.
virtual int GetRescaleRealValues ()
 Rescale real data values to float. If this is done, the RescaleSlope and RescaleIntercept will be set to 1 and 0 respectively. This is off by default.
virtual double GetRescaleSlope ()
 Get the slope and intercept for rescaling the scalar values to real data values. To convert scalar values to real values, use the equation y = x*RescaleSlope + RescaleIntercept.
virtual int GetTimeStep ()
 Set the time step to read.
override int IsA (string type)
 Undocumented Block.
new vtkMINCImageReader NewInstance ()
 Undocumented Block.
virtual void RescaleRealValuesOff ()
 Rescale real data values to float. If this is done, the RescaleSlope and RescaleIntercept will be set to 1 and 0 respectively. This is off by default.
virtual void RescaleRealValuesOn ()
 Rescale real data values to float. If this is done, the RescaleSlope and RescaleIntercept will be set to 1 and 0 respectively. This is off by default.
override void SetFileName (string name)
 Set the file name.
virtual void SetRescaleRealValues (int _arg)
 Rescale real data values to float. If this is done, the RescaleSlope and RescaleIntercept will be set to 1 and 0 respectively. This is off by default.
virtual void SetTimeStep (int _arg)
 Set the time step to read.

Static Public Member Functions

static new vtkMINCImageReader New ()
 Undocumented Block.
static new int IsTypeOf (string type)
 Undocumented Block.
static new vtkMINCImageReader SafeDownCast (vtkObjectBase o)
 Undocumented Block.

Public Attributes

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

Static Public Attributes

static new readonly string MRClassNameKey = "18vtkMINCImageReader"
 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 vtkMINCImageReader_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkMINCImageReader_CanReadFile_01 (HandleRef pThis, string name)
static internal IntPtr vtkMINCImageReader_GetDataRange_02 (HandleRef pThis)
static internal void vtkMINCImageReader_GetDataRange_03 (HandleRef pThis, IntPtr range)
static internal IntPtr vtkMINCImageReader_GetDescriptiveName_04 (HandleRef pThis)
static internal IntPtr vtkMINCImageReader_GetDirectionCosines_05 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkMINCImageReader_GetFileExtensions_06 (HandleRef pThis)
static internal IntPtr vtkMINCImageReader_GetImageAttributes_07 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkMINCImageReader_GetNumberOfTimeSteps_08 (HandleRef pThis)
static internal double vtkMINCImageReader_GetRescaleIntercept_09 (HandleRef pThis)
static internal int vtkMINCImageReader_GetRescaleRealValues_10 (HandleRef pThis)
static internal double vtkMINCImageReader_GetRescaleSlope_11 (HandleRef pThis)
static internal int vtkMINCImageReader_GetTimeStep_12 (HandleRef pThis)
static internal int vtkMINCImageReader_IsA_13 (HandleRef pThis, string type)
static internal int vtkMINCImageReader_IsTypeOf_14 (string type)
static internal IntPtr vtkMINCImageReader_NewInstance_16 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkMINCImageReader_RescaleRealValuesOff_17 (HandleRef pThis)
static internal void vtkMINCImageReader_RescaleRealValuesOn_18 (HandleRef pThis)
static internal IntPtr vtkMINCImageReader_SafeDownCast_19 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkMINCImageReader_SetFileName_20 (HandleRef pThis, string name)
static internal void vtkMINCImageReader_SetRescaleRealValues_21 (HandleRef pThis, int _arg)
static internal void vtkMINCImageReader_SetTimeStep_22 (HandleRef pThis, int _arg)

Static Private Member Functions

static vtkMINCImageReader ()
 Automatically generated type registration mechanics.

Detailed Description

vtkMINCImageReader - A reader for MINC files.

Description MINC is a NetCDF-based medical image file format that was developed at the Montreal Neurological Institute in 1992. This class will read a MINC file into VTK, rearranging the data to match the VTK x, y, and z dimensions, and optionally rescaling real-valued data to VTK_FLOAT if RescaleRealValuesOn() is set. If RescaleRealValues is off, then the data will be stored in its original data type and the GetRescaleSlope(), GetRescaleIntercept() method can be used to retrieve global rescaling parameters. If the original file had a time dimension, the SetTimeStep() method can be used to specify a time step to read. All of the original header information can be accessed though the GetImageAttributes() method. Thanks Thanks to David Gobbi for writing this class and Atamai Inc. for contributing it to VTK.

vtkMINCImageWriter vtkMINCImageAttributes


Constructor & Destructor Documentation

Automatically generated type registration mechanics.

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

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

Undocumented Block.


Member Function Documentation

override int Kitware.VTK.vtkMINCImageReader.CanReadFile ( string  name) [virtual]

Test whether the specified file can be read.

Reimplemented from Kitware.VTK.vtkImageReader2.

override void Kitware.VTK.vtkMINCImageReader.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.

virtual double [] Kitware.VTK.vtkMINCImageReader.GetDataRange ( ) [virtual]

Get the scalar range of the output from the information in the file header. This is more efficient that computing the scalar range, but in some cases the MINC file stores an incorrect valid_range and the DataRange will be incorrect.

virtual void Kitware.VTK.vtkMINCImageReader.GetDataRange ( IntPtr  range) [virtual]

Get the scalar range of the output from the information in the file header. This is more efficient that computing the scalar range, but in some cases the MINC file stores an incorrect valid_range and the DataRange will be incorrect.

Get the name of this file format.

Reimplemented from Kitware.VTK.vtkImageReader2.

Get a matrix that describes the orientation of the data. The three columns of the matrix are the direction cosines for the x, y and z dimensions respectively.

Here is the call graph for this function:

override string Kitware.VTK.vtkMINCImageReader.GetFileExtensions ( ) [virtual]

Get the entension for this file format.

Reimplemented from Kitware.VTK.vtkImageReader2.

Get the image attributes, which contain patient information and other useful metadata.

Here is the call graph for this function:

Get the number of time steps in the file.

Get the slope and intercept for rescaling the scalar values to real data values. To convert scalar values to real values, use the equation y = x*RescaleSlope + RescaleIntercept.

Rescale real data values to float. If this is done, the RescaleSlope and RescaleIntercept will be set to 1 and 0 respectively. This is off by default.

virtual double Kitware.VTK.vtkMINCImageReader.GetRescaleSlope ( ) [virtual]

Get the slope and intercept for rescaling the scalar values to real data values. To convert scalar values to real values, use the equation y = x*RescaleSlope + RescaleIntercept.

virtual int Kitware.VTK.vtkMINCImageReader.GetTimeStep ( ) [virtual]

Set the time step to read.

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

Undocumented Block.

Reimplemented from Kitware.VTK.vtkImageReader2.

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

Undocumented Block.

Reimplemented from Kitware.VTK.vtkImageReader2.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkImageReader2.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkImageReader2.

Rescale real data values to float. If this is done, the RescaleSlope and RescaleIntercept will be set to 1 and 0 respectively. This is off by default.

Rescale real data values to float. If this is done, the RescaleSlope and RescaleIntercept will be set to 1 and 0 respectively. This is off by default.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkImageReader2.

Here is the call graph for this function:

override void Kitware.VTK.vtkMINCImageReader.SetFileName ( string  name) [virtual]

Set the file name.

Reimplemented from Kitware.VTK.vtkImageReader2.

virtual void Kitware.VTK.vtkMINCImageReader.SetRescaleRealValues ( int  _arg) [virtual]

Rescale real data values to float. If this is done, the RescaleSlope and RescaleIntercept will be set to 1 and 0 respectively. This is off by default.

virtual void Kitware.VTK.vtkMINCImageReader.SetTimeStep ( int  _arg) [virtual]

Set the time step to read.

static internal int Kitware.VTK.vtkMINCImageReader.vtkMINCImageReader_CanReadFile_01 ( HandleRef  pThis,
string  name 
) [private]
static internal IntPtr Kitware.VTK.vtkMINCImageReader.vtkMINCImageReader_GetDataRange_02 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkMINCImageReader.vtkMINCImageReader_GetDataRange_03 ( HandleRef  pThis,
IntPtr  range 
) [private]
static internal IntPtr Kitware.VTK.vtkMINCImageReader.vtkMINCImageReader_GetDescriptiveName_04 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkMINCImageReader.vtkMINCImageReader_GetDirectionCosines_05 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkMINCImageReader.vtkMINCImageReader_GetFileExtensions_06 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkMINCImageReader.vtkMINCImageReader_GetImageAttributes_07 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal int Kitware.VTK.vtkMINCImageReader.vtkMINCImageReader_GetNumberOfTimeSteps_08 ( HandleRef  pThis) [private]
static internal double Kitware.VTK.vtkMINCImageReader.vtkMINCImageReader_GetRescaleIntercept_09 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkMINCImageReader.vtkMINCImageReader_GetRescaleRealValues_10 ( HandleRef  pThis) [private]
static internal double Kitware.VTK.vtkMINCImageReader.vtkMINCImageReader_GetRescaleSlope_11 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkMINCImageReader.vtkMINCImageReader_GetTimeStep_12 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkMINCImageReader.vtkMINCImageReader_IsA_13 ( HandleRef  pThis,
string  type 
) [private]
static internal int Kitware.VTK.vtkMINCImageReader.vtkMINCImageReader_IsTypeOf_14 ( string  type) [private]
static internal IntPtr Kitware.VTK.vtkMINCImageReader.vtkMINCImageReader_New ( ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkMINCImageReader.vtkMINCImageReader_NewInstance_16 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkMINCImageReader.vtkMINCImageReader_RescaleRealValuesOff_17 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkMINCImageReader.vtkMINCImageReader_RescaleRealValuesOn_18 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkMINCImageReader.vtkMINCImageReader_SafeDownCast_19 ( HandleRef  o,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkMINCImageReader.vtkMINCImageReader_SetFileName_20 ( HandleRef  pThis,
string  name 
) [private]
static internal void Kitware.VTK.vtkMINCImageReader.vtkMINCImageReader_SetRescaleRealValues_21 ( HandleRef  pThis,
int  _arg 
) [private]
static internal void Kitware.VTK.vtkMINCImageReader.vtkMINCImageReader_SetTimeStep_22 ( HandleRef  pThis,
int  _arg 
) [private]

Member Data Documentation

new readonly string Kitware.VTK.vtkMINCImageReader.MRClassNameKey = "18vtkMINCImageReader" [static]

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkImageReader2.

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

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkImageReader2.


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