]> Creatis software - bbtk.git/commitdiff
Upgrade
authorjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Wed, 4 May 2011 09:49:44 +0000 (09:49 +0000)
committerjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Wed, 4 May 2011 09:49:44 +0000 (09:49 +0000)
packages/vtk/bbs/appli/exampleReadView_vtkPolyData_1.bbs
packages/vtk/bbs/appli/exampleReadView_vtkPolyData_2.bbs

index 33339a93f39266a72ee4853b9030ab29b9ccd16e..e79fe8b243688676cb6b8883b5d7a84430c7e8b8 100644 (file)
@@ -11,7 +11,6 @@ load std
 new FileSelector fileName
   set fileName.Wildcard "*.vtk"
 
-
 new PolyDataReader pdr
   connect fileName.Out pdr.In 
 
index 8674842ebe88a685e42b5ed1f57b0c9dc9ce1268..e3f5b851d194d7a2e27ac2580561ebeb5605fe6d 100644 (file)
@@ -1,5 +1,5 @@
 
-description "LoadHola box example"
+description "LoadBunny_vtkPolyData box example"
 author "Info-dev at creatis.insa-lyon.fr"
 category "example mesh"
 
@@ -7,9 +7,12 @@ load vtk
 load wx
 load wxvtk
 load std
+include vtk/boxes/bbLoadBunny_vtkPolyData
 
-new PolyDataReader pdr
-  set pdr.In "/Users/davila/Borrame/Images/Helena/bunny.vtk"
+//new PolyDataReader pdr
+//  set pdr.In "/Users/davila/Borrame/Images/Helena/bunny.vtk"
+
+new bbLoadBunny_vtkPolyData pdr
 
 new PolyDataToActor pdActor
   connect pdr.Out pdActor.In