92 #ifndef vtkDICOMImageReader_h
93 #define vtkDICOMImageReader_h
95 #include "vtkIOImageModule.h"
98 class vtkDICOMImageReaderVector;
100 class DICOMAppHelper;
125 delete[] this->DirectoryName;
127 this->DirectoryName =
nullptr;
128 this->FileName =
nullptr;
186 int GetBitsAllocated();
193 int GetPixelRepresentation();
199 int GetNumberOfComponents();
204 const
char* GetTransferSyntaxUID();
209 float GetRescaleSlope();
214 float GetRescaleOffset();
219 const
char* GetPatientName();
224 const
char* GetStudyUID();
229 const
char* GetStudyID();
234 float GetGantryAngle();
244 const
char* GetFileExtensions()
override {
return ".dcm"; }
void ExecuteInformation() override
double * GetPixelSpacing()
Returns the pixel spacing (in X, Y, Z).
VTK_FILEPATH const char * GetDICOMFileName(int index)
void SetupOutputInformation(int num_slices)
vtkDICOMImageReaderVector * DICOMFileNames
DICOMAppHelper * AppHelper
static vtkDICOMImageReader * New()
Static method for construction.
void SetDirectoryName(VTK_FILEPATH const char *dn)
Set the directory name for the reader to look in for DICOM files.
void SetFileName(VTK_FILEPATH const char *fn) override
Set the filename for the file to read.
int GetNumberOfDICOMFileNames()
void ExecuteDataWithInformation(vtkDataObject *out, vtkInformation *outInfo) override
This is a convenience method that is implemented in many subclasses instead of RequestData.
void PrintSelf(ostream &os, vtkIndent indent) override
Prints the ivars.
~vtkDICOMImageReader() override
const char * GetDescriptiveName() override
Return a descriptive name for the file format that might be useful in a GUI.
vtkGetFilePathMacro(DirectoryName)
Returns the directory name.
general representation of visualization data
Superclass of binary file readers.
virtual void SetFileName(VTK_FILEPATH const char *)
Specify file name for the image file.
a simple class to control print indentation
#define VTK_SIZEHINT(...)