------------------------------------------------------------------------------
| 455 | |
| 456 | //------------------------------------------------------------------------------ |
| 457 | vtkTypeBool vtkMNITransformWriter::ProcessRequest( |
| 458 | vtkInformation* request, vtkInformationVector** inputVector, vtkInformationVector* outputVector) |
| 459 | { |
| 460 | if (request->Has(vtkDemandDrivenPipeline::REQUEST_DATA())) |
| 461 | { |
| 462 | if (this->Transform) |
| 463 | { |
| 464 | this->Transform->Update(); |
| 465 | } |
| 466 | int n = this->Transforms->GetNumberOfItems(); |
| 467 | for (int i = 0; i < n; i++) |
| 468 | { |
| 469 | ((vtkAbstractTransform*)this->Transforms->GetItemAsObject(i))->Update(); |
| 470 | } |
| 471 | return this->WriteFile(); |
| 472 | } |
| 473 | |
| 474 | return this->Superclass::ProcessRequest(request, inputVector, outputVector); |
| 475 | } |
| 476 | |
| 477 | //------------------------------------------------------------------------------ |
| 478 | void vtkMNITransformWriter::Write() |
nothing calls this directly
no test coverage detected