]> Creatis software - bbtk.git/blobdiff - packages/wxvtk/bbs/appli/exampleIsoSurfaceWidget.bbs
in 50 % of the scripts, LoadHola was called an 'image' in 50 % a 'reader'.
[bbtk.git] / packages / wxvtk / bbs / appli / exampleIsoSurfaceWidget.bbs
index 6ffcb0d562b078f1d09b906085d3fbb1379a5a4c..becc0d1b05a00d2dcddcefa5aec6fcd3fda3022d 100644 (file)
@@ -10,13 +10,10 @@ new IsoSurfaceWidget surface2
 
 load wxvtk
 new Viewer3D viewer
-#bad trick, waiting for a bug fix... : load twice the image :-(
-new LoadHola image1
-//new LoadHola image2
+new LoadHola reader1
 
-connect image1.Out surface1.In
-//connect image2.Out surface2.In
-connect image1.Out surface2.In
+connect reader1.Out surface1.In
+connect reader1.Out surface2.In
 
 set surface1.Isovalue 100
 set surface1.Opacity 100