]> Creatis software - creaMaracasVisu.git/blob - bbtk/bbs/appli/exampleManualPaint_Model.bbs
#2864 creaMaracasVisu Feature New Normal - Manual Paint , modify external image
[creaMaracasVisu.git] / bbtk / bbs / appli / exampleManualPaint_Model.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script
3 # - /tmpEED/creaTools/creatools_source/creaMaracasVisu/bbtk/bbs/appli/exampleManualPaint_Model.bbs
4 # ----------------------------------
5
6 # BBTK GEditor Script
7 # ----------------------
8
9 include std
10 include itkvtk
11 include vtk
12 include creaMaracasVisu
13 include wx
14
15 author "Author ??"
16 description "Description ??"
17 category "<VOID>"
18
19 new vtk:LoadHola Box00
20
21 new creaMaracasVisu:ViewerNV Box01
22
23 new creaMaracasVisu:ManualPaint_Model Box02
24   set Box02.Range "0 5000"
25   set Box02.ToleranceFill "1000"
26   set Box02.Tool "0"
27
28 new wx:LayoutSplit Box03
29   set Box03.Orientation "H"
30
31 new wx:CheckBox Box11
32   set Box11.Title "Paint"
33
34
35 connect Box00.Out Box01.In
36
37 connect Box01.Point Box02.Point
38
39 connect Box01.Widget Box03.Widget2
40
41 connect Box01.BoxChange Box02.BoxExecute
42
43 connect Box11.Out Box02.Active
44
45 connect Box11.Widget Box03.Widget1
46
47 connect Box00.Out Box02.Image
48
49
50
51 # Complex input ports
52 exec Box03