| 363 | } |
| 364 | |
| 365 | void vtkRenderView::UpdatePickRender() |
| 366 | { |
| 367 | if (this->PickRenderNeedsUpdate) |
| 368 | { |
| 369 | this->InPickRender = true; |
| 370 | unsigned int area[4] = { 0, 0, 0, 0 }; |
| 371 | area[2] = static_cast<unsigned int>(this->Renderer->GetSize()[0] - 1); |
| 372 | area[3] = static_cast<unsigned int>(this->Renderer->GetSize()[1] - 1); |
| 373 | this->Selector->SetArea(area); |
| 374 | this->LabelRenderer->DrawOff(); |
| 375 | this->Selector->CaptureBuffers(); |
| 376 | this->LabelRenderer->DrawOn(); |
| 377 | this->InPickRender = false; |
| 378 | this->PickRenderNeedsUpdate = false; |
| 379 | } |
| 380 | } |
| 381 | |
| 382 | void vtkRenderView::GenerateSelection(void* callData, vtkSelection* sel) |
| 383 | { |
no test coverage detected