31 #ifndef vtkDICOMImageReader_h
32 #define vtkDICOMImageReader_h
34 #include "vtkIOImageModule.h"
37 VTK_ABI_NAMESPACE_BEGIN
38 class vtkDICOMImageReaderVector;
65 delete[] this->DirectoryName;
67 this->DirectoryName =
nullptr;
68 this->FileName =
nullptr;
121 float* GetImageOrientationPatient() VTK_SIZEHINT(6);
126 int GetBitsAllocated();
133 int GetPixelRepresentation();
139 int GetNumberOfComponents();
144 const
char* GetTransferSyntaxUID();
149 float GetRescaleSlope();
154 float GetRescaleOffset();
159 const
char* GetPatientName();
164 const
char* GetStudyUID();
169 const
char* GetStudyID();
174 float GetGantryAngle();
179 int CanReadFile(
VTK_FILEPATH const
char* fname) override;
184 const
char* GetFileExtensions()
override {
return ".dcm"; }
195 void SetupOutputInformation(
int num_slices);
232 int GetNumberOfDICOMFileNames();
240 VTK_ABI_NAMESPACE_END
const char * GetDescriptiveName() override
Return a descriptive name for the file format that might be useful in a GUI.
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()
void SetFileName(VTK_FILEPATH const char *fn) override
Set the filename for the file to read.
#define VTK_SIZEHINT(...)
Superclass of binary file readers.
virtual void SetFileName(VTK_FILEPATH const char *)
Specify file name for the image file.
DICOMAppHelper * AppHelper
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