]> Creatis software - bbtk.git/blob - packages/vtk/bbs/appli/exampleMeasureLength.bbg
Merge branch 'refs/heads/bbpCreator'
[bbtk.git] / packages / vtk / bbs / appli / exampleMeasureLength.bbg
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBG BlackBox Diagram file
3 # - /home/corredor/Software/CreaTools/All_Dec2012/creatools_source/bbtk/packages/vtk/bbs/appli/exampleMeasureLength.bbg
4 # ----------------------------------
5
6 APP_START
7 CATEGORY:example
8 DESCRIPTION:Evaluates the sum of the Euclidean distances among the points in the list following their order. Put some points in the image using the Points Widget and the click on Evaluate Length button. 
9 AUTHOR:Ricardo A Corredor
10 COMPLEXBOX:FALSE
11 COMPLEXINPUTS:0
12 BOXES:8
13 BOX
14 creaMaracasVisu:ShowNPoints:Box00
15 ISEXEC:TRUE
16 -51.309471:11.810349:-900.000000
17 -2.989471:1.810349:-900.000000
18 PORT
19 WinTitle:"Points Widget"
20 PORT
21 WinWidth:"200"
22 FIN_BOX
23 BOX
24 creaMaracasVisu:ViewerNV:Box02
25 ISEXEC:TRUE
26 -26.721828:47.483487:-900.000000
27 33.918172:37.483487:-900.000000
28 PORT
29 WinTitle:"Image Viewer"
30 FIN_BOX
31 BOX
32 wx:CommandButton:Box03
33 ISEXEC:TRUE
34 -128.980270:47.281481:-900.000000
35 -83.405270:37.281481:-900.000000
36 PORT
37 Label:"Evaluate length..."
38 PORT
39 WinHeight:"200"
40 PORT
41 WinTitle:"Measure Length"
42 PORT
43 WinWidth:"200"
44 FIN_BOX
45 BOX
46 vtk:MeasureLength:Box04
47 ISEXEC:FALSE
48 -112.956474:-50.441103:-900.000000
49 -67.381474:-60.441103:-900.000000
50 FIN_BOX
51 BOX
52 vtk:PointsXYZtoVTKPoints:Box05
53 ISEXEC:FALSE
54 -54.277786:-36.674180:-900.000000
55 16.897214:-46.674180:-900.000000
56 FIN_BOX
57 BOX
58 wx:OutputText:Box06
59 ISEXEC:FALSE
60 -113.407849:-80.683196:-900.000000
61 -67.832849:-90.683196:-900.000000
62 FIN_BOX
63 BOX
64 vtk:MetaImageReader:Box07
65 ISEXEC:FALSE
66 -58.531222:83.907503:-900.000000
67 -12.956222:73.907503:-900.000000
68 FIN_BOX
69 BOX
70 wx:FileSelector:Box08
71 ISEXEC:FALSE
72 -57.766108:111.196570:-900.000000
73 -12.191108:101.196570:-900.000000
74 PORT
75 Message:"Select an image ..."
76 PORT
77 Title:"Select an image ..."
78 FIN_BOX
79 CONNECTIONS:13
80 CONNECTION
81 Box02:Renderer1:Box00:Renderer
82 NumberOfControlPoints:0
83 CONNECTION
84 Box02:Point:Box00:In
85 NumberOfControlPoints:0
86 CONNECTION
87 Box02:BoxChange:Box00:BoxExecute
88 NumberOfControlPoints:0
89 CONNECTION
90 Box00:lstPointsX:Box05:LstPointsX
91 NumberOfControlPoints:0
92 CONNECTION
93 Box00:lstPointsY:Box05:LstPointsY
94 NumberOfControlPoints:0
95 CONNECTION
96 Box00:lstPointsZ:Box05:LstPointsZ
97 NumberOfControlPoints:0
98 CONNECTION
99 Box05:Points:Box04:Points
100 NumberOfControlPoints:0
101 CONNECTION
102 Box03:BoxChange:Box06:BoxExecute
103 NumberOfControlPoints:0
104 CONNECTION
105 Box04:Length:Box06:In
106 NumberOfControlPoints:0
107 CONNECTION
108 Box07:Out:Box02:In
109 NumberOfControlPoints:0
110 CONNECTION
111 Box07:Out:Box04:ImageData
112 NumberOfControlPoints:0
113 CONNECTION
114 Box07:Out:Box00:Image
115 NumberOfControlPoints:0
116 CONNECTION
117 Box08:Out:Box07:In
118 NumberOfControlPoints:0
119 APP_END