| 320 | } |
| 321 | |
| 322 | int vtkImageExport::PipelineModifiedCallback() |
| 323 | { |
| 324 | if (!this->GetInput()) |
| 325 | { |
| 326 | return 0; |
| 327 | } |
| 328 | |
| 329 | vtkMTimeType mtime = 0; |
| 330 | if (this->GetInputAlgorithm()) |
| 331 | { |
| 332 | vtkExecutive* e = this->GetInputAlgorithm()->GetExecutive(); |
| 333 | if (e) |
| 334 | { |
| 335 | e->ComputePipelineMTime( |
| 336 | nullptr, e->GetInputInformation(), e->GetOutputInformation(), -1, &mtime); |
| 337 | } |
| 338 | } |
| 339 | |
| 340 | if (mtime > this->LastPipelineMTime) |
| 341 | { |
| 342 | this->LastPipelineMTime = mtime; |
| 343 | return 1; |
| 344 | } |
| 345 | return 0; |
| 346 | } |
| 347 | |
| 348 | int* vtkImageExport::WholeExtentCallback() |
| 349 | { |
no test coverage detected