| 393 | } |
| 394 | |
| 395 | double* vtkImageExport::DirectionCallback() |
| 396 | { |
| 397 | static double defaultdirection[3] = { 0.0 }; |
| 398 | if (this->GetInputAlgorithm()) |
| 399 | { |
| 400 | return this->GetDataDirection(); |
| 401 | } |
| 402 | else if (!this->GetInput()) |
| 403 | { |
| 404 | return defaultdirection; |
| 405 | } |
| 406 | else |
| 407 | { |
| 408 | return this->GetInput()->GetDirectionMatrix()->GetData(); |
| 409 | } |
| 410 | } |
| 411 | |
| 412 | const char* vtkImageExport::ScalarTypeCallback() |
| 413 | { |
no test coverage detected