]> Creatis software - bbtk.git/blobdiff - packages/wxvtk/bbs/boxes/bbIsoSurfaceWithControls.bbs
example vs Example
[bbtk.git] / packages / wxvtk / bbs / boxes / bbIsoSurfaceWithControls.bbs
index ce9514895ee2e44c263e057ab5d0800906f5384b..01ada2ed218e919d1b3b58a055539032a453a9a4 100644 (file)
@@ -1,18 +1,18 @@
 load wx
 load vtk
 load std
+load wxvtk
 
-define IsoSurfaceWithControls
+define IsoSurfaceWithControls wxvtk
   author "laurent.guigues@creatis.insa-lyon.fr"
-  description "Image iso-surface extractor with associated control panel (isovalue, opacity and colour)"
+  description "Image iso-surface extractor (vtk::IsoSurfaceExtractor) with associated control panel (isovalue, opacity and colour)"
   category "image;mesh;widget;viewer"
 
   new LayoutLine controls
   new LayoutLine sliders
-  new Surface surface
+  new IsoSurfaceExtractor surface
   new Slider isovalue
   new Slider opacity
-#  new CommandButton colourButton
   new LayoutLine colourFrame
   new ColourSelectorButton colour
   new MultipleInputs refresh  
@@ -22,7 +22,6 @@ define IsoSurfaceWithControls
   connect colourFrame.Widget controls.Widget2
 
   connect colour.Widget colourFrame.Widget1
-#Button.Widget 
   connect isovalue.Widget sliders.Widget1
   connect opacity.Widget sliders.Widget2
   
@@ -39,7 +38,7 @@ define IsoSurfaceWithControls
 #  connect colourButton.BoxChange colour.BoxExecute
 
   set colourFrame.WinTitle "Colour"
-  set controls.Orientation 0
+  set controls.Orientation HORIZONTAL
   set isovalue.Title "Isovalue"
   set opacity.Title "Opacity"
   set opacity.Min 0