1 description "Volume rendering example"
2 author "laurent.guigues at creatis.insa-lyon.fr"
9 new PiecewiseFunction color
10 new PiecewiseFunction opacity
11 new VolumeRenderer renderer
14 connect reader.Out renderer.In
15 connect color.Out renderer.ColorFunction
16 connect opacity.Out renderer.OpacityFunction
17 connect renderer.Out viewer.In1
20 set color.X "0 500 1000"
21 set color.Y "0 0.01 1"
22 set opacity.X "0 500 1000"
23 set opacity.Y "0 0.01 0.1"