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;
93 void SetDirectoryName(
const char* dn);
108 double* GetPixelSpacing();
125 float* GetImagePositionPatient();
132 float* GetImageOrientationPatient();
137 int GetBitsAllocated();
144 int GetPixelRepresentation();
150 int GetNumberOfComponents();
155 const char* GetTransferSyntaxUID();
160 float GetRescaleSlope();
165 float GetRescaleOffset();
170 const char* GetPatientName();
175 const char* GetStudyUID();
180 const char* GetStudyID();
185 float GetGantryAngle();
212 void SetupOutputInformation(
int num_slices);
249 int GetNumberOfDICOMFileNames();
250 const char* GetDICOMFileName(
int index);
static vtkImageReader2 * New()
virtual const char * GetDescriptiveName()
Return a descriptive name for the file format that might be useful in a GUI.
virtual int CanReadFile(const char *vtkNotUsed(fname))
Return non zero if the reader can read the given file name.
a simple class to control print indentation
void SetFileName(const char *fn)
Set the filename for the file to read.
virtual void ExecuteInformation()
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
Superclass of binary file readers.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
DICOMAppHelper * AppHelper
virtual void SetFileName(const char *)
Specify file name for the image file.
virtual void ExecuteDataWithInformation(vtkDataObject *data, vtkInformation *outInfo)
This is a convenience method that is implemented in many subclasses instead of RequestData.
general representation of visualization data
virtual const char * GetFileExtensions()
Get the file extensions for this format.
vtkDICOMImageReaderVector * DICOMFileNames