| 629 | } |
| 630 | |
| 631 | double* vtkImageExport::GetDataDirection() |
| 632 | { |
| 633 | static double defaultdirection[9] = { 1, 0, 0, 0, 1, 0, 0, 0, 1 }; |
| 634 | if (this->GetInputAlgorithm() == nullptr) |
| 635 | { |
| 636 | return defaultdirection; |
| 637 | } |
| 638 | this->GetInputAlgorithm()->UpdateInformation(); |
| 639 | return this->GetInputInformation()->Get(vtkDataObject::DIRECTION()); |
| 640 | } |
| 641 | |
| 642 | void vtkImageExport::GetDataDirection(double* ptr) |
| 643 | { |
no test coverage detected