]> Creatis software - creaRigidRegistration.git/blobdiff - PackRecalage/bbs/appli/ExampleRecalage3D1Point.bbs
2075 Feature Registration 3D 1P
[creaRigidRegistration.git] / PackRecalage / bbs / appli / ExampleRecalage3D1Point.bbs
index 4d791c53db7c98625a388e2348b47e525818a594..dd84c5793640090cb966dcc07a543e4a52abd5a3 100644 (file)
@@ -21,26 +21,29 @@ category "example"
 new LayoutSplit imagesLayout
   set imagesLayout.Orientation "H"
   set imagesLayout.Proportion "50"
-  set imagesLayout.WinTitle "Input Images"
+  set imagesLayout.WinTitle "1. Input Images"
 
 new LayoutSplit resultLayout
   set resultLayout.Proportion "80"
-  set resultLayout.WinTitle "Registration"
+  set resultLayout.WinTitle "2. Registration"
 
 new vtkImageDataPointerRelay Box22
 
 new vtkImageDataPointerRelay Box23
 
 new ImagesChooserDialogBox Box24
+  set Box24.Title "Fix Image"
 
 new ImagesChooserDialogBox Box25
+  set Box25.Title "Move Image"
 
 new Recalage3D1PointWidget Box52
 
 new CompareImagesWidget3D Box20
+  set Box20.WinTitle "1. Compare 3D"
 
 new CompareImages_3DwithPlanes_Widget Box11
-  set Box11.WinTitle "3D Planes"
+  set Box11.WinTitle "2. Planes 3D"
 
 new LayoutSplit Box12
   set Box12.Orientation "H"
@@ -57,10 +60,10 @@ new LayoutTab Box15
 new LoadHola Box27
 
 new Getting3D1Point Box28
-  set Box28.Title "Move Image"
+  set Box28.Title "2. Move Image"
 
 new Getting3D1Point Box29
-  set Box29.Title "Fix Image"
+  set Box29.Title "1. Fix Image"
 
 new MultipleInputs Box26
 
@@ -101,18 +104,10 @@ connect Box20.Point Box11.Point
 
 connect Box20.BoxChange Box11.BoxExecute
 
-connect Box27.Out Box22.In
-
-connect Box27.Out Box23.In
-
 connect Box29.Widget imagesLayout.Widget1
 
 connect Box28.Widget imagesLayout.Widget2
 
-connect Box27.Out Box29.Image
-
-connect Box27.Out Box28.Image
-
 connect Box29.BoxChange Box26.In1
 
 connect Box28.BoxChange Box26.In2
@@ -123,6 +118,16 @@ connect Box29.Point Box52.CenterPoint
 
 connect Box28.Point Box52.OriginPoint
 
+connect Box29.Point Box20.CenterPoint
+
+connect Box24.Out Box29.Image
+
+connect Box24.Out Box22.In
+
+connect Box25.Out Box28.Image
+
+connect Box25.Out Box23.In
+
 
 
 # Complex input ports