Skip to content

Commit 1466793

Browse files
DJCatBlitzJanPlath
andauthored
MLAB-6526: adapt mlab files to deprecated fields (#150)
* MLAB-6526: adapt mlab files to deprecated fields * MLAB-6526: updated other mlab files not used in tests but containing deprecated fields --------- Co-authored-by: Jan Plath <jan.plath@mevis.de>
1 parent 5bfabff commit 1466793

15 files changed

Lines changed: 680 additions & 584 deletions

File tree

mevislab.github.io/content/examples/data_objects/contours/example1/ContourExample1.mlab

Lines changed: 83 additions & 74 deletions
Large diffs are not rendered by default.

mevislab.github.io/content/examples/data_objects/contours/example2/ContourExample2.mlab

Lines changed: 32 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
// MDL v1 utf8
2-
mevislabVersion = 3.5.0.675
3-
network {
2+
mevislabVersion = 4.2.70.9999
3+
network {
44
watchlist = ""
55
}
66
module View2D {
7-
internal {
7+
internal {
88
frame = "429 -51 120 56"
99
moduleGroupName = ""
10-
windows {
10+
windows {
1111
window _default {
1212
geometry = "117 258 495 458"
1313
sizeHint = "400 400"
@@ -20,12 +20,12 @@ module View2D {
2020
}
2121
}
2222
}
23-
fields {
23+
fields {
2424
instanceName = View2D
2525
inventorInputOn = TRUE
2626
inventorOutputOn = FALSE
2727
view2DExtensionsOn = TRUE
28-
startSlice = 37
28+
startSlice = 39
2929
numSlices = 1
3030
numXSlices = 1
3131
sliceStep = 1
@@ -62,19 +62,20 @@ module View2D {
6262
borderOn = FALSE
6363
borderColor = "0.899999976158142 0.899999976158142 0.899999976158142"
6464
valueHighPrecision = TRUE
65-
showColorChannelValues = FALSE
66-
colorChannelSeparator = " / "
6765
maxPrecision = 4
6866
enableSlicing = TRUE
69-
useRelativeLUTIfNoInputImage = TRUE
67+
showColorChannelValues = FALSE
68+
colorChannelSeparator = " / "
69+
scaleLUTForNewImage = TRUE
70+
computeLUTOnImageChange = FALSE
7071
}
7172
}
7273
module CSOManager {
73-
internal {
74+
internal {
7475
frame = "625 293 112 56"
7576
moduleGroupName = ""
7677
showNetworkPanel = true
77-
windows {
78+
windows {
7879
window _default {
7980
geometry = "623 215 692 561"
8081
sizeHint = "692 561"
@@ -87,7 +88,7 @@ module CSOManager {
8788
}
8889
}
8990
}
90-
fields {
91+
fields {
9192
instanceName = CSOManager
9293
workDirectlyOnInputCSOList = FALSE
9394
updateCsoDisplayTree = TRUE
@@ -154,8 +155,6 @@ module CSOManager {
154155
listSingleRemoveEmptyGroupHandling = RemoveAlways
155156
listDefaultRemoveEmptyGroupHandling = RemoveAlways
156157
enableUndoRedo = TRUE
157-
numUndos = 12
158-
numRedos = 0
159158
undoStackLimit = 16
160159
useSelectionCSONotification = FALSE
161160
useSelectionGroupNotification = FALSE
@@ -195,10 +194,10 @@ module CSOManager {
195194
}
196195
}
197196
module SoView2DCSOExtensibleEditor {
198-
internal {
197+
internal {
199198
frame = "673 197 208 56"
200199
moduleGroupName = ""
201-
windows {
200+
windows {
202201
window _default {
203202
geometry = "437 379 392 365"
204203
sizeHint = "392 365"
@@ -211,12 +210,11 @@ module SoView2DCSOExtensibleEditor {
211210
}
212211
}
213212
}
214-
fields {
213+
fields {
215214
instanceName = SoView2DCSOExtensibleEditor
216215
interactionProviderID = ""
217216
drawingOn = TRUE
218217
editingOn = TRUE
219-
fixZOn = TRUE
220218
color = "1 1 1"
221219
selectionTolerance = 16
222220
needsValidVoxel = FALSE
@@ -245,22 +243,24 @@ module SoView2DCSOExtensibleEditor {
245243
allowSelectionWithDefaultRenderer = TRUE
246244
renderCSOsOnImagesDependingOnCreationMode = ON_ALL_IMAGES
247245
updateCSOIdUnderMouseCursor = FALSE
246+
updateGhostedCSOIdUnderMouseCursor = FALSE
247+
accumulateTransformations = FALSE
248248
updateImageStatisticsOnFinishInteraction = FALSE
249249
}
250250
}
251251
module SoCSOVisualizationSettings {
252-
internal {
252+
internal {
253253
frame = "761 421 192 56"
254254
moduleGroupName = ""
255-
windows {
255+
windows {
256256
window _default {
257257
geometry = "772 144 372 745"
258258
sizeHint = "372 745"
259259
wasOpen = no
260260
}
261261
}
262262
}
263-
fields {
263+
fields {
264264
instanceName = SoCSOVisualizationSettings
265265
autoApply = TRUE
266266
shouldUseAntiAliasing = TRUE
@@ -271,6 +271,8 @@ module SoCSOVisualizationSettings {
271271
orientationFilterMode = ORIENTATION_MODE_ALL
272272
parallelThicknessMode = PARALLEL_THICKNESS_MODE_RELATIVE_TO_SLICE
273273
showParallelThickness = 0.2
274+
showOnViewerWithIdMode = SHOW_ON_ALL_VIEWERS
275+
viewerId = viewer1
274276
ghostingDepthInVoxel = 0
275277
voxelSlabAugment = 0
276278
shouldRenderShadow = FALSE
@@ -378,30 +380,30 @@ module SoCSOVisualizationSettings {
378380
}
379381
}
380382
module LocalImage {
381-
internal {
383+
internal {
382384
frame = "373 437 168 72"
383385
moduleGroupName = ""
384386
showNetworkPanel = true
385-
windows {
387+
windows {
386388
window _default {
387389
geometry = "716 558 488 144"
388390
sizeHint = "488 144"
389391
wasOpen = no
390392
}
391393
}
392394
}
393-
fields {
395+
fields {
394396
instanceName = LocalImage
395397
name = $(DemoDataPath)/Thorax1_CT.small.tif
396398
autoLoad = TRUE
397399
}
398400
}
399401
module SoCSOLiveWireEditor {
400-
internal {
402+
internal {
401403
frame = "773 293 152 56"
402404
moduleGroupName = ""
403405
}
404-
fields {
406+
fields {
405407
instanceName = SoCSOLiveWireEditor
406408
extensionId = liveWire
407409
allowCreation = TRUE
@@ -447,18 +449,18 @@ module SoCSOLiveWireEditor {
447449
}
448450
}
449451
module CSOSliceInterpolator {
450-
internal {
452+
internal {
451453
frame = "497 197 144 56"
452454
moduleGroupName = ""
453-
windows {
455+
windows {
454456
window _default {
455457
geometry = "525 245 353 474"
456458
sizeHint = "353 474"
457459
wasOpen = no
458460
}
459461
}
460462
}
461-
fields {
463+
fields {
462464
instanceName = CSOSliceInterpolator
463465
updateMode = Off
464466
autoApply = FALSE
@@ -493,7 +495,7 @@ module CSOSliceInterpolator {
493495
removeOriginalCSOs = FALSE
494496
}
495497
}
496-
connections {
498+
connections {
497499
View2D.inImage = LocalImage.outImage
498500
View2D.inInvPreLUT = SoView2DCSOExtensibleEditor.self
499501
SoView2DCSOExtensibleEditor.inCSOList = CSOManager.outCSOList

0 commit comments

Comments
 (0)