]> Creatis software - bbtk.git/commitdiff
Comments
authorjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Wed, 3 Feb 2010 16:08:35 +0000 (16:08 +0000)
committerjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Wed, 3 Feb 2010 16:08:35 +0000 (16:08 +0000)
packages/wxvtk/bbs/old/bbBasicImageApplication.bbs

index 3780b202fb799ee98e413d511bcee1e5f5d8959e..bb6deb8739592103c70bd041ec276e9b06895ee1 100644 (file)
@@ -1,3 +1,8 @@
+//
+// --------------------------
+// TODO : Check if is works! (was in packages/wxvtk/bbs/old)
+//
+
 include wxvtk/boxes/bbDoubleSlicer
 load wx
 load std
 include wxvtk/boxes/bbDoubleSlicer
 load wx
 load std
@@ -42,9 +47,9 @@ define BasicImageApplication
   set buttonsBar.Orientation 0
 
 #OPEN
   set buttonsBar.Orientation 0
 
 #OPEN
-  set openButton.Label "Open"
+  set openButton.Label  "Open"
   set paramButton.Label "Parameters"
   set paramButton.Label "Parameters"
-  set saveButton.Label "Save"
+  set saveButton.Label  "Save"
   new FileSelector openFileDialog
   connect openButton.BoxChange openFileDialog.BoxExecute
   connect openButton.BoxChange viewer.RefreshSlicer1
   new FileSelector openFileDialog
   connect openButton.BoxChange openFileDialog.BoxExecute
   connect openButton.BoxChange viewer.RefreshSlicer1
@@ -52,7 +57,6 @@ define BasicImageApplication
   set openFileDialog.OpenSave "Open"
 #READER
   new MetaImageReader reader 
   set openFileDialog.OpenSave "Open"
 #READER
   new MetaImageReader reader 
-#  set reader.Filename  "/home/guigues/coding/Sofa/bbtk/data/thorax.hdr"
   connect openFileDialog.Out reader.In
 
   connect reader.Out viewer.In1
   connect openFileDialog.Out reader.In
 
   connect reader.Out viewer.In1
@@ -103,13 +107,13 @@ define BasicImageApplication
   connect imageOut.Out viewer.In2
   connect imageOut.Out writer.In
   
   connect imageOut.Out viewer.In2
   connect imageOut.Out writer.In
   
-  input AlgorithmOutput imageOut.In "Plug here the output of your algorithm"
-  output AlgorithmInput reader.Out "Plug this output to the input of your algorithm"
-  input ParametersWidget paramWindow.Widget1 "Connect here your parameter tuning widget"
+  input  AlgorithmOutput  imageOut.In         "Plug here the output of your algorithm"
+  output AlgorithmInput   reader.Out          "Plug this output to the input of your algorithm"
+  input  ParametersWidget paramWindow.Widget1 "Connect here your parameter tuning widget"
 
 
-  input ParametersWindowWidth paramWindow.WinWidth "The width of the parameters window"
+  input ParametersWindowWidth  paramWindow.WinWidth  "The width of the parameters window"
   input ParametersWindowHeight paramWindow.WinHeight "The height of the parameters window"
   input ParametersWindowHeight paramWindow.WinHeight "The height of the parameters window"
-  input WinTitle mainWindow.WinTitle "Title of the main window"
+  input WinTitle               mainWindow.WinTitle   "Title of the main window"
 
   input Refresh viewer.BoxProcessModeSlicer2 "Set to 'Reactive' to have automatic refresh when image or parameters change"
 
 
   input Refresh viewer.BoxProcessModeSlicer2 "Set to 'Reactive' to have automatic refresh when image or parameters change"