Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • sight sight
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 121
    • Issues 121
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 13
    • Merge requests 13
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Sight
  • sightsight
  • Merge requests
  • !870

enh(ui): use Qt layout instead of multiple 3D viewports in SightViewer

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Lucas SCHMIDT requested to merge 982-enh-ui-use-qt-layout-instead-of-multiple-3d-viewports-in-sightviewer into dev Jan 23, 2023
  • Overview 1
  • Commits 2
  • Pipelines 3
  • Changes 7

Description

These changes replace the usage of multiple 3D viewports in SightViewer with Qt layouts and multiple 3D scenes. The single scene "genericSceneSrv" is replaced with 4 scenes "mainSceneSrv", "axialSceneSrv", "sagittalSceneSrv" and "frontalSceneSrv", organized in two LineLayoutManager to make a grid. All instances of SViewportUpdater have been removed, as the layouts will do the resizing.

While this new version works, some flickering may be seen when passing from the volume view (with only the main scene) to the negato view (with the four scenes) and vice versa.

Closes #982 (closed)

How to test it?

Launch SightViewer, load an image, and check if it works both in the volume view and in the negato view and that there are no regressions.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: 982-enh-ui-use-qt-layout-instead-of-multiple-3d-viewports-in-sightviewer