X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=bbtk_creaVtk_PKG%2Fbbs%2Fappli%2FexampleCutter.bbs;h=46261046c75feb8f03eccc863878a4a5b1144792;hb=690b561e62bf9835b94cf248a6747b50b0641df7;hp=e69385aa3eaa70a0565d5e4a2fc2f86a79f7de4e;hpb=f18b2d452b8c1450396555dd5994def4b79b47e1;p=creaVtk.git diff --git a/bbtk_creaVtk_PKG/bbs/appli/exampleCutter.bbs b/bbtk_creaVtk_PKG/bbs/appli/exampleCutter.bbs index e69385a..4626104 100644 --- a/bbtk_creaVtk_PKG/bbs/appli/exampleCutter.bbs +++ b/bbtk_creaVtk_PKG/bbs/appli/exampleCutter.bbs @@ -28,19 +28,17 @@ new vtk:SphereSource Box01 set Box01.ThetaResolution "15" new creaMaracasVisu:ViewerNV Box02 - -new vtk:LoadHola Box03 + set Box02.nTypeView "7" new vtk:PolyDataToActor Box04 set Box04.Colour "1 0 0" + set Box04.LineWidth "2" set Box04.Opacity "1" set Box04.Representation "1" new wx:LayoutSplit Box05 set Box05.Orientation "H" -new wx:LayoutLine Box07 - new vtk:PolyDataToActor Box09 set Box09.Opacity "0.2" set Box09.Representation "2" @@ -51,8 +49,12 @@ new vtk:UpdateRender Box13 new wx:CommandButton Box15 set Box15.Label "Refresh" +new creaVtk:Plane Box10 + set Box10.Normal "0 0 1" + set Box10.Origin "0 0 30" + +new vtk:LoadHola Box11 -connect Box03.Out Box02.In connect Box00.Out Box04.In @@ -60,16 +62,12 @@ connect Box02.Renderer1 Box04.Renderer connect Box02.Widget Box05.Widget2 -connect Box07.Widget Box05.Widget1 - connect Box02.Renderer1 Box09.Renderer connect Box02.Renderer1 Box13.Renderer connect Box15.BoxChange Box04.BoxExecute -connect Box15.Widget Box07.Widget2 - connect Box04.BoxChange Box09.BoxExecute connect Box09.BoxChange Box13.BoxExecute @@ -78,6 +76,12 @@ connect Box01.Out Box00.In connect Box01.Out Box09.In +connect Box15.Widget Box05.Widget1 + +connect Box10.Out Box00.ImplicitFunction + +connect Box11.Out Box02.In + # Complex input ports