------------------------------------------------------------------------------
| 58 | |
| 59 | //------------------------------------------------------------------------------ |
| 60 | void vtkWindowNode::Synchronize(bool prepass) |
| 61 | { |
| 62 | if (prepass) |
| 63 | { |
| 64 | vtkRenderWindow* mine = vtkRenderWindow::SafeDownCast(this->GetRenderable()); |
| 65 | if (!mine) |
| 66 | { |
| 67 | return; |
| 68 | } |
| 69 | /* |
| 70 | GetAAFrames() vtkRenderWindow virtual |
| 71 | GetActualSize() vtkWindow |
| 72 | GetAlphaBitPlanes() vtkRenderWindow virtual |
| 73 | GetDoubleBuffer() vtkWindow virtual |
| 74 | GetDPI() vtkWindow virtual |
| 75 | GetFDFrames() vtkRenderWindow virtual |
| 76 | GetFullScreen() vtkRenderWindow virtual |
| 77 | GetLineSmoothing() vtkRenderWindow virtual |
| 78 | GetMapped() vtkWindow virtual |
| 79 | GetMTime() vtkObject virtual |
| 80 | GetMultiSamples() vtkRenderWindow virtual |
| 81 | GetNeverRendered() vtkRenderWindow virtual |
| 82 | GetNumberOfLayers() vtkRenderWindow virtual |
| 83 | GetOffScreenRendering() vtkWindow virtual |
| 84 | GetPointSmoothing() vtkRenderWindow virtual |
| 85 | GetPolygonSmoothing() vtkRenderWindow virtual |
| 86 | GetPosition() vtkWindow virtual |
| 87 | GetScreenSize()=0 vtkWindow pure virtual |
| 88 | */ |
| 89 | const int* sz = mine->GetSize(); |
| 90 | this->Size[0] = sz[0]; |
| 91 | this->Size[1] = sz[1]; |
| 92 | /* |
| 93 | GetStereoType() vtkRenderWindow virtual |
| 94 | GetSubFrames() vtkRenderWindow virtual |
| 95 | GetSwapBuffers() vtkRenderWindow virtual |
| 96 | GetTileScale() vtkWindow virtual |
| 97 | GetTileViewport() vtkWindow virtual |
| 98 | GetUseConstantFDOffsets() vtkRenderWindow virtual |
| 99 | */ |
| 100 | |
| 101 | auto const& renderers = this->GetChildren(); |
| 102 | for (auto ren : renderers) |
| 103 | { |
| 104 | vtkRendererNode* child = vtkRendererNode::SafeDownCast(ren); |
| 105 | child->SetSize(this->Size); |
| 106 | } |
| 107 | } |
| 108 | } |
| 109 | VTK_ABI_NAMESPACE_END |
no test coverage detected