# ---------------------------------- # - BBTKGEditor v 1.5 BBS BlackBox Script (Complex Box) # - /Users/davila/Creatis/C23/creatools_source/creaContours/bbtk/bbs/boxes/ContourReferenceStep.bbs # ---------------------------------- include std include itkvtk include creaContours include wx include creaMaracasVisu include std include vtk define ContourReferenceStep creaContours author "Author ??" description "Description ??" category "" new creaContours:SetViewerPosition Box83 set Box83.Direction "1" new wx:LayoutLine Box84 set Box84.WinTitle "Config" new wx:Slider Box86 set Box86.In "0" set Box86.Label "true" set Box86.Max "29" set Box86.Min "0" set Box86.Title "Shift slice" new wx:CommandButton Box152 set Box152.Label "+" new wx:CommandButton Box153 set Box153.Label "-" new wx:LayoutLine Box154 set Box154.Orientation "H" new creaMaracasVisu:SetPosition Box155 new std:GetVectorIntElement Box156 set Box156.I "0" new std:GetVectorIntElement Box157 set Box157.I "1" new std:GetVectorIntElement Box158 set Box158.I "2" new std:ConcatStrings Box159 set Box159.In2 " " set Box159.In4 " " new std:Add Box160 set Box160.In2 "10" new creaMaracasVisu:SetPosition Box161 new std:ConcatStrings Box162 set Box162.In2 " " set Box162.In4 " " new std:MathOperation Box164 set Box164.Type "1" new std:MathOperation Box174 set Box174.Type "2" new std:MathOperation Box175 set Box175.Type "3" new std:MathOperation Box176 set Box176.Type "22" new wx:OutputText Box224 new wx:OutputText Box225 new std:MultipleInputs Box256 new wx:OutputText Box258 new wx:LayoutLine Box261 new std:ReplaceCleanString Box265 set Box265.Search ".000000" new std:VectorFilterDouble Box283 new std:CreateArithmeticSuiteVector Box284 set Box284.Delta "0" set Box284.FirstValue "0" new std:GetDoubleVectorSize Box285 new std:VectorFilterDouble Box286 set Box286.Type "10" new std:ConcatStrings Box287 set Box287.In1 "0 " set Box287.In3 " 0" new std:ConcatStrings Box288 new std:MathOperation Box291 set Box291.Type "30" new std:StringSelect Box295 set Box295.In0 "Warning !" set Box295.In1 " " new std:GetVectorDoubleElement Box298 new std:ReplaceCleanString Box299 set Box299.Search ".000000" new wx:OutputText Box300 new wx:OutputText Box302 new wx:ComboBox Box314 set Box314.In "void" set Box314.Selection "9" set Box314.Title "Slice step -/+" new std:CreateArithmeticSuiteVector Box315 set Box315.Delta "1" set Box315.FirstValue "1" set Box315.Size "30" new std:ConcatStrings Box316 new std:ConcatStrings Box317 new std:StringSelect Box318 set Box318.In3 "-1" new std:Add Box321 new std:Add Box322 new std:ConcatStrings Box324 set Box324.In2 " " set Box324.In4 " " new std:GetVectorDoubleElement Box326 set Box326.I "1" new std:ConcatStrings Box327 set Box327.In2 " : MPR Nearest Contour" new std:ConcatStrings Box328 set Box328.In2 " : 2D Slice Contour" new std:ConcatStrings Box329 set Box329.In2 " " set Box329.In4 " " new wx:ComboBox Box330 set Box330.In "Direct Grid Contour Nothing" set Box330.Selection "1" set Box330.Title "MPR to 2D " new wx:LayoutLine Box331 set Box331.Orientation "H" new wx:LayoutLine Box336 set Box336.Orientation "H" set Box336.WinTitle "Slice step" new wx:OutputText Box348 set Box348.Title "Warning" new std:ReplaceCleanString Box349 set Box349.Replace "," set Box349.Search " " new std:VectorFilterDouble Box352 new std:VectorFilterDouble Box354 set Box354.Type "8" new wx:OutputText Box355 new std:GetVectorIntElement Box436 set Box436.I "1" new vtk:ImageVtkProperties Box437 new std:VectorFilterDouble Box438 set Box438.Type "11" new creaMaracasVisu:wxVtkBaseView_Info Box447 set Box447.InteractionType "6" new std:MultipleInputs Box448 new creaMaracasVisu:wxVtkBaseView_Info Box449 set Box449.InteractionType "8" new std:MagicBox Box450 new std:MagicBox Box451 new std:MagicBox Box452 new std:MagicBox Box453 new std:MagicBox Box454 new std:MagicBox Box455 new wx:LayoutTab Box456 new std:MagicBox Box457 new std:MagicBox Box458 new std:MagicBox Box459 new std:MagicBox Box460 new std:Div Box81 new std:GetVectorDoubleElement Box82 set Box82.I "1" connect Box86.Widget Box84.Widget2 connect Box153.Widget Box154.Widget2 connect Box156.Out Box159.In1 connect Box158.Out Box159.In5 connect Box159.Out Box155.Point connect Box152.BoxChange Box155.BoxExecute connect Box153.BoxChange Box161.BoxExecute connect Box156.Out Box162.In1 connect Box158.Out Box162.In5 connect Box162.Out Box161.Point connect Box164.Out Box162.In3 connect Box157.Out Box175.In1 connect Box175.Out Box176.In1 connect Box176.Out Box174.In1 connect Box152.Widget Box154.Widget4 connect Box224.Widget Box154.Widget1 connect Box164.BoxChange Box256.In2 connect Box283.Out0 Box285.In connect Box285.VectorSize Box284.Size connect Box284.ArithmeticSuiteVector Box286.In2 connect Box287.Out Box286.In3 connect Box284.ArithmeticSuiteVector Box286.In0 connect Box283.Out0 Box286.In1 connect Box286.Out0 Box288.In1 connect Box258.Widget Box261.Widget4 connect Box265.Out Box291.In1 connect Box291.Out Box295.In connect Box288.Out Box298.I connect Box283.Out0 Box298.In connect Box299.Out Box291.In2 connect Box295.Out Box300.In connect Box258.BoxChange Box300.BoxExecute connect Box295.BoxChange Box258.BoxExecute connect Box302.Widget Box261.Widget5 connect Box302.BoxChange Box295.BoxExecute connect Box256.BoxChange Box302.BoxExecute connect Box225.Widget Box154.Widget5 connect Box316.Out Box314.In connect Box315.ArithmeticSuiteVector Box316.In1 connect Box314.OutString Box317.In1 connect Box317.Out Box175.In2 connect Box317.Out Box174.In2 connect Box317.Out Box160.In2 connect Box317.Out Box164.In2 connect Box318.Out Box83.Position connect Box160.BoxChange Box256.In1 connect Box174.Out Box321.In1 connect Box321.Out Box160.In1 connect Box160.Out Box159.In3 connect Box174.Out Box322.In1 connect Box322.Out Box164.In1 connect Box86.Out Box322.In2 connect Box86.Out Box321.In2 connect Box156.Out Box324.In1 connect Box174.Out Box324.In3 connect Box158.Out Box324.In5 connect Box324.Out Box318.In1 connect Box326.Out Box265.In connect Box318.Out Box326.In connect Box299.Out Box327.In1 connect Box327.Out Box258.In connect Box265.Out Box328.In1 connect Box328.Out Box302.In connect Box156.Out Box329.In1 connect Box158.Out Box329.In5 connect Box329.Out Box318.In2 connect Box330.Out Box318.In connect Box330.Widget Box331.Widget6 connect Box314.Widget Box331.Widget3 connect Box154.Widget Box336.Widget2 connect Box300.Widget Box261.Widget2 connect Box261.Widget Box336.Widget5 connect Box331.Widget Box336.Widget7 connect Box348.Widget Box261.Widget7 connect Box300.BoxChange Box348.BoxExecute connect Box352.Out0 Box348.In connect Box349.Out Box354.In0 connect Box354.Out0 Box352.In0 connect Box355.Widget Box261.Widget6 connect Box436.Out Box287.In2 connect Box438.Out0 Box436.In connect Box437.Spacing Box438.k1 connect Box447.BoxChange Box448.In1 connect Box448.BoxChange Box83.BoxExecute connect Box449.BoxChange Box448.In3 connect Box450.Out Box157.In connect Box450.Out Box156.In connect Box450.Out Box318.In0 connect Box450.Out Box158.In connect Box451.Out Box155.wxVtkBaseView connect Box451.Out Box161.wxVtkBaseView connect Box452.Out Box447.wxVtkBaseView1 connect Box452.Out Box449.wxVtkBaseView1 connect Box453.Out Box447.wxVtkBaseView2 connect Box453.Out Box449.wxVtkBaseView2 connect Box454.Out Box447.wxVtkBaseView3 connect Box454.Out Box449.wxVtkBaseView3 connect Box455.Out Box448.In9 connect Box336.Widget Box456.Widget2 connect Box84.Widget Box456.Widget3 connect Box457.Out Box83.wxContourMainFrame connect Box458.Out Box349.In connect Box459.Out Box283.In0 connect Box460.Out Box437.In connect Box450.Out Box438.In0 connect Box298.Out Box81.In1 connect Box437.Spacing Box82.In connect Box82.Out Box81.In2 connect Box81.Out Box329.In3 connect Box81.Out Box299.In # Complex input ports input _point Box450.In " " input _wxvtkbaseview2 Box452.In " " input _wxvtkbaseview3 Box453.In " " input _wxvtkbaseview4 Box454.In " " input _boxExecViewer Box455.In " " input _wxcontourmainframe Box457.In " " input _lstPssblIncnsnstntCntrY Box458.In " " input _lstX Box459.In " " input _image Box460.In " " input _wxvtkbaseview1 Box451.In " " # Complex output ports output _widget Box456.Widget " " output _initExec Box448.BoxChange " " output _iaxis Box288.Out " " endefine