This was done by using an array of representation types instead of a single type for a panel.
The first element of the array is the primary type of the panel, and the rest are secondary types
that can also be displayed in the panel.
PR feedback:
- added test to check number of segments in side panel for 3D only view
- fixed jumping to segment in 3D only view
- fixed exception when adding contour segment in 3D only view
* fix(ViewportWindowLevel): add null checks for volumeActor in opacity functions
* refactor(ViewportWindowLevel): register histogram worker at module load and optimize scalar data retrieval
* fix(Preclinical4D): add null check for viewportId and set frame rate for cine playback
* fix(getSopClassHandlerModule): handle multiframe dynamic volumes by utilizing metaData for instance retrieval
---------
Co-authored-by: Bill Wallace <wayfarer3130@gmail.com>
* fix: prevent annotation from appearing in active viewport when switching series with different Frame of Reference UID
* refactor: extract viewport update strategies
* Update version and use nearest orientation viewport
---------
Co-authored-by: trenser-belbin <belbin.kunjumon@prenuvo.com>
Co-authored-by: Bill Wallace <wayfarer3130@gmail.com>
Requested issues were resolved. Approved this and am merging.
* sort the viewports based on the closest orientation as that of measurement
* fix: Separate out function for finding viewport alignment
---------
Co-authored-by: Arul Mozhi J <arul.mozhi@trenser.com>
Co-authored-by: Bill Wallace <wayfarer3130@gmail.com>
* fix(ViewportWindowLevel): add null checks for volumeActor in opacity functions
* refactor(ViewportWindowLevel): register histogram worker at module load and optimize scalar data retrieval
* fix(Preclinical4D): add null check for viewportId and set frame rate for cine playback
* fix: seg sync for data without FOR
* test commit to trigger deploy re-run
* test commit to trigger deploy re-run
* Revert "test commit to trigger deploy re-run"
This reverts commit 42c532c6f404798e39e3d137fff7c1e7569956ad.
* chore: comments updated
* review commnets
---------
Co-authored-by: Bill Wallace <wayfarer3130@gmail.com>