# ---------------------------------- # - BBTKGEditor v 1.6 BBS BlackBox Script (Complex Box) # - /Users/davila/Creatis/C23/creatools_source/creaRigidRegistration/PackRecalage/bbs/boxes/CompareImagesTransparencyWidget_3Dp.bbs # ---------------------------------- include std include itkvtk include PackRecalage include wx include creaMaracasVisu include std include vtk define CompareImagesTransparencyWidget_3Dp PackRecalage author "Author ??" description "Description ??" category "" new PackRecalage:TransparencyBox Box00 new wx:Slider Box01 set Box01.In "0" set Box01.Max "100" set Box01.Min "0" set Box01.ReactiveOnTrack "true" new creaMaracasVisu:ViewerNV Box02 set Box02.nTypeView "-1" new wx:LayoutSplit Box03 set Box03.Proportion "95" set Box03.WinTitle "Transparency" new std:MultipleInputs Box04 new PackRecalage:TransparencyBox Box05 new creaMaracasVisu:ViewerNV Box06 set Box06.nTypeView "-1" new PackRecalage:TransparencyBox Box07 new creaMaracasVisu:ViewerNV Box08 set Box08.nTypeView "-1" new wx:LayoutSplit Box11 new wx:LayoutSplit Box12 new wx:LayoutSplit Box13 set Box13.Orientation "H" new vtk:GetVectorVtkImageDataElement Box17 set Box17.I "0" new vtk:GetVectorVtkImageDataElement Box18 set Box18.I "0" new std:MagicBox Box19 new std:MagicBox Box20 new vtk:GetVectorVtkImageDataElement Box22 set Box22.I "1" new vtk:GetVectorVtkImageDataElement Box23 set Box23.I "1" new vtk:GetVectorVtkImageDataElement Box24 set Box24.I "2" new vtk:GetVectorVtkImageDataElement Box25 set Box25.I "2" new wx:LayoutTab Box28 new wx:LayoutLine Box29 set Box29.WinTitle "Plane XY (rotation/slice Z)" new wx:LayoutTab Box30 new wx:LayoutLine Box31 set Box31.WinTitle "Plane XZ (rotation/slice Y)" new wx:LayoutTab Box32 new wx:LayoutLine Box33 set Box33.WinTitle "Plane YZ (rotation/slice X)" new wx:LayoutTab Box34 new wx:LayoutLine Box35 set Box35.WinTitle "Viewer help" new creaMaracasVisu:wxVtkBaseView_Info Box37 set Box37.InteractionType "12" new std:GetVectorDoubleElement Box38 set Box38.I "0" new std:GetVectorDoubleElement Box39 set Box39.I "1" new std:MultipleInputs Box40 new std:MultipleInputs Box41 new creaMaracasVisu:HelpViewerNV Box43 new std:MagicBox Box44 new std:GetVectorDoubleElement Box45 set Box45.I "0" new std:GetVectorDoubleElement Box46 set Box46.I "1" new wx:CheckBox Box47 set Box47.In "True" set Box47.Title "Interpolate" new wx:LayoutLine Box49 set Box49.Orientation "H" set Box49.WinTitle "config" new std:MultipleInputs Box50 connect Box01.Out Box00.Percent connect Box01.BoxChange Box04.In2 connect Box04.BoxChange Box00.BoxExecute connect Box00.Out Box02.In connect Box12.Widget Box13.Widget2 connect Box11.Widget Box13.Widget1 connect Box04.BoxChange Box05.BoxExecute connect Box04.BoxChange Box07.BoxExecute connect Box01.Out Box05.Percent connect Box01.Out Box07.Percent connect Box13.Widget Box03.Widget1 connect Box19.Out Box18.In connect Box20.Out Box17.In connect Box05.Out Box06.In connect Box07.Out Box08.In connect Box20.Out Box22.In connect Box20.Out Box24.In connect Box19.Out Box25.In connect Box19.Out Box23.In connect Box29.Widget Box28.Widget1 connect Box31.Widget Box30.Widget1 connect Box33.Widget Box32.Widget1 connect Box02.Widget Box29.Widget1 connect Box28.Widget Box11.Widget2 connect Box06.Widget Box31.Widget1 connect Box30.Widget Box11.Widget1 connect Box08.Widget Box33.Widget1 connect Box32.Widget Box12.Widget1 connect Box34.Widget Box12.Widget2 connect Box37.WindowColorLevel Box38.In connect Box37.WindowColorLevel Box39.In connect Box38.Out Box02.WindowLevel connect Box39.Out Box02.ColorLevel connect Box06.wxVtkBaseView1 Box37.wxVtkBaseView connect Box38.Out Box08.WindowLevel connect Box39.Out Box08.ColorLevel connect Box00.BoxChange Box40.In1 connect Box40.BoxChange Box02.BoxExecute connect Box07.BoxChange Box41.In1 connect Box41.BoxChange Box08.BoxExecute connect Box37.BoxChange Box11.BoxExecute connect Box37.BoxChange Box40.In2 connect Box37.BoxChange Box41.In2 connect Box43.widget Box35.Widget2 connect Box44.Out Box45.In connect Box44.Out Box46.In connect Box47.Widget Box49.Widget3 connect Box35.Widget Box34.Widget3 connect Box01.Widget Box49.Widget1 connect Box49.Widget Box03.Widget2 connect Box47.Out Box06.Interpolate connect Box47.Out Box02.Interpolate connect Box47.Out Box08.Interpolate connect Box47.BoxChange Box40.In3 connect Box47.BoxChange Box41.In3 connect Box05.BoxChange Box50.In1 connect Box47.BoxChange Box50.In2 connect Box50.BoxChange Box06.BoxExecute connect Box17.Out Box00.In2 connect Box18.Out Box00.In1 connect Box23.Out Box05.In1 connect Box22.Out Box05.In2 connect Box25.Out Box07.In1 connect Box24.Out Box07.In2 # Complex input ports input BoxExecute Box04.In1 " " input VectorImate2 Box19.In " " input VectorImage1 Box20.In " " input windowcolorlevel Box44.In " " # Complex output ports output Widget Box03.Widget " " endefine