------------------------------------------------------------------------------
| 434 | |
| 435 | //------------------------------------------------------------------------------ |
| 436 | bool 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 | //------------------------------------------------------------------------------ |
| 456 | void vtkXRenderWindowInteractor::Finalize() |
no test coverage detected