33 #ifndef vtkDICOMImageReader_h
34 #define vtkDICOMImageReader_h
36 #include "vtkIOImageModule.h"
42 VTK_ABI_NAMESPACE_BEGIN
43 class vtkDICOMImageReaderVector;
70 delete[] this->DirectoryName;
72 this->DirectoryName =
nullptr;
73 this->FileName =
nullptr;
126 float* GetImageOrientationPatient() VTK_SIZEHINT(6);
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();
187 int CanReadFile(
VTK_FILEPATH const
char* fname) override;
194 const
char* GetFileExtensions()
override {
return ".dcm"; }
205 void SetupOutputInformation(
int num_slices);
242 int GetNumberOfDICOMFileNames();
250 std::unique_ptr<std::streambuf> Streambuf;
253 VTK_ABI_NAMESPACE_END
const char * GetDescriptiveName() override
Return a descriptive name for the file format that might be useful in a GUI.
Abstract class used for custom streams.
void SetFileName(const char *fn) override
Set the filename for the file to read.
static vtkImageReader2 * New()
vtkGetFilePathMacro(FileName)
Specify file name for the image file.
void ExecuteDataWithInformation(vtkDataObject *data, vtkInformation *outInfo) override
This is a convenience method that is implemented in many subclasses instead of RequestData.
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