X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=bbtk_creaVtk_PKG%2Fbbs%2Fappli%2FexampleSetCameraInfo.bbs;fp=bbtk_creaVtk_PKG%2Fbbs%2Fappli%2FexampleSetCameraInfo.bbs;h=cf7b31aef63047681966e829847d3180ce5c2d7a;hb=3d95096f97588894dd9a5ffbb8b2c8e6c111cd29;hp=0000000000000000000000000000000000000000;hpb=b14773c04cfae41766a01441d155225c9fc4668f;p=creaVtk.git diff --git a/bbtk_creaVtk_PKG/bbs/appli/exampleSetCameraInfo.bbs b/bbtk_creaVtk_PKG/bbs/appli/exampleSetCameraInfo.bbs new file mode 100644 index 0000000..cf7b31a --- /dev/null +++ b/bbtk_creaVtk_PKG/bbs/appli/exampleSetCameraInfo.bbs @@ -0,0 +1,82 @@ +# ---------------------------------- +# - BBTKGEditor v 1.4 BBS BlackBox Script +# - /tmpEED/creaTools/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/exampleSetCameraInfo.bbs +# ---------------------------------- + +# BBTK GEditor Script +# ---------------------- + +include std +include itkvtk +include vtk +include creaMaracasVisu +include wx +include creaVtk + +author "Author ??" +description "Description ??" +category "" + +new vtk:LoadHola Box00 + +new creaMaracasVisu:ViewerNV Box01 + set Box01.nTypeView "5" + +new creaMaracasVisu:ViewerNV Box02 + set Box02.nTypeView "5" + +new wx:LayoutLine Box03 + set Box03.Orientation "H" + +new wx:LayoutSplit Box04 + set Box04.Orientation "H" + +new wx:LayoutLine Box05 + +new wx:CommandButton Box06 + set Box06.Label "Refresh" + +new creaVtk:GetCameraInfo Box07 + +new creaVtk:SetCameraInfo Box09 + +new vtk:UpdateRender Box10 + set Box10.Active "true" + + +connect Box00.Out Box01.In + +connect Box00.Out Box02.In + +connect Box01.Widget Box03.Widget1 + +connect Box02.Widget Box03.Widget2 + +connect Box03.Widget Box04.Widget2 + +connect Box05.Widget Box04.Widget1 + +connect Box06.Widget Box05.Widget1 + +connect Box01.Renderer1 Box07.vtkRenderer + +connect Box02.Renderer1 Box09.vtkRenderer + +connect Box07.ViewUp Box09.ViewUp + +connect Box07.Position Box09.Position + +connect Box07.FocalPoint Box09.FocalPoint + +connect Box06.BoxChange Box07.BoxExecute + +connect Box02.Renderer1 Box10.Renderer + +connect Box07.BoxChange Box09.BoxExecute + +connect Box09.BoxChange Box10.BoxExecute + + + +# Complex input ports +exec Box04