| 607 | } |
| 608 | |
| 609 | double* 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 | |
| 620 | void vtkImageExport::GetDataOrigin(double* ptr) |
| 621 | { |