ifcviewer: move section_planes_ + xray_alpha_cap_ + updateFrameUniforms into ViewportCore (#84-m)

Per-frame uniform packing now lives in ViewportCore::updateFrameUniforms,
which reads the camera (via the already-migrated buildViewProj), the
section_planes_ vector, and the xray_alpha_cap_ scalar — all of which
have moved into ViewportCore alongside frame_uniform_buffer_.
ViewportWindow keeps reference-aliases on section_planes_ and
xray_alpha_cap_ so the section-tool and X-ray toggle (still Qt-input-
bound, still living in VW) keep compiling unchanged. The render-path
caller in VW::render now does core_.updateFrameUniforms().

Extracted SectionPlane into its own Qt-free header (SectionPlane.h)
so ViewportCore doesn't have to include OverlayRenderer.h's QString /
QHash. OverlayRenderer.h re-exports it.
This commit is contained in:
Dion Moult
2026-06-05 20:56:24 +10:00
parent 2b43e6f7e0
commit ea24851a51
7 changed files with 121 additions and 62 deletions
+1
View File
@@ -157,6 +157,7 @@ set(IFCVIEWER_CORE_HEADERS
LodBuilder.h
Stopwatch.h
ModelGpuData.h
SectionPlane.h
SelectionState.h
SidecarCache.h
StreamingLoader.h