]> Creatis software - creaMiniTools.git/blobdiff - bbtk_package_creaMiniTools/bbs/boxes/crop-viewer-widget.bbs
#2999 CreaMiniTools Feature New Normal - crop-viewer-widget-manaul
[creaMiniTools.git] / bbtk_package_creaMiniTools / bbs / boxes / crop-viewer-widget.bbs
diff --git a/bbtk_package_creaMiniTools/bbs/boxes/crop-viewer-widget.bbs b/bbtk_package_creaMiniTools/bbs/boxes/crop-viewer-widget.bbs
new file mode 100644 (file)
index 0000000..6aabbb9
--- /dev/null
@@ -0,0 +1,106 @@
+# ----------------------------------
+# - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
+# - /tmpEED/creaTools/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/crop-viewer-widget.bbs
+# ----------------------------------
+
+include std
+include itkvtk
+include vtk
+include creaVtk
+include creaMaracasVisu
+include wx
+include std
+include wxvtk
+
+define crop-viewer-widget creaMiniTools
+
+author "Author ??"
+description "Description ??"
+
+category "<VOID>"
+
+new vtk:ExtractVtkImageFilter Box22
+
+new vtk:VolumeRenderer Box29
+
+new creaVtk:Actor Box30
+  set Box30.Active "true"
+
+new creaMaracasVisu:TransferFunctionView Box31
+
+new wx:LayoutLine Box32
+
+new vtk:UpdateRender Box33
+  set Box33.Active "true"
+
+new std:MultipleInputs Box34
+
+new wxvtk:IsoSurfaceWidget Box35
+
+new std:MathOperationVector Box54
+  set Box54.In1 "-2 -2 -2"
+  set Box54.Type "3"
+
+new std:MathOperationVector Box56
+  set Box56.In1 "-2 -2 -2"
+
+new creaMaracasVisu:ImageChangeInformation Box69
+  set Box69.NewSpacing "1 1 1"
+
+new wx:RadioButton Box83
+  set Box83.In0 "Open"
+  set Box83.In1 "Close"
+
+new std:MathOperation Box84
+  set Box84.In2 "-1"
+
+new vtk:CleanExternalPlane Box85
+
+new std:MagicBox Box88
+
+new std:MagicBox Box89
+
+
+connect Box31.Active Box30.Active
+connect Box31.OpacityFunction Box29.OpacityFunction
+connect Box31.ColorFunction Box29.ColorFunction1
+connect Box29.Out Box30.In
+connect Box30.BoxChange Box33.BoxExecute
+connect Box34.BoxChange Box31.BoxExecute
+connect Box34.BoxChange Box29.BoxExecute
+connect Box22.Out Box29.In
+connect Box54.Out Box56.In1
+connect Box56.Out Box22.Index
+connect Box22.Out Box69.In
+connect Box35.Widget Box32.Widget3
+connect Box31.Widget Box32.Widget2
+connect Box83.Widget Box32.Widget1
+connect Box83.Out Box84.In1
+connect Box69.Out Box85.In
+connect Box85.Out Box31.In
+connect Box84.Out Box85.Type
+connect Box34.BoxChange Box22.BoxExecute
+connect Box88.Out Box35.vtkRenderer
+connect Box88.Out Box30.Renderer
+connect Box88.Out Box33.Renderer
+connect Box89.Out Box54.In0
+connect Box89.Out Box22.Size
+connect Box83.BoxChange Box34.In2
+connect Box34.BoxChange Box85.BoxExecute
+connect Box85.Out Box35.In
+connect Box34.BoxChange Box35.BoxExecute
+
+# Complex input ports
+input renderer Box88.In " "
+input box_Execute Box34.In1 " "
+input image Box22.In " "
+input position Box56.In0 " "
+input size Box89.In " "
+input title Box32.WinTitle " "
+
+# Complex output ports
+output widget Box32.Widget " "
+
+message    
+
+endefine