]> Creatis software - bbtk.git/blobdiff - packages/vtk/bbs/appli/exampleReadView_vtkPolyData_1.bbs
#3107 BBTK Bug New Normal - branch vtk7itk4 compilation with vtk7
[bbtk.git] / packages / vtk / bbs / appli / exampleReadView_vtkPolyData_1.bbs
index 6b0c374e4c81c3ebe0abc3d35f721720636120c1..06052099d578fde41e27306234121ef0d4f81c95 100644 (file)
@@ -1,24 +1,42 @@
+# ----------------------------------
+# - 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