| 563 | } |
| 564 | |
| 565 | int* vtkImageExport::GetDataExtent() |
| 566 | { |
| 567 | static int defaultextent[6] = { 0, 0, 0, 0, 0, 0 }; |
| 568 | if (this->GetInputAlgorithm() == nullptr) |
| 569 | { |
| 570 | return defaultextent; |
| 571 | } |
| 572 | this->GetInputAlgorithm()->UpdateInformation(); |
| 573 | return this->GetInputInformation()->Get(vtkStreamingDemandDrivenPipeline::WHOLE_EXTENT()); |
| 574 | } |
| 575 | |
| 576 | void vtkImageExport::GetDataExtent(int* ptr) |
| 577 | { |