80#ifndef vtkDICOMImageReader_h
81#define vtkDICOMImageReader_h
83#include "vtkIOImageModule.h"
86VTK_ABI_NAMESPACE_BEGIN
87class vtkDICOMImageReaderVector;
114 delete[] this->DirectoryName;
116 this->DirectoryName =
nullptr;
117 this->FileName =
nullptr;
175 int GetBitsAllocated();
182 int GetPixelRepresentation();
188 int GetNumberOfComponents();
193 const
char* GetTransferSyntaxUID();
198 float GetRescaleSlope();
203 float GetRescaleOffset();
208 const
char* GetPatientName();
213 const
char* GetStudyUID();
218 const
char* GetStudyID();
223 float GetGantryAngle();
233 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
double * GetPixelSpacing()
Returns the pixel spacing (in X, Y, Z).
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
VTK_FILEPATH const char * GetDICOMFileName(int index)
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(...)