fix(segmentation): List surface representations in the segmentation table for 3D views. (#5700)
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
This commit is contained in:
1 parent
83c9ce0f5f
commit
82e6a18735
27 files changed
+356
-293
No files matched your search
+5
-4
@@ -65,11 +65,12 @@ export interface SegmentationTableContextType {
|
||||
showSegmentIndex?: boolean;
|
||||
renderInactiveSegmentations?: boolean;
|
||||
|
||||
// The type segmentations displayed/filtered in this table. If undefined, show all types.
|
||||
segmentationRepresentationType?: string;
|
||||
// The types of segmentations displayed/filtered in this table. If undefined, show all types.
|
||||
// The first element is the primary type. Additional elements are secondary types.
|
||||
segmentationRepresentationTypes?: string[];
|
||||
|
||||
// The (last) selected segmentation ID for the representation type above.
|
||||
// If the type above is undefined, then it will store the last active segmentation ID.
|
||||
// The (last) selected segmentation ID for the representation types above.
|
||||
// If the representation types above is undefined, then it will store the last active segmentation ID.
|
||||
selectedSegmentationIdForType?: string;
|
||||
|
||||
// Function handlers
|
||||
|
||||
Reference in new issue
Block a user