Go to the documentation of this file.
43 #ifndef vtkDICOMImageReader_h
44 #define vtkDICOMImageReader_h
46 #include "vtkIOImageModule.h"
49 class vtkDICOMImageReaderVector;
76 delete [] this->DirectoryName;
78 this->DirectoryName = NULL;
79 this->FileName = NULL;
virtual void ExecuteDataWithInformation(vtkDataObject *out, vtkInformation *outInfo)
This is a convenience method that is implemented in many subclasses instead of RequestData.
double * GetPixelSpacing()
Returns the pixel spacing (in X, Y, Z).
virtual const char * GetFileExtensions()
Get the file extensions for this format.
virtual int CanReadFile(const char *fname)
int GetNumberOfDICOMFileNames()
int GetPixelRepresentation()
Get the pixel representation of the last image processed by the DICOMParser.
const char * GetDICOMFileName(int index)
virtual void ExecuteInformation()
float * GetImagePositionPatient()
Get the (DICOM) x,y,z coordinates of the first pixel in the image (upper left hand corner) of the las...
const char * GetPatientName()
Get the patient name for the last image processed.
const char * GetStudyUID()
Get the study uid for the last image processed.
int GetBitsAllocated()
Get the number of bits allocated for each pixel in the file.
static vtkDICOMImageReader * New()
Static method for construction.
int GetNumberOfComponents()
Get the number of components of the image data for the last image processed.
a simple class to control print indentation
float * GetImageOrientationPatient()
Get the (DICOM) directions cosines.
void SetFileName(const char *fn)
Set the filename for the file to read.
Superclass of binary file readers.
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
vtkDICOMImageReaderVector * DICOMFileNames
void PrintSelf(ostream &os, vtkIndent indent)
Prints the ivars.
virtual void SetFileName(const char *)
Specify file name for the image file.
void SetDirectoryName(const char *dn)
Set the directory name for the reader to look in for DICOM files.
virtual const char * GetDescriptiveName()
Return a descriptive name for the file format that might be useful in a GUI.
const char * GetTransferSyntaxUID()
Get the transfer syntax UID for the last image processed.
int GetWidth()
Returns the image width.
virtual ~vtkDICOMImageReader()
int GetHeight()
Returns the image height.
DICOMAppHelper * AppHelper
general representation of visualization data
const char * GetStudyID()
Get the Study ID for the last image processed.
float GetRescaleOffset()
Get the rescale offset for the pixel data.
void SetupOutputInformation(int num_slices)
float GetRescaleSlope()
Get the rescale slope for the pixel data.
float GetGantryAngle()
Get the gantry angle for the last image processed.