]> Creatis software - creaMaracasVisu.git/blob - bbtk/bbs/boxes/SetPositionPointPicker.bbs
#3542 Clean SetPositionPointerPicker and PolyDataToActor_Widget with ScalarVisibilityOn
[creaMaracasVisu.git] / bbtk / bbs / boxes / SetPositionPointPicker.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.5 BBS BlackBox Script (Complex Box)
3 # - /Users/davila/Creatis/C23/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/SetPositionPointPicker.bbs
4 # ----------------------------------
5
6 include std
7 include itkvtk
8 include vtk
9 include creaVtk
10 include std
11 include creaMaracasVisu
12
13 define SetPositionPointPicker creaMaracasVisu
14
15 author "info-dev@creatis.insa-lyon.fr"
16 description "Show N Points"
17
18 category "demo"
19
20 new vtk:ImageVtkProperties Box24
21
22 new creaVtk:PointPicker Box47
23   set Box47.TypeEvent "2"
24
25 new std:MathOperationVector Box48
26   set Box48.Type "3"
27
28 new std:MathOperationVector Box49
29   set Box49.Type "23"
30
31 new creaMaracasVisu:SetPosition Box50
32   set Box50.FixAxis2D "true"
33
34 new std:MagicBox Box100
35
36 new creaMaracasVisu:wxVtkBaseView_Info Box07
37
38 new std:MagicBox Box10
39
40
41 connect Box47.Point Box48.In0
42 connect Box24.Spacing Box48.In1
43 connect Box48.Out Box49.In0
44 connect Box49.Out Box50.Point
45 connect Box47.BoxChange Box50.BoxExecute
46 connect Box100.Out Box50.wxVtkBaseView
47 connect Box100.Out Box07.wxVtkBaseView
48 connect Box07.Image Box24.In
49 connect Box10.Out Box47.Prop3D
50 connect Box07.vtkRenderer Box47.Renderer
51
52 # Complex input ports
53 input wxvtkbaseview Box100.In " "
54 input vtkprop3D Box10.In " "
55
56 # Complex output ports
57 output boxchange Box47.BoxChange " "
58 output pointid Box47.PointId " "
59 output normal Box47.Normal " "
60 output PositionWorld Box47.Point " "
61 output PositionImage Box49.Out " "
62
63
64 endefine