37 #ifndef vtkDICOMImageReader_h 38 #define vtkDICOMImageReader_h 40 #include "vtkIOImageModule.h" 43 class vtkDICOMImageReaderVector;
70 delete [] this->DirectoryName;
72 this->DirectoryName = NULL;
73 this->FileName = NULL;
87 void SetDirectoryName(
const char* dn);
102 double* GetPixelSpacing();
119 float* GetImagePositionPatient();
126 float* GetImageOrientationPatient();
131 int GetBitsAllocated();
138 int GetPixelRepresentation();
144 int GetNumberOfComponents();
149 const char* GetTransferSyntaxUID();
154 float GetRescaleSlope();
159 float GetRescaleOffset();
164 const char* GetPatientName();
169 const char* GetStudyUID();
174 const char* GetStudyID();
179 float GetGantryAngle();
206 void SetupOutputInformation(
int num_slices);
243 int GetNumberOfDICOMFileNames();
244 const char* GetDICOMFileName(
int index);
const char * GetDescriptiveName() override
Return a descriptive name for the file format that might be useful in a GUI.
void SetFileName(const char *fn) override
Set the filename for the file to read.
static vtkImageReader2 * New()
void ExecuteDataWithInformation(vtkDataObject *data, vtkInformation *outInfo) override
This is a convenience method that is implemented in many subclasses instead of RequestData.
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
virtual void ExecuteInformation()
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
Superclass of binary file readers.
DICOMAppHelper * AppHelper
virtual void SetFileName(const char *)
Specify file name for the image file.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
general representation of visualization data
vtkDICOMImageReaderVector * DICOMFileNames
const char * GetFileExtensions() override
Get the file extensions for this format.