------------------------------------------------------------------------------
| 568 | } |
| 569 | //------------------------------------------------------------------------------ |
| 570 | void vtkAMRVolumeMapper::ProcessInformationRequest(vtkRenderer* ren, vtkInformation* info, |
| 571 | vtkInformationVector** inputVector, vtkInformationVector* outputVector) |
| 572 | { |
| 573 | vtkInformation* input = inputVector[0]->GetInformationObject(0); |
| 574 | if (!(input && input->Has(vtkCompositeDataPipeline::COMPOSITE_DATA_META_DATA()))) |
| 575 | { |
| 576 | this->HasMetaData = false; |
| 577 | this->Resampler->SetDemandDrivenMode(0); |
| 578 | return; |
| 579 | } |
| 580 | |
| 581 | if (!this->HasMetaData) |
| 582 | { |
| 583 | this->HasMetaData = true; |
| 584 | this->Resampler->SetDemandDrivenMode(1); |
| 585 | } |
| 586 | vtkOverlappingAMR* amrMetaData = vtkOverlappingAMR::SafeDownCast( |
| 587 | input->Get(vtkCompositeDataPipeline::COMPOSITE_DATA_META_DATA())); |
| 588 | |
| 589 | this->UpdateResampler(ren, amrMetaData); |
| 590 | this->Resampler->RequestInformation(info, inputVector, outputVector); |
| 591 | } |
| 592 | //------------------------------------------------------------------------------ |
| 593 | |
| 594 | // Print the vtkAMRVolumeMapper |
nothing calls this directly
no test coverage detected