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

Method CheckDisplayId

Rendering/UI/vtkXRenderWindowInteractor.cxx:436–453  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

434
435//------------------------------------------------------------------------------
436bool vtkXRenderWindowInteractor::CheckDisplayId(Display* dpy)
437{
438 bool good = false;
439 for (auto rwi : vtkXRenderWindowInteractorInternals::Instances)
440 {
441 if (rwi->DisplayId == dpy)
442 {
443 if (rwi->RenderWindow->GetGenericDisplayId() != nullptr)
444 {
445 good = true;
446 continue;
447 }
448 vtkDebugMacro(<< "RenderWindow->DisplayId is null for " << rwi->GetObjectDescription());
449 }
450 }
451
452 return good;
453}
454
455//------------------------------------------------------------------------------
456void vtkXRenderWindowInteractor::Finalize()

Callers 1

ProcessEventsMethod · 0.95

Calls 2

GetGenericDisplayIdMethod · 0.45
GetObjectDescriptionMethod · 0.45

Tested by

no test coverage detected