# ---------------------------------- # - 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 include PackRecalage 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.Colour "1 1 0" set Box05.Title "2. Surface" set Box05.Vertical "V" new ShowNPoints Box08 set Box08.Colour "0.32 0.12 0.12" 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 "3. Point selected" new ConcatStrings Box19 set Box19.In2 " " set Box19.In4 " " new OutputText Box20 new ImageCenter Box22 new Filter3DPointVector Box24 new ConcatStrings Box26 new LayoutLine Box27 set Box27.WinTitle "1. Image Properties" new ConcatStrings Box28 set Box28.In1 "Selected Point: " 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 Box13.Widget Box12.Widget2 connect viewer.Widget Box11.Widget2 connect Box12.Widget Box11.Widget1 connect Box11.Widget Box17.Widget1 connect Box17.Widget Box16.Widget1 connect Box18.Widget Box10.Widget1 connect Box08.lstPointsX Box19.In1 connect Box08.lstPointsY Box19.In3 connect Box08.lstPointsZ Box19.In5 connect Box08.BoxChange Box20.BoxExecute connect Box23.Out Box22.In connect Box19.Out Box24.In connect Box22.Point Box24.Initial connect Box24.Out Box26.In1 connect Box21.widget Box27.Widget1 connect Box27.Widget Box14.Widget1 connect Box10.Widget Box12.Widget3 connect Box14.Widget Box12.Widget1 connect Box08.Widget Box18.Widget1 connect Box20.Widget Box18.Widget2 connect Box19.Out Box28.In2 connect Box28.Out Box20.In # Complex input ports input Image Box23.In " " input Title Box17.WinTitle " " # Complex output ports output Widget Box16.Widget " " output Point Box26.Out " " output BoxChange Box08.BoxChange " " endefine