# ---------------------------------- # - BBTKGEditor v 1.4 BBS BlackBox Script # - /Users/davila/Creatis/C11/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/ExamplePointPicker.bbs # ---------------------------------- # BBTK GEditor Script # ---------------------- include std include itkvtk include creaVtk include vtk include creaMaracasVisu include wx include std author "Author ??" description "Description ??" category "" new creaVtk:PointPicker Box00 new vtk:SphereSource Box01 set Box01.CenterX "40" set Box01.CenterY "40" set Box01.CenterZ "40" set Box01.PhiResolution "20" set Box01.Radius "20" set Box01.ThetaResolution "20" new vtk:PolyDataToActor Box02 new creaMaracasVisu:ViewerNV Box03 new wx:OutputText Box04 set Box04.Title "Point" new wx:LayoutLine Box05 new wx:Slider Box07 set Box07.Label "true" set Box07.Max "100" set Box07.ReactiveOnTrack "true" set Box07.Title "Opacity" new vtk:LoadHola Box08 new std:MathOperationVector Box09 set Box09.Type "3" new vtk:ImageVtkProperties Box10 new creaMaracasVisu:SetPosition Box11 new std:MathOperationVector Box13 set Box13.Type "23" new std:Div Box14 set Box14.In2 "100" new wx:OutputText Box15 set Box15.Title "Round Point" new wx:CheckBox Box16 set Box16.In "true" set Box16.Title "Point Picker Active" new creaVtk:OutputWindow Box17 new wx:LayoutSplit Box18 set Box18.Orientation "H" new wx:ComboBox Box19 set Box19.In "Nothing MouseMove ClickLeft DoubleClickLeft" set Box19.Selection "2" set Box19.Title "Event" new std:MultipleInputs Box20 new wx:OutputText Box21 set Box21.Title "Normal" connect Box01.Out Box02.In connect Box04.Widget Box05.Widget2 connect Box03.Renderer1 Box02.Renderer connect Box03.Renderer1 Box00.Renderer connect Box07.Widget Box05.Widget1 connect Box07.BoxChange Box02.BoxExecute connect Box08.Out Box03.In connect Box00.BoxChange Box04.BoxExecute connect Box00.Point Box09.In0 connect Box08.Out Box10.In connect Box10.Spacing Box09.In1 connect Box09.Out Box04.In connect Box03.wxVtkBaseView1 Box11.wxVtkBaseView connect Box00.BoxChange Box11.BoxExecute connect Box09.Out Box13.In0 connect Box13.Out Box11.Point connect Box07.Out Box14.In1 connect Box14.Out Box02.Opacity connect Box13.Out Box15.In connect Box00.BoxChange Box15.BoxExecute connect Box15.Widget Box05.Widget3 connect Box16.Widget Box05.Widget5 connect Box05.Widget Box18.Widget1 connect Box03.Widget Box18.Widget2 connect Box19.Widget Box05.Widget6 connect Box19.Out Box00.TypeEvent connect Box19.BoxChange Box20.In1 connect Box16.BoxChange Box20.In3 connect Box20.BoxChange Box00.BoxExecute connect Box00.Normal Box21.In connect Box00.BoxChange Box21.BoxExecute connect Box21.Widget Box05.Widget4 # Complex input ports exec Box17 exec Box18