43 #ifndef vtkDICOMImageReader_h 44 #define vtkDICOMImageReader_h 46 #include "vtkIOImageModule.h" 49 class vtkDICOMImageReaderVector;
76 delete [] this->DirectoryName;
78 this->DirectoryName =
nullptr;
79 this->FileName =
nullptr;
93 void SetDirectoryName(
const char* dn);
99 vtkGetStringMacro(DirectoryName);
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);
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()
#define VTK_SIZEHINT(...)
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.