| 376 | } |
| 377 | |
| 378 | double* vtkImageExport::OriginCallback() |
| 379 | { |
| 380 | static double defaultorigin[3] = { 0.0 }; |
| 381 | if (this->GetInputAlgorithm()) |
| 382 | { |
| 383 | return this->GetDataOrigin(); |
| 384 | } |
| 385 | else if (!this->GetInput()) |
| 386 | { |
| 387 | return defaultorigin; |
| 388 | } |
| 389 | else |
| 390 | { |
| 391 | return this->GetInput()->GetOrigin(); |
| 392 | } |
| 393 | } |
| 394 | |
| 395 | double* vtkImageExport::DirectionCallback() |
| 396 | { |
no test coverage detected