------------------------------------------------------------------------------
| 1417 | |
| 1418 | //------------------------------------------------------------------------------ |
| 1419 | void vtkParallelRenderManager::WriteFullImage() |
| 1420 | { |
| 1421 | if (this->RenderWindowImageUpToDate || !this->WriteBackImages) |
| 1422 | { |
| 1423 | return; |
| 1424 | } |
| 1425 | |
| 1426 | if (this->MagnifyImages && |
| 1427 | ((this->FullImageSize[0] != this->ReducedImageSize[0]) || |
| 1428 | (this->FullImageSize[1] != this->ReducedImageSize[1]))) |
| 1429 | { |
| 1430 | this->MagnifyReducedImage(); |
| 1431 | this->SetRenderWindowPixelData(this->FullImage, this->FullImageSize); |
| 1432 | } |
| 1433 | else |
| 1434 | { |
| 1435 | // Only write back image if it has already been read and potentially |
| 1436 | // changed. |
| 1437 | if (this->ReducedImageUpToDate) |
| 1438 | { |
| 1439 | this->SetRenderWindowPixelData(this->ReducedImage, this->ReducedImageSize); |
| 1440 | } |
| 1441 | } |
| 1442 | |
| 1443 | this->RenderWindowImageUpToDate = 1; |
| 1444 | } |
| 1445 | |
| 1446 | //------------------------------------------------------------------------------ |
| 1447 | void vtkParallelRenderManager::SetRenderWindowPixelData( |
no test coverage detected