]> Creatis software - creaMiniTools.git/blobdiff - bbtk_package_creaMiniTools/bbs/boxes/LayerCol-VolRend-SurRend_Widget.bbs
#2845 CreaMiniTools Feature New Normal - add bbtk box : LayerCol-VolRend-SurRend_Widget
[creaMiniTools.git] / bbtk_package_creaMiniTools / bbs / boxes / LayerCol-VolRend-SurRend_Widget.bbs
diff --git a/bbtk_package_creaMiniTools/bbs/boxes/LayerCol-VolRend-SurRend_Widget.bbs b/bbtk_package_creaMiniTools/bbs/boxes/LayerCol-VolRend-SurRend_Widget.bbs
new file mode 100644 (file)
index 0000000..fab2798
--- /dev/null
@@ -0,0 +1,175 @@
+# ----------------------------------
+# - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
+# - /tmpEED/creaTools/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/LayerCol-VolRend-SurRend_Widget.bbs
+# ----------------------------------
+
+include std
+include itkvtk
+include wx
+include creaImageIO
+include creaMaracasVisu
+include vtk
+include creaVtk
+include wxvtk
+include toolsbbtk
+include std
+
+define LayerCol-VolRend-SurRend_Widget creaMiniTools
+
+author "Author ??"
+description "Description ??"
+
+category "<VOID>"
+
+new wx:LayoutLine Box06
+  set Box06.WinTitle "Superpose"
+
+new wx:CommandButton Box23
+  set Box23.Label "Load Image"
+
+new creaImageIO:ImagesChooserDialogBox Box24
+  set Box24.BoxProcessMode "Manual"
+  set Box24.Title "Superpose Image"
+
+new creaMaracasVisu:ColorLayerImageView Box26
+  set Box26.TypeControlsInterface "2"
+  set Box26.lstTransparenceBoundaries "0"
+
+new vtk:VolumeRenderer Box32
+
+new creaMaracasVisu:TransferFunctionView Box33
+
+new creaVtk:Actor Box34
+
+new vtk:UpdateRender Box35
+  set Box35.Active "true"
+
+new wxvtk:IsoSurfaceWidget Box36
+
+new vtk:vtkImageDataPointerRelay Box38
+
+new wx:LayoutTab Box27
+
+new wx:LayoutLine Box28
+  set Box28.WinTitle "Layer"
+
+new wx:LayoutTab Box29
+
+new wx:LayoutLine Box30
+  set Box30.WinTitle "Volume Rendering"
+
+new wx:LayoutTab Box31
+
+new wx:LayoutLine Box37
+  set Box37.WinTitle "Surface Rendering-1"
+
+new creaMaracasVisu:ViewerNV Box39
+  set Box39.WinTitle "ups"
+
+new wx:LayoutTab Box40
+
+new wx:LayoutSplit Box41
+  set Box41.Proportion "10"
+  set Box41.WinTitle "Layer"
+
+new wx:LayoutLine Box43
+  set Box43.WinTitle "Viewer"
+
+new toolsbbtk:ImageVtkPropertiesWidget Box44
+
+new creaMaracasVisu:ImageChangeInformation Box45
+
+new wxvtk:IsoSurfaceWidget Box47
+  set Box47.Colour "1 0 0"
+
+new wx:LayoutLine Box48
+  set Box48.WinTitle "Surface Rendering-2"
+
+new wxvtk:IsoSurfaceWidget Box49
+  set Box49.Colour "0 0 1"
+
+new wx:LayoutLine Box50
+  set Box50.WinTitle "Surface Rendering-3"
+
+new std:MultipleInputs Box52
+
+new wx:LayoutSplit Box53
+  set Box53.Proportion "90"
+
+new wx:CommandButton Box54
+  set Box54.Label "Refresh"
+
+new wx:LayoutLine Box55
+  set Box55.WinTitle "Image Properties"
+
+new std:MagicBox Box56
+
+
+connect Box23.BoxChange Box24.BoxExecute
+connect Box23.BoxChange Box26.BoxExecute
+connect Box33.Active Box34.Active
+connect Box33.ColorFunction Box32.ColorFunction1
+connect Box33.OpacityFunction Box32.OpacityFunction
+connect Box32.Out Box34.In
+connect Box24.Out Box38.In
+connect Box38.Out Box26.In
+connect Box38.Out Box33.In
+connect Box38.Out Box32.In
+connect Box38.Out Box36.In
+connect Box26.Widget Box28.Widget1
+connect Box28.Widget Box27.Widget1
+connect Box27.Widget Box06.Widget2
+connect Box30.Widget Box29.Widget1
+connect Box33.Widget Box30.Widget1
+connect Box29.Widget Box06.Widget3
+connect Box37.Widget Box31.Widget1
+connect Box31.Widget Box06.Widget4
+connect Box34.BoxChange Box35.BoxExecute
+connect Box36.Widget Box37.Widget1
+connect Box23.BoxChange Box36.BoxExecute
+connect Box23.BoxChange Box33.BoxExecute
+connect Box23.BoxChange Box32.BoxExecute
+connect Box23.Widget Box41.Widget1
+connect Box40.Widget Box41.Widget2
+connect Box06.Widget Box40.Widget1
+connect Box39.Widget Box43.Widget1
+connect Box43.Widget Box40.Widget2
+connect Box24.FileName Box44.FileName
+connect Box23.BoxChange Box39.BoxExecute
+connect Box45.Out Box39.In
+connect Box38.Out Box45.In
+connect Box47.Widget Box48.Widget1
+connect Box23.BoxChange Box47.BoxExecute
+connect Box38.Out Box47.In
+connect Box48.Widget Box31.Widget2
+connect Box49.Widget Box50.Widget1
+connect Box50.Widget Box31.Widget3
+connect Box23.BoxChange Box49.BoxExecute
+connect Box38.Out Box49.In
+connect Box23.BoxChange Box52.In1
+connect Box52.BoxChange Box44.boxExecute
+connect Box45.Out Box44.in
+connect Box44.widget Box53.Widget1
+connect Box54.Widget Box53.Widget2
+connect Box54.BoxChange Box52.In2
+connect Box53.Widget Box55.Widget1
+connect Box55.Widget Box40.Widget3
+connect Box56.Out Box34.Renderer
+connect Box56.Out Box36.vtkRenderer
+connect Box56.Out Box35.Renderer
+connect Box56.Out Box47.vtkRenderer
+connect Box56.Out Box49.vtkRenderer
+
+# Complex input ports
+input Rederer3D Box56.In " "
+input vtkbaseview1 Box26.WxVtkBaseView " "
+input vtkbaseview2 Box26.WxVtkBaseView1 " "
+input vtkbaseview3 Box26.WxVtkBaseView2 " "
+input title Box41.WinTitle " "
+
+# Complex output ports
+output widgetLayer Box41.Widget " "
+
+message    
+
+endefine