# vtkGDCMImageReader Class Reference

`#include <vtkGDCMImageReader.h>`

Inheritance diagram for vtkGDCMImageReader:
[legend]
Collaboration diagram for vtkGDCMImageReader:
[legend]

List of all members.

## Public Member Functions

virtual int | CanReadFile (const char *fname)
virtual const char * | GetDescriptiveName ()
virtual const char * | GetFileExtensions ()
vtkImageData * | GetIconImage ()
vtkImageData * | GetOverlay (int i)
virtual void | PrintSelf (ostream &os, vtkIndent indent)
virtual void | SetCurve (vtkPolyData *pd)
virtual void | SetFileNames (vtkStringArray *)
virtual void | SetMedicalImageProperties (vtkMedicalImageProperties *pd)
| vtkBooleanMacro (LoadIconImage, int)
| vtkBooleanMacro (LossyFlag, int)
| vtkBooleanMacro (LoadOverlays, int)
| vtkBooleanMacro (ApplyLookupTable, int)
int | vtkBooleanMacro (ApplyYBRToRGB, int)
| vtkGetMacro (ImageFormat, int)
| vtkGetMacro (LoadOverlays, int)
| vtkGetMacro (NumberOfIconImages, int)
| vtkGetMacro (Scale, double)
| vtkGetMacro (LossyFlag, int)
| vtkGetMacro (NumberOfOverlays, int)
| vtkGetMacro (Shift, double)
| vtkGetMacro (ApplyLookupTable, int)
| vtkGetMacro (PlanarConfiguration, int)
| vtkGetMacro (ApplyYBRToRGB, int) vtkSetMacro(ApplyYBRToRGB
| vtkGetMacro (LoadIconImage, int)
| vtkGetObjectMacro (Curve, vtkPolyData)
| vtkGetObjectMacro (MedicalImageProperties, vtkMedicalImageProperties)
| vtkGetObjectMacro (FileNames, vtkStringArray)
| vtkGetObjectMacro (DirectionCosines, vtkMatrix4x4)
| vtkGetVector3Macro (ImagePositionPatient, double)
| vtkGetVector6Macro (ImageOrientationPatient, double)
| vtkSetMacro (LoadOverlays, int)
| vtkSetMacro (ApplyLookupTable, int)
| vtkSetMacro (LoadIconImage, int)
| vtkSetMacro (LossyFlag, int)
| vtkTypeRevisionMacro (vtkGDCMImageReader, vtkMedicalImageReader2)

## Static Public Member Functions

static vtkGDCMImageReader * | New ()

## Protected Member Functions

| vtkGDCMImageReader ()
| ~vtkGDCMImageReader ()
void | ExecuteData (vtkDataObject *out)
void | ExecuteInformation ()
void | FillMedicalImageInformation (const gdcm::ImageReader &reader)
int | LoadSingleFile (const char *filename, char *pointer, unsigned long &outlen)
int | RequestDataCompat ()
int | RequestInformationCompat ()
void | SetFilePattern (const char *)
void | SetFilePrefix (const char *)
| vtkGetStringMacro (FilePrefix)
| vtkGetStringMacro (FilePattern)
| vtkSetVector6Macro (ImageOrientationPatient, double)

## Protected Attributes

int | ApplyInverseVideo
int | ApplyLookupTable
int | ApplyPlanarConfiguration
int | ApplyShiftScale
int | ApplyYBRToRGB
vtkPolyData * | Curve
vtkMatrix4x4 * | DirectionCosines
vtkStringArray * | FileNames
int | ForceRescale
int | IconDataScalarType
int | IconImageDataExtent [6]
int | IconNumberOfScalarComponents
int | ImageFormat
double | ImageOrientationPatient [6]
double | ImagePositionPatient [3]
int | LoadIconImage
int | LoadOverlays
int | LossyFlag
vtkMedicalImageProperties * | MedicalImageProperties
int | NumberOfIconImages
int | NumberOfOverlays
int | PlanarConfiguration
double | Scale
double | Shift

## Detailed Description

Examples:

  Convert16BitsTo8Bits.cxx, ConvertMultiFrameToSingleFrame.cxx, ConvertRGBToLuminance.cxx, ConvertSingleBitTo8Bits.cxx, gdcmorthoplanes.cxx, gdcmreslice.cxx, gdcmtexture.cxx, gdcmvolume.cxx, HelloActiviz.cs, HelloActiviz3.cs, HelloActiviz4.cs, HelloActiviz5.cs, HelloVTKWorld.cs, HelloVTKWorld.java, MagnifyFile.cxx, MetaImageMD5Activiz.cs, RefCounting.cs, and reslicesphere.cxx.

## Constructor & Destructor Documentation

vtkGDCMImageReader::vtkGDCMImageReader | ( |  | ) | `[protected]`

vtkGDCMImageReader::~vtkGDCMImageReader | ( |  | ) | `[protected]`

## Member Function Documentation

virtual int vtkGDCMImageReader::CanReadFile | ( | const char * | fname | ) | `[virtual]`

Examples:
  MetaImageMD5Activiz.cs.

void vtkGDCMImageReader::ExecuteData | ( | vtkDataObject * | out | ) | `[protected]`

Reimplemented in vtkGDCMThreadedImageReader.

void vtkGDCMImageReader::ExecuteInformation | ( |  | ) | `[protected]`

Reimplemented in vtkGDCMThreadedImageReader.

void vtkGDCMImageReader::FillMedicalImageInformation | ( | const gdcm::ImageReader & | reader | ) | `[protected]`

virtual const char* vtkGDCMImageReader::GetDescriptiveName | ( |  | ) | `[inline, virtual]`

virtual const char* vtkGDCMImageReader::GetFileExtensions | ( |  | ) | `[inline, virtual]`

vtkImageData* vtkGDCMImageReader::GetIconImage | ( |  | ) |

vtkImageData* vtkGDCMImageReader::GetOverlay | ( | int | i | ) |

int vtkGDCMImageReader::LoadSingleFile | ( | const char * | filename,
|  | char * | pointer,
|  | unsigned long & | outlen
| ) |  | `[protected]`

static vtkGDCMImageReader* vtkGDCMImageReader::New | ( |  | ) | `[static]`

Reimplemented in vtkGDCMThreadedImageReader.

Examples:
  Convert16BitsTo8Bits.cxx, ConvertMultiFrameToSingleFrame.cxx, ConvertRGBToLuminance.cxx, ConvertSingleBitTo8Bits.cxx, gdcmorthoplanes.cxx, gdcmreslice.cxx, gdcmtexture.cxx, gdcmvolume.cxx, HelloActiviz.cs, HelloActiviz3.cs, HelloActiviz4.cs, HelloActiviz5.cs, HelloVTKWorld.cs, MagnifyFile.cxx, MetaImageMD5Activiz.cs, RefCounting.cs, and reslicesphere.cxx.

virtual void vtkGDCMImageReader::PrintSelf | ( | ostream & | os,
|  | vtkIndent | indent
| ) |  | `[virtual]`

Reimplemented in vtkGDCMThreadedImageReader.

int vtkGDCMImageReader::RequestDataCompat | ( |  | ) | `[protected]`

Reimplemented in vtkGDCMThreadedImageReader.

int vtkGDCMImageReader::RequestInformationCompat | ( |  | ) | `[protected]`

virtual void vtkGDCMImageReader::SetCurve | ( | vtkPolyData * | pd | ) | `[virtual]`

virtual void vtkGDCMImageReader::SetFileNames | ( | vtkStringArray * |  | ) | `[virtual]`

Examples:
  gdcmorthoplanes.cxx, HelloActiviz3.cs, HelloActiviz4.cs, and HelloActiviz5.cs.

void vtkGDCMImageReader::SetFilePattern | ( | const char * |  | ) | `[inline, protected]`

void vtkGDCMImageReader::SetFilePrefix | ( | const char * |  | ) | `[inline, protected]`

virtual void vtkGDCMImageReader::SetMedicalImageProperties | ( | vtkMedicalImageProperties * | pd | ) | `[virtual]`

vtkGDCMImageReader::vtkBooleanMacro | ( | LoadIconImage | ,
|  | int |
| ) |  |

vtkGDCMImageReader::vtkBooleanMacro | ( | LossyFlag | ,
|  | int |
| ) |  |

vtkGDCMImageReader::vtkBooleanMacro | ( | ApplyLookupTable | ,
|  | int |
| ) |  |

vtkGDCMImageReader::vtkBooleanMacro | ( | LoadOverlays | ,
|  | int |
| ) |  |

int vtkGDCMImageReader::vtkBooleanMacro | ( | ApplyYBRToRGB | ,
|  | int |
| ) |  |

vtkGDCMImageReader::vtkGetMacro | ( | ImageFormat | ,
|  | int |
| ) |  |

vtkGDCMImageReader::vtkGetMacro | ( | Shift | ,
|  | double |
| ) |  |

vtkGDCMImageReader::vtkGetMacro | ( | Scale | ,
|  | double |
| ) |  |

vtkGDCMImageReader::vtkGetMacro | ( | LossyFlag | ,
|  | int |
| ) |  |

vtkGDCMImageReader::vtkGetMacro | ( | PlanarConfiguration | ,
|  | int |
| ) |  |

vtkGDCMImageReader::vtkGetMacro | ( | NumberOfIconImages | ,
|  | int |
| ) |  |

vtkGDCMImageReader::vtkGetMacro | ( | NumberOfOverlays | ,
|  | int |
| ) |  |

vtkGDCMImageReader::vtkGetMacro | ( | LoadOverlays | ,
|  | int |
| ) |  |

vtkGDCMImageReader::vtkGetMacro | ( | ApplyLookupTable | ,
|  | int |
| ) |  |

vtkGDCMImageReader::vtkGetMacro | ( | ApplyYBRToRGB | ,
|  | int |
| ) |  |

vtkGDCMImageReader::vtkGetMacro | ( | LoadIconImage | ,
|  | int |
| ) |  |

vtkGDCMImageReader::vtkGetObjectMacro | ( | Curve | ,
|  | vtkPolyData |
| ) |  |

vtkGDCMImageReader::vtkGetObjectMacro | ( | MedicalImageProperties | ,
|  | vtkMedicalImageProperties |
| ) |  |

vtkGDCMImageReader::vtkGetObjectMacro | ( | FileNames | ,
|  | vtkStringArray |
| ) |  |

vtkGDCMImageReader::vtkGetObjectMacro | ( | DirectionCosines | ,
|  | vtkMatrix4x4 |
| ) |  |

vtkGDCMImageReader::vtkGetStringMacro | ( | FilePrefix |  | ) | `[protected]`

vtkGDCMImageReader::vtkGetStringMacro | ( | FilePattern |  | ) | `[protected]`

vtkGDCMImageReader::vtkGetVector3Macro | ( | ImagePositionPatient | ,
|  | double |
| ) |  |

vtkGDCMImageReader::vtkGetVector6Macro | ( | ImageOrientationPatient | ,
|  | double |
| ) |  |

vtkGDCMImageReader::vtkSetMacro | ( | LoadIconImage | ,
|  | int |
| ) |  |

vtkGDCMImageReader::vtkSetMacro | ( | LoadOverlays | ,
|  | int |
| ) |  |

vtkGDCMImageReader::vtkSetMacro | ( | LossyFlag | ,
|  | int |
| ) |  |

vtkGDCMImageReader::vtkSetMacro | ( | ApplyLookupTable | ,
|  | int |
| ) |  |

vtkGDCMImageReader::vtkSetVector6Macro | ( | ImageOrientationPatient | ,
|  | double |
| ) |  | `[protected]`

vtkGDCMImageReader::vtkTypeRevisionMacro | ( | vtkGDCMImageReader | ,
|  | vtkMedicalImageReader2 |
| ) |  |

## Member Data Documentation

int vtkGDCMImageReader::ApplyInverseVideo `[protected]`

int vtkGDCMImageReader::ApplyLookupTable `[protected]`

int vtkGDCMImageReader::ApplyPlanarConfiguration `[protected]`

int vtkGDCMImageReader::ApplyShiftScale `[protected]`

int vtkGDCMImageReader::ApplyYBRToRGB `[protected]`

vtkPolyData* vtkGDCMImageReader::Curve `[protected]`

vtkMatrix4x4* vtkGDCMImageReader::DirectionCosines `[protected]`

vtkStringArray* vtkGDCMImageReader::FileNames `[protected]`

int vtkGDCMImageReader::ForceRescale `[protected]`

int vtkGDCMImageReader::IconDataScalarType `[protected]`

int vtkGDCMImageReader::IconImageDataExtent[6]`[protected]`

int vtkGDCMImageReader::IconNumberOfScalarComponents `[protected]`

int vtkGDCMImageReader::ImageFormat `[protected]`

double vtkGDCMImageReader::ImageOrientationPatient[6]`[protected]`

double vtkGDCMImageReader::ImagePositionPatient[3]`[protected]`

int vtkGDCMImageReader::LoadIconImage `[protected]`

int vtkGDCMImageReader::LoadOverlays `[protected]`

int vtkGDCMImageReader::LossyFlag `[protected]`

vtkMedicalImageProperties* vtkGDCMImageReader::MedicalImageProperties `[protected]`

int vtkGDCMImageReader::NumberOfIconImages `[protected]`

int vtkGDCMImageReader::NumberOfOverlays `[protected]`

int vtkGDCMImageReader::PlanarConfiguration `[protected]`

double vtkGDCMImageReader::Scale `[protected]`

double vtkGDCMImageReader::Shift `[protected]`

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

- vtkGDCMImageReader.h