# ---------------------------------- # - 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