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()
106
106
return this . overlayType ;
107
107
}
108
108
109
+ public void SetOverlayType ( OverlayType overlayType )
110
+ {
111
+ this . overlayType = overlayType ;
112
+ this . UpdateMaterialProperties ( ) ;
113
+ }
114
+
109
115
public TransferFunction GetSecondaryTransferFunction ( )
110
116
{
111
117
return this . secondaryTransferFunction ;
@@ -150,6 +156,12 @@ public List<SegmentationLabel> GetSegmentationLabels()
150
156
return segmentationLabels ;
151
157
}
152
158
159
+ public void SetSegmentationLabels ( List < SegmentationLabel > labels )
160
+ {
161
+ this . segmentationLabels = labels ;
162
+ UpdateSegmentationLabels ( ) ;
163
+ }
164
+
153
165
public void AddSegmentation ( VolumeDataset dataset , List < SegmentationLabel > labels )
154
166
{
155
167
if ( secondaryDataset != null && dataset . data . Length != secondaryDataset . data . Length )
You can’t perform that action at this time.
0 commit comments