MCPcopy Create free account
hub / github.com/Kitware/VTK / GetPixelSpacing

Function GetPixelSpacing

IO/Image/vtkMetaImageReader.h:76–76  ·  view source on GitHub ↗

These duplicate functions in vtkImageReader2, vtkMedicalImageReader.

Source from the content-addressed store, hash-verified

74
75 // These duplicate functions in vtkImageReader2, vtkMedicalImageReader.
76 double* GetPixelSpacing() { return this->GetDataSpacing(); }
77 int GetWidth() { return (this->GetDataExtent()[1] - this->GetDataExtent()[0] + 1); }
78 int GetHeight() { return (this->GetDataExtent()[3] - this->GetDataExtent()[2] + 1); }
79 double* GetImagePositionPatient() { return this->GetDataOrigin(); }

Callers

nothing calls this directly

Calls 1

GetDataSpacingMethod · 0.45

Tested by

no test coverage detected