 |
VTK
9.0.1
|
Go to the documentation of this file.
37 #ifndef vtkDICOMImageReader_h
38 #define vtkDICOMImageReader_h
40 #include "vtkIOImageModule.h"
43 class vtkDICOMImageReaderVector;
70 delete[] this->DirectoryName;
72 this->DirectoryName =
nullptr;
73 this->FileName =
nullptr;
93 vtkGetStringMacro(DirectoryName);
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();
184 int CanReadFile(const
char* fname) override;
189 const
char* GetFileExtensions()
override {
return ".dcm"; }
double * GetPixelSpacing()
Returns the pixel spacing (in X, Y, Z).
void ExecuteDataWithInformation(vtkDataObject *out, vtkInformation *outInfo) override
This is a convenience method that is implemented in many subclasses instead of RequestData.
~vtkDICOMImageReader() override
int GetNumberOfDICOMFileNames()
const char * GetDICOMFileName(int index)
const char * GetDescriptiveName() override
Return a descriptive name for the file format that might be useful in a GUI.
static vtkDICOMImageReader * New()
Static method for construction.
#define VTK_SIZEHINT(...)
void SetFileName(const char *fn) override
Set the filename for the file to read.
a simple class to control print indentation
Superclass of binary file readers.
void ExecuteInformation() override
vtkDICOMImageReaderVector * DICOMFileNames
virtual void SetFileName(const char *)
Specify file name for the image file.
void SetDirectoryName(const char *dn)
Set the directory name for the reader to look in for DICOM files.
void PrintSelf(ostream &os, vtkIndent indent) override
Prints the ivars.
DICOMAppHelper * AppHelper
general representation of visualization data
void SetupOutputInformation(int num_slices)