]> Creatis software - creaRigidRegistration.git/blobdiff - PackRecalage/bbs/boxes/Getting3D1Point.bbs
2075 Feature Registration 3D 1P
[creaRigidRegistration.git] / PackRecalage / bbs / boxes / Getting3D1Point.bbs
diff --git a/PackRecalage/bbs/boxes/Getting3D1Point.bbs b/PackRecalage/bbs/boxes/Getting3D1Point.bbs
new file mode 100644 (file)
index 0000000..aeeca01
--- /dev/null
@@ -0,0 +1,99 @@
+# ----------------------------------
+# - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
+# - /home/davila/Creatis/All/creatools_source/creaRigidRegistration/PackRecalage/bbs/boxes/Getting3D1Point.bbs
+# ----------------------------------
+
+include std
+include itkvtk
+include creaMaracasVisu
+include vtk
+include wx
+include toolsbbtk
+include wxvtk
+include std
+
+define Getting3D1Point PackRecalage
+
+author "info-dev@creatis.insa-lyon.fr"
+description "Recalage3D 1-point"
+
+category "example"
+
+new ViewerNV viewer
+  set viewer.nTypeView "6 1 2 0"
+
+new vtkImageDataPointerRelay Box23
+
+new LayoutTab Box16
+
+new ImageVtkPropertiesWidget Box21
+
+new IsoSurfaceWidget Box05
+  set Box05.Title "Surface"
+  set Box05.Vertical "V"
+
+new ShowNPoints Box08
+  set Box08.Type "1"
+  set Box08.WinTitle "Point select"
+
+new LayoutTab Box10
+
+new LayoutSplit Box11
+
+new LayoutLine Box12
+  set Box12.Orientation "H"
+
+new LayoutTab Box13
+
+new LayoutTab Box14
+
+new LayoutLine Box17
+
+new LayoutLine Box18
+  set Box18.WinTitle "Point selected"
+
+new ConcatStrings Box19
+  set Box19.In2 " "
+  set Box19.In4 " "
+
+new OutputText Box20
+
+
+connect Box23.Out viewer.In
+connect Box23.Out Box21.in
+connect viewer.Renderer1 Box05.vtkRenderer
+connect Box23.Out Box05.In
+connect Box05.BoxChange viewer.BoxExecute
+connect viewer.BoxChange Box08.BoxExecute
+connect viewer.Point Box08.In
+connect viewer.Renderer1 Box08.Renderer
+connect Box23.Out Box08.Image
+connect Box05.Widget Box13.Widget1
+connect Box21.widget Box14.Widget1
+connect Box10.Widget Box12.Widget1
+connect Box13.Widget Box12.Widget2
+connect Box14.Widget Box12.Widget3
+connect viewer.Widget Box11.Widget2
+connect Box12.Widget Box11.Widget1
+connect Box11.Widget Box17.Widget1
+connect Box17.Widget Box16.Widget1
+connect Box08.Widget Box18.Widget1
+connect Box18.Widget Box10.Widget1
+connect Box08.lstPointsX Box19.In1
+connect Box08.lstPointsY Box19.In3
+connect Box08.lstPointsZ Box19.In5
+connect Box19.Out Box20.In
+connect Box20.Widget Box18.Widget2
+connect Box08.BoxChange Box20.BoxExecute
+
+# Complex input ports
+input Image Box23.In " "
+input Title Box17.WinTitle " "
+
+# Complex output ports
+output Widget Box16.Widget " "
+output Point Box19.Out " "
+output BoxChange Box08.BoxChange " "
+
+
+endefine