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

Method GetDataSpacing

IO/Image/vtkImageExport.cxx:587–596  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

585}
586
587double* vtkImageExport::GetDataSpacing()
588{
589 static double defaultspacing[3] = { 1, 1, 1 };
590 if (this->GetInput() == nullptr)
591 {
592 return defaultspacing;
593 }
594 this->GetInputAlgorithm()->UpdateInformation();
595 return this->GetInputInformation()->Get(vtkDataObject::SPACING());
596}
597
598void vtkImageExport::GetDataSpacing(double* ptr)
599{

Callers 3

SpacingCallbackMethod · 0.95
GetPixelSpacingFunction · 0.45
TestSEPReaderFunction · 0.45

Calls 5

GetInputMethod · 0.95
GetInputAlgorithmMethod · 0.95
GetInputInformationMethod · 0.95
UpdateInformationMethod · 0.45
GetMethod · 0.45

Tested by 1

TestSEPReaderFunction · 0.36