------------------------------------------------------------------------------
| 1392 | |
| 1393 | //------------------------------------------------------------------------------ |
| 1394 | void vtkParallelRenderManager::MagnifyReducedImage() |
| 1395 | { |
| 1396 | if ((this->FullImageUpToDate)) |
| 1397 | { |
| 1398 | return; |
| 1399 | } |
| 1400 | |
| 1401 | this->ReadReducedImage(); |
| 1402 | |
| 1403 | if (this->FullImage->GetPointer(0) != this->ReducedImage->GetPointer(0)) |
| 1404 | { |
| 1405 | this->Timer->StartTimer(); |
| 1406 | this->MagnifyImage( |
| 1407 | this->FullImage, this->FullImageSize, this->ReducedImage, this->ReducedImageSize); |
| 1408 | this->Timer->StopTimer(); |
| 1409 | // We log the image inflation under render time because it is inversely |
| 1410 | // proportional to the image size. This makes the auto image reduction |
| 1411 | // calculation work better. |
| 1412 | this->RenderTime += this->Timer->GetElapsedTime(); |
| 1413 | } |
| 1414 | |
| 1415 | this->FullImageUpToDate = 1; |
| 1416 | } |
| 1417 | |
| 1418 | //------------------------------------------------------------------------------ |
| 1419 | void vtkParallelRenderManager::WriteFullImage() |
no test coverage detected