60 #ifndef vtkMetaImageReader_h 61 #define vtkMetaImageReader_h 63 #include "vtkIOImageModule.h" 80 {
return ".mhd .mha"; }
83 {
return "MetaIO Library: MetaImage"; }
100 vtkGetMacro(RescaleSlope,
double);
101 vtkGetMacro(RescaleOffset,
double);
102 vtkGetMacro(BitsAllocated,
int);
105 vtkGetMacro(GantryAngle,
double);
176 void ExecuteInformation() VTK_OVERRIDE;
189 char PatientName[255];
194 char ImageNumber[255];
198 char TransferSyntaxUID[255];
201 double RescaleOffset;
203 char DistanceUnits[255];
204 char AnatomicalOrientation[255];
virtual int * GetDataExtent()
Get/Set the extent of the data on disk.
static vtkImageReader2 * New()
virtual int GetNumberOfScalarComponents()
Set/Get the number of scalar components.
virtual int GetDataByteOrder()
These methods should be used instead of the SwapBytes methods.
virtual double * GetDataOrigin()
Set/Get the origin of the data (location of first pixel in the file).
virtual int CanReadFile(const char *vtkNotUsed(fname))
Return non zero if the reader can read the given file name.
virtual double * GetDataSpacing()
Set/Get the spacing of the data in the file.
a simple class to control print indentation
virtual int GetDataScalarType()
Get the file format.
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
Superclass of binary file readers.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
general representation of visualization data