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