X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fkw%2Fbbs%2Fappli%2FexampleTransferFunctionEditor.bbs;h=8284f597a887d405e7c386508fe30b06d01d903e;hb=f346161adcdec4cf3dc3e1b8fac72a7bc43a5f50;hp=a32acc98f521156368a4d8f9875ec06eb10c971c;hpb=763650a6180770f5d169eaef1dd01838115a9eda;p=bbtk.git diff --git a/packages/kw/bbs/appli/exampleTransferFunctionEditor.bbs b/packages/kw/bbs/appli/exampleTransferFunctionEditor.bbs index a32acc9..8284f59 100644 --- a/packages/kw/bbs/appli/exampleTransferFunctionEditor.bbs +++ b/packages/kw/bbs/appli/exampleTransferFunctionEditor.bbs @@ -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"