60 #ifndef vtkMetaImageReader_h 61 #define vtkMetaImageReader_h 63 #include "vtkIOImageModule.h" 72 void PrintSelf(ostream& os,
vtkIndent indent) VTK_OVERRIDE;
80 {
return ".mhd .mha"; }
83 {
return "MetaIO Library: MetaImage"; }
87 {
return this->GetDataSpacing(); }
89 {
return (this->GetDataExtent()[1] - this->GetDataExtent()[0] + 1); }
91 {
return (this->GetDataExtent()[3] - this->GetDataExtent()[2] + 1); }
93 {
return this->GetDataOrigin(); }
95 {
return this->GetNumberOfScalarComponents(); }
97 {
return this->GetDataScalarType(); }
98 int GetDataByteOrder(
void) VTK_OVERRIDE;
100 vtkGetMacro(RescaleSlope,
double);
101 vtkGetMacro(RescaleOffset,
double);
102 vtkGetMacro(BitsAllocated,
int);
105 vtkGetMacro(GantryAngle,
double);
120 int CanReadFile(
const char*
name) VTK_OVERRIDE;
176 void ExecuteInformation() VTK_OVERRIDE;
186 vtkmetaio::MetaImage *MetaImagePtr;
189 char PatientName[255];
194 char ImageNumber[255];
198 char TransferSyntaxUID[255];
201 double RescaleOffset;
203 char DistanceUnits[255];
204 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