MCPcopy Create free account
hub / github.com/Kitware/VTK / UpdatePickRender

Method UpdatePickRender

Views/Infovis/vtkRenderView.cxx:365–380  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

363}
364
365void 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
382void vtkRenderView::GenerateSelection(void* callData, vtkSelection* sel)
383{

Callers 2

GenerateSelectionMethod · 0.95
UpdateHoverTextMethod · 0.95

Calls 2

GetSizeMethod · 0.45
CaptureBuffersMethod · 0.45

Tested by

no test coverage detected