]> Creatis software - creaMaracasVisu.git/blob - bbtk/bbs/appli/exampleHistogramView.bbs
Give the scripts kosher names
[creaMaracasVisu.git] / bbtk / bbs / appli / exampleHistogramView.bbs
1 description "creaMaracasVisu::HistogramView box example. "
2 category "example"
3 author "eduardo.davila@creatis.insa-lyon.fr"
4
5
6
7 load wx
8 load std
9 load creaMaracasVisu
10 load vtk
11
12 new MetaImageReader reader
13 include  std/boxes/bbPrependPackageDataPath.bbs
14 new PrependPackageDataPath prependDatapath
15   set prependDatapath.In "vtk/hola.mhd"
16   connect prependDatapath.Out reader.In
17
18 new HistogramView histogramview
19
20 print $prependDatapath.Out$\n
21 connect reader.Out histogramview.In
22 exec histogramview