Go to the documentation of this file.
66 #ifndef vtkMetaImageReader_h
67 #define vtkMetaImageReader_h
69 #include "vtkIOImageModule.h"
86 {
return ".mhd .mha"; }
89 {
return "MetaIO Library: MetaImage"; }
106 vtkGetMacro(RescaleSlope,
double);
107 vtkGetMacro(RescaleOffset,
double);
108 vtkGetMacro(BitsAllocated,
int);
109 vtkGetStringMacro(DistanceUnits);
110 vtkGetStringMacro(AnatomicalOrientation);
111 vtkGetMacro(GantryAngle,
double);
112 vtkGetStringMacro(PatientName);
113 vtkGetStringMacro(PatientID);
114 vtkGetStringMacro(Date);
115 vtkGetStringMacro(Series);
116 vtkGetStringMacro(ImageNumber);
117 vtkGetStringMacro(Modality);
118 vtkGetStringMacro(StudyID);
119 vtkGetStringMacro(StudyUID);
120 vtkGetStringMacro(TransferSyntaxUID);
192 vtkmetaio::MetaImage *MetaImagePtr;
195 char PatientName[255];
200 char ImageNumber[255];
204 char TransferSyntaxUID[255];
207 double RescaleOffset;
209 char DistanceUnits[255];
210 char AnatomicalOrientation[255];
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void ExecuteDataWithInformation(vtkDataObject *data, vtkInformation *outInfo) override
This is a convenience method that is implemented in many subclasses instead of RequestData.
virtual int GetDataScalarType()
Get the file format.
int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Subclasses can reimplement this method to collect information from their inputs and set information f...
virtual int GetNumberOfScalarComponents()
static vtkImageReader2 * New()
a simple class to control print indentation
Superclass of binary file readers.
virtual double * GetDataOrigin()
virtual int * GetDataExtent()
virtual void ExecuteInformation()
virtual int GetDataByteOrder()
virtual int CanReadFile(const char *vtkNotUsed(fname))
Return non zero if the reader can read the given file name.
general representation of visualization data
virtual double * GetDataSpacing()