]> Creatis software - bbtk.git/blob - packages/vtk/bbs/appli/exampleReadView_vtkPolyData_1.bbs
6b0c374e4c81c3ebe0abc3d35f721720636120c1
[bbtk.git] / packages / vtk / bbs / appli / exampleReadView_vtkPolyData_1.bbs
1
2 description "LoadHola box example"
3 author "Info-dev at creatis.insa-lyon.fr"
4 category "example mesh"
5
6 load vtk
7 load wx
8 load wxvtk
9 load std
10
11 new FileSelector fileName
12   set fileName.Wildcard "*.vtk"
13
14
15 new PolyDataReader pdr
16   connect fileName.Out pdr.In 
17
18 new PolydataToActor pdActor
19   connect pdr.Out pdActor.In
20
21 new  Viewer3D viewer
22   connect pdActor.Out viewer.In1  
23
24 exec viewer