82#ifndef vtkDICOMImageReader_h
83#define vtkDICOMImageReader_h
85#include "vtkIOImageModule.h"
88VTK_ABI_NAMESPACE_BEGIN
89class vtkDICOMImageReaderVector;
116 delete[] this->DirectoryName;
118 this->DirectoryName =
nullptr;
119 this->FileName =
nullptr;
177 int GetBitsAllocated();
184 int GetPixelRepresentation();
190 int GetNumberOfComponents();
195 const
char* GetTransferSyntaxUID();
200 float GetRescaleSlope();
205 float GetRescaleOffset();
210 const
char* GetPatientName();
215 const
char* GetStudyUID();
220 const
char* GetStudyID();
225 float GetGantryAngle();
235 const
char* GetFileExtensions()
override {
return ".dcm"; }
const char * GetDescriptiveName() override
Return a descriptive name for the file format that might be useful in a GUI.
void ExecuteInformation() override
void SetupOutputInformation(int num_slices)
static vtkDICOMImageReader * New()
Static method for construction.
vtkDICOMImageReaderVector * DICOMFileNames
DICOMAppHelper * AppHelper
void SetDirectoryName(const char *dn)
Set the directory name for the reader to look in for DICOM files.
void SetFileName(const char *fn) override
Set the filename for the file to read.
double * GetPixelSpacing()
Returns the pixel spacing (in X, Y, Z).
const char * GetDICOMFileName(int index)
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
vtkGetFilePathMacro(DirectoryName)
Returns the directory name.
general representation of visualization data
Superclass of binary file readers.
virtual void SetFileName(const char *)
Specify file name for the image file.
a simple class to control print indentation
#define VTK_SIZEHINT(...)