File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Assets/Scripts/VolumeObject Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -106,6 +106,12 @@ public OverlayType GetOverlayType()
106106 return this . overlayType ;
107107 }
108108
109+ public void SetOverlayType ( OverlayType overlayType )
110+ {
111+ this . overlayType = overlayType ;
112+ this . UpdateMaterialProperties ( ) ;
113+ }
114+
109115 public TransferFunction GetSecondaryTransferFunction ( )
110116 {
111117 return this . secondaryTransferFunction ;
@@ -150,6 +156,12 @@ public List<SegmentationLabel> GetSegmentationLabels()
150156 return segmentationLabels ;
151157 }
152158
159+ public void SetSegmentationLabels ( List < SegmentationLabel > labels )
160+ {
161+ this . segmentationLabels = labels ;
162+ UpdateSegmentationLabels ( ) ;
163+ }
164+
153165 public void AddSegmentation ( VolumeDataset dataset , List < SegmentationLabel > labels )
154166 {
155167 if ( secondaryDataset != null && dataset . data . Length != secondaryDataset . data . Length )
You can’t perform that action at this time.
0 commit comments