Commit f572acc3 authored by Emilie Harquel's avatar Emilie Harquel
Browse files

Updated Tuto09MesherWithGenericScene to connect "show/hide scan", "snapshot"

and "number of slice".

--HG--
branch : fw4spl_0.11.0
parent 67a1df56
......@@ -230,6 +230,42 @@
<proxy channel="modelSeriesNormalChannel">
<slot>modelSeriesAdaptorUid/updateNormalMode</slot>
</proxy>
<!--
Connection for snapshot:
connect the editor signal "snapped" to the adaptor slot "snap"
-->
<connect>
<signal>snapshotScene1Editor/snapped</signal>
<slot>snapshotUID/snap</slot>
</connect>
<!--
Connection for 3D image slice:
Connect the button (showScanEditor) signal "toggled" to the image adaptor (MPRNegatoScene3D)
slot "showSlice", this signals/slots contains a boolean.
The image slices will be show or hide when the button is checked/unchecked.
The "waitForKey" attribut means that the signal and slot are connected only if the key
"image" is present in the scene composite. It is recommanded to used because the adaptors
exists only if the object is present.
-->
<connect>
<signal>showScanEditor/toggled</signal>
<slot>MPRNegatoScene3D/showSlice</slot>
</connect>
<!--
Connection for 3D image slice:
Connect the menu button (sliceListEditor) signal "selected" to the image adaptor
(MPRNegatoScene3D) slot "updateSliceMode", this signals/slots contains an integer.
This integer defines the number of slice to show (0, 1 or 3).
-->
<connect>
<signal>sliceListEditor/selected</signal>
<slot>MPRNegatoScene3D/updateSliceMode</slot>
</connect>
</scene>
</service>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment