1 # ----------------------------------
2 # - BBTKGEditor v 1.5 BBS BlackBox Script
3 # - /Users/davila/Creatis/C23/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/exampleRender_Tools-ResetCamera.bbs
4 # ----------------------------------
7 # ----------------------
11 include creaMaracasVisu
18 description "Description ??"
21 new creaMaracasVisu:ViewerNV Box00
22 set Box00.nTypeView "7"
24 new vtk:LoadHola Box01
26 new vtk:SphereSource Box02
28 new vtk:PolyDataToActor Box03
30 new wx:LayoutSplit Box04
31 set Box04.Orientation "H"
32 set Box04.Proportion "10"
34 new wx:LayoutLine Box05
36 new vtk:UpdateRender Box07
37 set Box07.Active "true"
39 new std:MultipleInputs Box10
41 new creaVtk:Render_Tools Box11
44 new wx:OutputText Box13
48 connect Box01.Out Box00.In
50 connect Box02.Out Box03.In
52 connect Box00.Renderer1 Box03.Renderer
54 connect Box00.Widget Box04.Widget2
56 connect Box05.Widget Box04.Widget1
58 connect Box03.BoxChange Box11.BoxExecute
60 connect Box00.Renderer1 Box11.Renderer
62 connect Box11.BoxChange Box07.BoxExecute
64 connect Box07.BoxChange Box10.In1
66 connect Box13.Widget Box05.Widget1