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

Method GetDataOrigin

IO/Image/vtkImageExport.cxx:609–618  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

607}
608
609double* vtkImageExport::GetDataOrigin()
610{
611 static double defaultorigin[3] = { 0, 0, 0 };
612 if (this->GetInputAlgorithm() == nullptr)
613 {
614 return defaultorigin;
615 }
616 this->GetInputAlgorithm()->UpdateInformation();
617 return this->GetInputInformation()->Get(vtkDataObject::ORIGIN());
618}
619
620void vtkImageExport::GetDataOrigin(double* ptr)
621{

Callers 3

OriginCallbackMethod · 0.95
GetImagePositionPatientFunction · 0.45
TestSEPReaderFunction · 0.45

Calls 4

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

Tested by 1

TestSEPReaderFunction · 0.36