]> Creatis software - bbtk.git/blobdiff - packages/kw/bbs/appli/exampleTransferFunctionEditor.bbs
in 50 % of the scripts, LoadHola was called an 'image' in 50 % a 'reader'.
[bbtk.git] / packages / kw / bbs / appli / exampleTransferFunctionEditor.bbs
index a32acc98f521156368a4d8f9875ec06eb10c971c..8284f597a887d405e7c386508fe30b06d01d903e 100644 (file)
@@ -1,4 +1,4 @@
-description "Example of the tranfer function editor for volume rendering"
+description "Example of the transfer function editor"
 author "laurent.guigues at creatis.insa-lyon.fr"
 category "example"
 
@@ -6,20 +6,21 @@ include vtk
 #load wxvtk
 load kw
 
-new LoadHola image
+new LoadHola reader
 //new PiecewiseFunction color
 new kwTransferFunctionEditor color
 new kwTransferFunctionEditor opacity
 new VolumeRenderer renderer
 new kwViewer3D viewer
 
-connect image.Out color.In
-connect image.Out opacity.In
-connect image.Out renderer.In
+connect reader.Out color.In
+connect reader.Out opacity.In
+connect reader.Out renderer.In
 connect color.Out renderer.ColorFunction
 connect opacity.Out renderer.OpacityFunction
 connect renderer.Out viewer.In1
-connect color.BoxChange viewer.BoxExecute
+
+//connect color.BoxChange viewer.BoxExecute
 
 load std
 #set color.X "0 500 1000"