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

Function GetWidth

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

Source from the content-addressed store, hash-verified

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(); }
80 int GetNumberOfComponents() { return this->GetNumberOfScalarComponents(); }

Callers

nothing calls this directly

Calls 1

GetDataExtentMethod · 0.45

Tested by

no test coverage detected