66 #ifndef vtkMetaImageReader_h 67 #define vtkMetaImageReader_h 69 #include "vtkIOImageModule.h" 78 void PrintSelf(ostream& os,
vtkIndent indent);
86 {
return ".mhd .mha"; }
89 {
return "MetaIO Library: MetaImage"; }
93 {
return this->GetDataSpacing(); }
95 {
return (this->GetDataExtent()[1] - this->GetDataExtent()[0] + 1); }
97 {
return (this->GetDataExtent()[3] - this->GetDataExtent()[2] + 1); }
99 {
return this->GetDataOrigin(); }
101 {
return this->GetNumberOfScalarComponents(); }
103 {
return this->GetDataScalarType(); }
104 int GetDataByteOrder(
void);
106 vtkGetMacro(RescaleSlope,
double);
107 vtkGetMacro(RescaleOffset,
double);
108 vtkGetMacro(BitsAllocated,
int);
111 vtkGetMacro(GantryAngle,
double);
126 virtual int CanReadFile(
const char*
name);
182 void ExecuteInformation();
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];
a simple class to control print indentation
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
Superclass of binary file readers.
general representation of visualization data