]> Creatis software - bbtk.git/blobdiff - packages/toolsbbtk/bbs/boxes/Crop_Widget.bbs
#3120 BBTK Bug New Normal - merge branch changestoITK3and4 FROM master
[bbtk.git] / packages / toolsbbtk / bbs / boxes / Crop_Widget.bbs
diff --git a/packages/toolsbbtk/bbs/boxes/Crop_Widget.bbs b/packages/toolsbbtk/bbs/boxes/Crop_Widget.bbs
new file mode 100644 (file)
index 0000000..758fa0e
--- /dev/null
@@ -0,0 +1,87 @@
+# ----------------------------------
+# - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
+# - /home/davila/Creatis/creaTools/creatools_source/bbtk/packages/toolsbbtk/bbs/boxes/Crop_Widget.bbs
+# ----------------------------------
+
+include std
+include itkvtk
+include creaMaracasVisu
+include wx
+include vtk
+include toolsbbtk
+
+define Crop_Widget toolsbbtk
+
+author "Author ??"
+description "Description ??"
+
+category "<VOID>"
+
+new ViewerNV Box03
+  set Box03.nTypeView "-1"
+
+new ContourVOI Box05
+
+new LayoutSplit Box06
+  set Box06.Proportion "35"
+
+new LayoutLine Box07
+  set Box07.WinTitle "Crop"
+
+new CommandButton Box08
+  set Box08.Label "Run Crop"
+
+new ImageChangeInformation Box10
+
+new OutputText Box14
+  set Box14.Title "Index"
+
+new OutputText Box15
+  set Box15.Title "Size"
+
+new LayoutLine Box16
+  set Box16.WinTitle "Save"
+
+new ExtractVtkImageFilter Box25
+
+new SaveMHD_infoCrop-Button Box26
+
+new vtkImageDataPointerRelay Box19
+
+new LayoutTab Box20
+
+
+connect Box03.Widget Box06.Widget2
+connect Box05.Widget Box07.Widget1
+connect Box08.Widget Box07.Widget2
+connect Box08.BoxChange Box05.BoxExecute
+connect Box05.Index Box14.In
+connect Box05.Size Box15.In
+connect Box14.Widget Box16.Widget1
+connect Box15.Widget Box16.Widget2
+connect Box05.Index Box25.Index
+connect Box05.Size Box25.Size
+connect Box25.Out Box10.In
+connect Box08.BoxChange Box25.BoxExecute
+connect Box10.Out Box26.In
+connect Box05.Size Box26.Size
+connect Box05.Index Box26.Index
+connect Box26.Widget Box16.Widget3
+connect Box19.Out Box05.In
+connect Box19.Out Box25.In
+connect Box19.Out Box03.In
+connect Box03.wxVtkBaseView1 Box05.wxVtkBaseView
+connect Box16.Widget Box20.Widget2
+connect Box07.Widget Box20.Widget1
+connect Box20.Widget Box06.Widget1
+connect Box08.BoxChange Box16.BoxExecute
+
+# Complex input ports
+input Image Box19.In " "
+
+# Complex output ports
+output Widget_Out Box06.Widget " "
+output Image_Out Box10.Out " "
+
+
+endefine