]> Creatis software - creaMiniTools.git/commitdiff
#2849 CreaMiniTools Bug New Normal - bbtk Resampling application - Interpolation
authorEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Mon, 22 Feb 2016 21:15:22 +0000 (22:15 +0100)
committerEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Mon, 22 Feb 2016 21:15:22 +0000 (22:15 +0100)
bbtk_package_creaMiniTools/bbs/appli/resampling.bbg
bbtk_package_creaMiniTools/bbs/appli/resampling.bbs
bbtk_package_creaMiniTools/bbs/boxes/LayerCol-VolRend-SurRend_Widget.bbg
bbtk_package_creaMiniTools/bbs/boxes/LayerCol-VolRend-SurRend_Widget.bbs

index 423f3d9e95584bf05844aed940395fe4768e9bae..fac49f264f323a2115de63374430fb1c17aa631a 100644 (file)
@@ -1,31 +1,6 @@
-# ---------------------------------------------------------------------
-#
-# Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image
-#                        pour la Sant�)
-# Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton
-# Previous Authors : Laurent Guigues, Jean-Pierre Roux
-# CreaTools website : www.creatis.insa-lyon.fr/site/fr/creatools_accueil
-#
-#  This software is governed by the CeCILL-B license under French law and
-#  abiding by the rules of distribution of free software. You can  use,
-#  modify and/ or redistribute the software under the terms of the CeCILL-B
-#  license as circulated by CEA, CNRS and INRIA at the following URL
-#  http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
-#  or in the file LICENSE.txt.
-#
-#  As a counterpart to the access to the source code and  rights to copy,
-#  modify and redistribute granted by the license, users are provided only
-#  with a limited warranty  and the software's author,  the holder of the
-#  economic rights,  and the successive licensors  have only  limited
-#  liability.
-#
-#  The fact that you are presently reading this means that you have had
-#  knowledge of the CeCILL-B license and that you accept its terms.
-# ------------------------------------------------------------------------ */
-
 # ----------------------------------
-# - BBTKGEditor v 1.2 BBG BlackBox Diagram file
-# - /Users/davila/Creatis/All3/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/resampling.bbg
+# - BBTKGEditor v 1.4 BBG BlackBox Diagram file
+# - /tmpEED/creaTools/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/resampling.bbg
 # ----------------------------------
 
 APP_START
@@ -33,64 +8,65 @@ CATEGORY:<VOID>
 DESCRIPTION:Description ??
 AUTHOR:Author ??
 COMPLEXBOX:FALSE
+COMPLEXINPUTS:0
 BOXES:16
 BOX
 itk:ResampleImageFilter:Box02
 ISEXEC:FALSE
-48.438667:51.964140:900.000000
-119.613667:41.964140:900.000000
+-16.298612:91.657070:-900.000000
+54.876388:81.657070:-900.000000
 PORT
 Spacing:"0.097 0.097 0.097"
 FIN_BOX
 BOX
 creaMaracasVisu:ViewerNV:Box03
 ISEXEC:FALSE
--69.805975:24.839189:900.000000
--9.165975:14.839189:900.000000
+-73.113719:66.422259:-900.000000
+-12.473719:56.422259:-900.000000
 FIN_BOX
 BOX
 wx:CommandButton:Box04
 ISEXEC:FALSE
--19.614074:7.990323:900.000000
-25.960926:-2.009677:900.000000
+-26.229562:44.848044:-900.000000
+19.345438:34.848044:-900.000000
 PORT
 Label:"Write mhd image"
 FIN_BOX
 BOX
 wx:LayoutSplit:Box05
 ISEXEC:FALSE
--63.331210:-39.465737:900.000000
--17.756210:-49.465737:900.000000
+-58.605861:14.875775:-900.000000
+-13.030861:4.875775:-900.000000
 PORT
 Proportion:15
 FIN_BOX
 BOX
 itk:ImageWriter:Box06
 ISEXEC:FALSE
-42.476861:-23.785185:900.000000
-88.051861:-33.785185:900.000000
+26.410675:20.633094:-900.000000
+71.985675:10.633094:-900.000000
 FIN_BOX
 BOX
 wx:FileSelector:Box07
 ISEXEC:FALSE
-72.959203:13.706809:900.000000
-118.534203:3.706809:900.000000
+37.991621:56.707484:-900.000000
+83.566621:46.707484:-900.000000
 PORT
 OpenSave:Save
 FIN_BOX
 BOX
 wx:CommandButton:Box09
 ISEXEC:FALSE
--103.791389:83.534483:900.000000
--58.216389:73.534483:900.000000
+-103.791389:83.534483:-900.000000
+-58.216389:73.534483:-900.000000
 PORT
 Label:"Run resampling"
 FIN_BOX
 BOX
 wx:LayoutSplit:Box11
 ISEXEC:TRUE
--165.679740:-74.423234:900.000000
--120.104740:-84.423234:900.000000
+-97.634717:-22.916931:-900.000000
+-52.059717:-32.916931:-900.000000
 PORT
 Orientation:H
 PORT
@@ -99,16 +75,16 @@ FIN_BOX
 BOX
 wx:LayoutLine:Box13
 ISEXEC:FALSE
--164.570438:62.008343:900.000000
--107.010438:52.008343:900.000000
+-164.570438:62.008343:-900.000000
+-107.010438:52.008343:-900.000000
 PORT
 Orientation:V
 FIN_BOX
 BOX
 wx:InputText:Box14
 ISEXEC:FALSE
--70.348365:149.097106:900.000000
--24.773365:139.097106:900.000000
+-101.535667:111.294315:-900.000000
+-55.960667:101.294315:-900.000000
 PORT
 In:"1 1 1"
 PORT
@@ -117,8 +93,8 @@ FIN_BOX
 BOX
 wx:RadioButton:Box19
 ISEXEC:FALSE
--114.361299:243.247209:900.000000
--50.641299:233.247209:900.000000
+-149.801415:171.421906:-900.000000
+-86.081415:161.421906:-900.000000
 PORT
 In:0
 PORT
@@ -133,44 +109,44 @@ FIN_BOX
 BOX
 std:StringSelect:Box20
 ISEXEC:FALSE
-64.619298:114.784723:900.000000
-110.194298:104.784723:900.000000
+12.167926:121.400211:-900.000000
+57.742926:111.400211:-900.000000
 PORT
-In1:Linear
+In0:"Linear"
 PORT
-In2:BSpline
+In1:"BSpline"
 PORT
-In3:NearestNeighbor
+In2:"NearestNeighbor"
 FIN_BOX
 BOX
 creaImageIO:ImagesChooserDialogBox:Box21
 ISEXEC:FALSE
-25.955722:285.650877:900.000000
-97.130722:275.650877:900.000000
+-40.671697:189.253760:-900.000000
+30.503303:179.253760:-900.000000
 FIN_BOX
 BOX
 wx:LayoutSplit:Box22
 ISEXEC:FALSE
--260.705949:51.294814:900.000000
--215.130949:41.294814:900.000000
+-212.034856:49.877209:-900.000000
+-166.459856:39.877209:-900.000000
 PORT
 Proportion:20
 FIN_BOX
 BOX
 creaMaracasVisu:ViewerNV:Box23
 ISEXEC:FALSE
--286.118674:86.561451:900.000000
--225.478674:76.561451:900.000000
+-233.667302:86.088916:-900.000000
+-173.027302:76.088916:-900.000000
 PORT
 nTypeView:"0"
 FIN_BOX
 BOX
 toolsbbtk:ImageVtkPropertiesWidget:Box24
 ISEXEC:FALSE
--45.162884:210.937234:900.000000
-26.012116:200.937234:900.000000
+-130.219163:139.584466:-900.000000
+-59.044163:129.584466:-900.000000
 FIN_BOX
-CONNECTIONS:21
+CONNECTIONS:22
 CONNECTION
 Box02:Out:Box03:In
 NumberOfControlPoints:0
@@ -234,4 +210,7 @@ NumberOfControlPoints:0
 CONNECTION
 Box09:Widget:Box13:Widget5
 NumberOfControlPoints:0
+CONNECTION
+Box21:FileName:Box24:FileName
+NumberOfControlPoints:0
 APP_END
index 2c94edf74cdb8dde3452c62ddabdf256ce70878b..c54cec68179f205362174c51b0a8a7de9663cda7 100644 (file)
@@ -1,31 +1,6 @@
-# ---------------------------------------------------------------------
-#
-# Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image
-#                        pour la Sant�)
-# Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton
-# Previous Authors : Laurent Guigues, Jean-Pierre Roux
-# CreaTools website : www.creatis.insa-lyon.fr/site/fr/creatools_accueil
-#
-#  This software is governed by the CeCILL-B license under French law and
-#  abiding by the rules of distribution of free software. You can  use,
-#  modify and/ or redistribute the software under the terms of the CeCILL-B
-#  license as circulated by CEA, CNRS and INRIA at the following URL
-#  http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
-#  or in the file LICENSE.txt.
-#
-#  As a counterpart to the access to the source code and  rights to copy,
-#  modify and redistribute granted by the license, users are provided only
-#  with a limited warranty  and the software's author,  the holder of the
-#  economic rights,  and the successive licensors  have only  limited
-#  liability.
-#
-#  The fact that you are presently reading this means that you have had
-#  knowledge of the CeCILL-B license and that you accept its terms.
-# ------------------------------------------------------------------------ */
-
 # ----------------------------------
-# - BBTKGEditor v 1.2 BBS BlackBox Script
-# - /Users/davila/Creatis/All3/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/resampling.bbs
+# - BBTKGEditor v 1.4 BBS BlackBox Script
+# - /tmpEED/creaTools/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/resampling.bbs
 # ----------------------------------
 
 # BBTK GEditor Script
@@ -44,79 +19,104 @@ author "Author ??"
 description "Description ??"
 category "<VOID>"
 
-new ResampleImageFilter Box02
+new itk:ResampleImageFilter Box02
   set Box02.Spacing "0.097 0.097 0.097"
 
-new ViewerNV Box03
+new creaMaracasVisu:ViewerNV Box03
 
-new CommandButton Box04
+new wx:CommandButton Box04
   set Box04.Label "Write mhd image"
 
-new LayoutSplit Box05
+new wx:LayoutSplit Box05
   set Box05.Proportion 15
 
-new ImageWriter Box06
+new itk:ImageWriter Box06
 
-new FileSelector Box07
+new wx:FileSelector Box07
   set Box07.OpenSave Save
 
-new CommandButton Box09
+new wx:CommandButton Box09
   set Box09.Label "Run resampling"
 
-new LayoutSplit Box11
+new wx:LayoutSplit Box11
   set Box11.Orientation H
   set Box11.Proportion 75
 
-new LayoutLine Box13
+new wx:LayoutLine Box13
   set Box13.Orientation V
 
-new InputText Box14
+new wx:InputText Box14
   set Box14.In "1 1 1"
   set Box14.Title "NewSpacing"
 
-new RadioButton Box19
+new wx:RadioButton Box19
   set Box19.In 0
   set Box19.In0 Linear
   set Box19.In1 BSpline
   set Box19.In2 NearestNeighbor
   set Box19.Title Interpolation
 
-new StringSelect Box20
-  set Box20.In1 Linear
-  set Box20.In2 BSpline
-  set Box20.In3 NearestNeighbor
+new std:StringSelect Box20
+  set Box20.In0 "Linear"
+  set Box20.In1 "BSpline"
+  set Box20.In2 "NearestNeighbor"
 
-new ImagesChooserDialogBox Box21
+new creaImageIO:ImagesChooserDialogBox Box21
 
-new LayoutSplit Box22
+new wx:LayoutSplit Box22
   set Box22.Proportion 20
 
-new ViewerNV Box23
+new creaMaracasVisu:ViewerNV Box23
   set Box23.nTypeView "0"
 
-new ImageVtkPropertiesWidget Box24
+new toolsbbtk:ImageVtkPropertiesWidget Box24
 
 
 connect Box02.Out Box03.In
+
 connect Box03.Widget Box05.Widget2
+
 connect Box04.Widget Box05.Widget1
+
 connect Box07.Out Box06.Filename
+
 connect Box02.Out Box06.In
+
 connect Box04.BoxChange Box06.BoxExecute
+
 connect Box14.Widget Box13.Widget1
+
 connect Box13.Widget Box11.Widget2
+
 connect Box19.Out Box20.In
+
 connect Box19.Widget Box13.Widget4
+
 connect Box20.Out Box02.Interpolation
+
 connect Box09.BoxChange Box05.BoxExecute
+
 connect Box21.Out Box02.In
+
 connect Box23.Widget Box22.Widget2
+
 connect Box21.Out Box23.In
+
 connect Box22.Widget Box11.Widget1
+
 connect Box21.Out Box24.in
+
 connect Box24.widget Box22.Widget1
+
 connect Box14.Out Box02.Spacing
+
 connect Box24.Spacing Box14.In
+
 connect Box09.Widget Box13.Widget5
 
+connect Box21.FileName Box24.FileName
+
+
+
+# Complex input ports
 exec Box11
index a7d0ed3db7f55cb4b2148d33a47ec97ef96e8962..bf6b8244a2b4e692ca35a7026303c1e8e20892e9 100644 (file)
@@ -13,7 +13,7 @@ PACKAGENAME:creaMiniTools
 COMPLEXOUTPUTS:1
 COMPLEX_PORT
 widgetLayer
--313.229625:-230.113493:-900.000000
+-331.526176:-242.692372:-900.000000
 FIN_COMPLEX_PORT
 COMPLEXINPUTS:5
 COMPLEX_PORT
@@ -22,42 +22,42 @@ Rederer3D
 FIN_COMPLEX_PORT
 COMPLEX_PORT
 vtkbaseview1
--271.624173:221.923054:-900.000000
+-372.826969:221.923054:-900.000000
 FIN_COMPLEX_PORT
 COMPLEX_PORT
 vtkbaseview2
--252.097938:222.704103:-900.000000
+-358.446639:223.275870:-900.000000
 FIN_COMPLEX_PORT
 COMPLEX_PORT
 vtkbaseview3
--239.210623:223.094628:-900.000000
+-345.559324:221.379326:-900.000000
 FIN_COMPLEX_PORT
 COMPLEX_PORT
 title
--338.837206:210.874114:-900.000000
+-307.390009:219.450622:-900.000000
 FIN_COMPLEX_PORT
-BOXES:31
+BOXES:32
 BOX
 wx:LayoutLine:Box06
 ISEXEC:FALSE
--207.166610:-70.862648:-900.000000
--131.335903:-80.862648:-900.000000
+-281.340411:-127.155729:-900.000000
+-223.780411:-137.155729:-900.000000
 PORT
 WinTitle:"Superpose"
 FIN_BOX
 BOX
 wx:CommandButton:Box23
 ISEXEC:FALSE
--234.708588:143.467277:-900.000000
--159.443001:133.467277:-900.000000
+-267.299319:205.841882:-900.000000
+-221.724319:195.841882:-900.000000
 PORT
 Label:"Load Image"
 FIN_BOX
 BOX
 creaImageIO:ImagesChooserDialogBox:Box24
 ISEXEC:FALSE
--176.824215:116.324644:-900.000000
--105.649215:106.324644:-900.000000
+-138.879664:184.832752:-900.000000
+-67.704664:174.832752:-900.000000
 PORT
 BoxProcessMode:"Manual"
 PORT
@@ -66,8 +66,10 @@ FIN_BOX
 BOX
 creaMaracasVisu:ColorLayerImageView:Box26
 ISEXEC:FALSE
--311.253398:38.046824:-900.000000
--240.078398:28.046824:-900.000000
+-409.901923:103.853332:-900.000000
+-338.726923:93.853332:-900.000000
+PORT
+FittingMode:"-1"
 PORT
 PlainOrGradientColor:"false"
 PORT
@@ -78,20 +80,20 @@ FIN_BOX
 BOX
 vtk:VolumeRenderer:Box32
 ISEXEC:FALSE
--170.106244:24.536556:-900.000000
--124.531244:14.536556:-900.000000
+-244.799833:46.159752:-900.000000
+-199.224833:36.159752:-900.000000
 FIN_BOX
 BOX
 creaMaracasVisu:TransferFunctionView:Box33
 ISEXEC:FALSE
--181.055066:49.510704:-900.000000
--109.880066:39.510704:-900.000000
+-274.616973:75.760017:-900.000000
+-203.441973:65.760017:-900.000000
 FIN_BOX
 BOX
 creaVtk:Actor:Box34
 ISEXEC:FALSE
--179.871785:5.859561:-900.000000
--147.096785:-4.140439:-900.000000
+-275.772740:14.851900:-900.000000
+-242.997740:4.851900:-900.000000
 FIN_BOX
 BOX
 vtk:UpdateRender:Box35
@@ -104,76 +106,78 @@ FIN_BOX
 BOX
 wxvtk:IsoSurfaceWidget:Box36
 ISEXEC:FALSE
--101.102074:49.226822:-900.000000
--55.527074:39.226822:-900.000000
+-116.137275:77.578915:-900.000000
+-70.562275:67.578915:-900.000000
+PORT
+Colour:"1 1 0"
 FIN_BOX
 BOX
 vtk:vtkImageDataPointerRelay:Box38
 ISEXEC:FALSE
--147.205983:98.428002:-900.000000
--76.030983:88.428002:-900.000000
+-122.827908:163.505506:-900.000000
+-51.652908:153.505506:-900.000000
 FIN_BOX
 BOX
 wx:LayoutTab:Box27
 ISEXEC:FALSE
--264.000472:-35.486992:-900.000000
--206.440472:-45.486992:-900.000000
+-408.503358:68.807042:-900.000000
+-350.943358:58.807042:-900.000000
 FIN_BOX
 BOX
 wx:LayoutLine:Box28
 ISEXEC:FALSE
--256.686286:-4.045608:-900.000000
--143.217673:-14.045608:-900.000000
+-408.905434:87.878961:-900.000000
+-351.345434:77.878961:-900.000000
 PORT
 WinTitle:"Layer"
 FIN_BOX
 BOX
 wx:LayoutTab:Box29
 ISEXEC:FALSE
--199.875442:-34.157429:-900.000000
--129.396022:-44.157429:-900.000000
+-248.735549:-48.711503:-900.000000
+-191.175549:-58.711503:-900.000000
 FIN_BOX
 BOX
 wx:LayoutLine:Box30
 ISEXEC:FALSE
--203.620049:-15.546881:-900.000000
--130.365962:-25.546881:-900.000000
+-244.163542:-28.541590:-900.000000
+-186.603542:-38.541590:-900.000000
 PORT
 WinTitle:"Volume Rendering"
 FIN_BOX
 BOX
 wx:LayoutTab:Box31
 ISEXEC:FALSE
--139.410446:-39.552703:-900.000000
--93.835446:-49.552703:-900.000000
+-97.827376:-10.964342:-900.000000
+-40.267376:-20.964342:-900.000000
 FIN_BOX
 BOX
 wx:LayoutLine:Box37
 ISEXEC:FALSE
--107.658393:23.348305:-900.000000
--62.083393:13.348305:-900.000000
+-121.404862:47.404626:-900.000000
+-63.844862:37.404626:-900.000000
 PORT
 WinTitle:"Surface Rendering-1"
 FIN_BOX
 BOX
 creaMaracasVisu:ViewerNV:Box39
 ISEXEC:FALSE
--165.424007:-86.134334:-900.000000
--118.071528:-96.134334:-900.000000
+-194.584135:-122.727436:-900.000000
+-133.944135:-132.727436:-900.000000
 PORT
 WinTitle:"ups"
 FIN_BOX
 BOX
 wx:LayoutTab:Box40
 ISEXEC:FALSE
--233.444207:-158.311180:-900.000000
--137.640516:-168.311180:-900.000000
+-245.919128:-189.914313:-900.000000
+-188.359128:-199.914313:-900.000000
 FIN_BOX
 BOX
 wx:LayoutSplit:Box41
 ISEXEC:FALSE
--337.403182:-188.564708:-900.000000
--181.338967:-198.564708:-900.000000
+-336.519542:-218.920349:-900.000000
+-290.944542:-228.920349:-900.000000
 PORT
 Proportion:"10"
 PORT
@@ -182,92 +186,98 @@ FIN_BOX
 BOX
 wx:LayoutLine:Box43
 ISEXEC:FALSE
--178.165599:-107.081551:-900.000000
--124.303834:-117.081551:-900.000000
+-225.050510:-146.533489:-900.000000
+-167.490510:-156.533489:-900.000000
 PORT
 WinTitle:"Viewer"
 FIN_BOX
 BOX
 toolsbbtk:ImageVtkPropertiesWidget:Box44
 ISEXEC:FALSE
--99.752145:-110.938620:-900.000000
--28.577145:-120.938620:-900.000000
+-114.046325:-116.656292:-900.000000
+-42.871325:-126.656292:-900.000000
 FIN_BOX
 BOX
 creaMaracasVisu:ImageChangeInformation:Box45
 ISEXEC:FALSE
--145.839664:-68.442286:-900.000000
--74.664664:-78.442286:-900.000000
+-168.710352:-80.449397:-900.000000
+-97.535352:-90.449397:-900.000000
 FIN_BOX
 BOX
 wxvtk:IsoSurfaceWidget:Box47
 ISEXEC:FALSE
--37.295136:40.022196:-900.000000
-8.279864:30.022196:-900.000000
+-55.620898:77.017382:-900.000000
+-10.045898:67.017382:-900.000000
 PORT
 Colour:"1 0 0"
 FIN_BOX
 BOX
 wx:LayoutLine:Box48
 ISEXEC:FALSE
--41.417736:21.039216:-900.000000
-4.157264:11.039216:-900.000000
+-50.254138:48.588000:-900.000000
+7.305862:38.588000:-900.000000
 PORT
 WinTitle:"Surface Rendering-2"
 FIN_BOX
 BOX
 wxvtk:IsoSurfaceWidget:Box49
 ISEXEC:FALSE
--0.664725:-1.226392:-900.000000
-44.910275:-11.226392:-900.000000
+13.369561:73.623134:-900.000000
+58.944561:63.623134:-900.000000
 PORT
 Colour:"0 0 1"
 FIN_BOX
 BOX
 wx:LayoutLine:Box50
 ISEXEC:FALSE
--4.787325:-20.209373:-900.000000
-40.787675:-30.209373:-900.000000
+15.484422:48.922481:-900.000000
+73.044422:38.922481:-900.000000
 PORT
 WinTitle:"Surface Rendering-3"
 FIN_BOX
 BOX
 std:MultipleInputs:Box52
 ISEXEC:FALSE
--71.866642:-94.114800:-900.000000
--26.291642:-104.114800:-900.000000
+-97.024399:-98.117170:-900.000000
+-51.449399:-108.117170:-900.000000
 FIN_BOX
 BOX
 wx:LayoutSplit:Box53
 ISEXEC:FALSE
--87.189904:-126.111161:-900.000000
--41.614904:-136.111161:-900.000000
+-108.345291:-140.977108:-900.000000
+-62.770291:-150.977108:-900.000000
 PORT
 Proportion:"90"
 FIN_BOX
 BOX
 wx:CommandButton:Box54
 ISEXEC:FALSE
--52.105509:-65.600650:-900.000000
--6.530509:-75.600650:-900.000000
+-46.959604:-72.461857:-900.000000
+-1.384604:-82.461857:-900.000000
 PORT
 Label:"Refresh"
 FIN_BOX
 BOX
 wx:LayoutLine:Box55
 ISEXEC:FALSE
--131.157104:-144.203373:-900.000000
--85.582104:-154.203373:-900.000000
+-201.484471:-169.361130:-900.000000
+-143.924471:-179.361130:-900.000000
 PORT
 WinTitle:"Image Properties"
 FIN_BOX
 BOX
 std:MagicBox:Box56
 ISEXEC:FALSE
--74.140762:188.218014:-900.000000
--28.565762:178.218014:-900.000000
+-11.246369:183.643876:-900.000000
+34.328631:173.643876:-900.000000
+FIN_BOX
+BOX
+creaMaracasVisu:ImageChangeInformation:Box57
+ISEXEC:FALSE
+-338.101389:125.339496:-900.000000
+-266.926389:115.339496:-900.000000
 FIN_BOX
-CONNECTIONS:60
+CONNECTIONS:61
 CONNECTION
 Box23:BoxChange:Box24:BoxExecute
 NumberOfControlPoints:0
@@ -290,9 +300,6 @@ CONNECTION
 Box24:Out:Box38:In
 NumberOfControlPoints:0
 CONNECTION
-Box38:Out:Box26:In
-NumberOfControlPoints:0
-CONNECTION
 Box38:Out:Box33:In
 NumberOfControlPoints:0
 CONNECTION
@@ -448,4 +455,10 @@ NumberOfControlPoints:0
 CONNECTION
 title:title:Box41:WinTitle
 NumberOfControlPoints:0
+CONNECTION
+Box38:Out:Box57:In
+NumberOfControlPoints:0
+CONNECTION
+Box57:Out:Box26:In
+NumberOfControlPoints:0
 APP_END
index cab5e178861e7e230b78d1ae290008b16d6ab85f..8ae885f519edefdf93aed1a7b2272c30bc38bda7 100644 (file)
@@ -32,6 +32,7 @@ new creaImageIO:ImagesChooserDialogBox Box24
   set Box24.Title "Superpose Image"
 
 new creaMaracasVisu:ColorLayerImageView Box26
+  set Box26.FittingMode "-1"
   set Box26.PlainOrGradientColor "false"
   set Box26.TypeControlsInterface "2"
   set Box26.lstTransparenceBoundaries "0"
@@ -46,6 +47,7 @@ new vtk:UpdateRender Box35
   set Box35.Active "true"
 
 new wxvtk:IsoSurfaceWidget Box36
+  set Box36.Colour "1 1 0"
 
 new vtk:vtkImageDataPointerRelay Box38
 
@@ -105,6 +107,8 @@ new wx:LayoutLine Box55
 
 new std:MagicBox Box56
 
+new creaMaracasVisu:ImageChangeInformation Box57
+
 
 connect Box23.BoxChange Box24.BoxExecute
 connect Box23.BoxChange Box26.BoxExecute
@@ -113,7 +117,6 @@ connect Box33.ColorFunction Box32.ColorFunction1
 connect Box33.OpacityFunction Box32.OpacityFunction
 connect Box32.Out Box34.In
 connect Box24.Out Box38.In
-connect Box38.Out Box26.In
 connect Box38.Out Box33.In
 connect Box38.Out Box32.In
 connect Box38.Out Box36.In
@@ -160,6 +163,8 @@ connect Box56.Out Box36.vtkRenderer
 connect Box56.Out Box35.Renderer
 connect Box56.Out Box47.vtkRenderer
 connect Box56.Out Box49.vtkRenderer
+connect Box38.Out Box57.In
+connect Box57.Out Box26.In
 
 # Complex input ports
 input Rederer3D Box56.In " "