]> Creatis software - bbtk.git/blobdiff - packages/wxvtk/bbs/appli/exampleIsoSurfaceWithControls.bbs
Try to display planes (from Image Planes)
[bbtk.git] / packages / wxvtk / bbs / appli / exampleIsoSurfaceWithControls.bbs
index e604657802decced2acf132d049a551bb7f61c1a..6ff4bcf617ffc2793cb375378825fa97104f4118 100644 (file)
@@ -2,11 +2,6 @@ description "Example of IsoSurfaceWithControls."
 author "laurent.guigues at creatis.insa-lyon.fr"
 category "example"
 
-include wxvtk/boxes/bbIsoSurfaceWithControls
-description "Example of IsoSurfaceWithControls."
-author "laurent.guigues at creatis.insa-lyon.fr"
-category "example"
-
 include wxvtk/boxes/bbIsoSurfaceWithControls
 include vtk/boxes/bbLoadHola
  
@@ -15,11 +10,13 @@ new IsoSurfaceWithControls 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 image2
 
 connect image1.Out surface1.In
-connect image2.Out surface2.In
+//connect image2.Out surface2.In
+connect image1.Out surface2.In
 
 set surface1.Isovalue 100
 set surface1.Opacity 100