+# ----------------------------------
+# - BBTKGEditor v 1.4 BBS BlackBox Script
+# - /tmpEED/creaTools2/creatools_source/bbtk/packages/vtk/bbs/appli/exampleReadView_vtkPolyData_1.bbs
+# ----------------------------------
+
+# BBTK GEditor Script
+# ----------------------
+
+include std
+include itkvtk
+include vtk
+include wxvtk
+include std
-description "LoadHola box example"
author "Info-dev at creatis.insa-lyon.fr"
+description "LoadHola box example"
category "example mesh"
-load vtk
-load wx
-load wxvtk
-load std
+new vtk:PolyDataReader pdr
+
+new vtk:PolyDataToActor pdActor
+
+new wxvtk:Viewer3D viewer
+
+new std:Configuration Box04
+
+new std:ConcatStrings Box05
+ set Box05.In2 "/vtk/bunny.vtk"
+
+
+connect pdr.Out pdActor.In
-new FileSelector fileName
- set fileName.Wildcard "*.vtk"
+connect pdActor.Out viewer.In1
+connect Box04.DataPath Box05.In1
-new PolyDataReader pdr
- connect fileName.Out pdr.In
+connect Box05.Out pdr.In
-new PolydataToActor pdActor
- connect pdr.Out pdActor.In
-new Viewer3D viewer
- connect pdActor.Out viewer.In1
+# Complex input ports
exec viewer