]> Creatis software - creaContours.git/blobdiff - bbtk/bbs/boxes/ContourReferenceGrid.bbs
#3387 ContourReferenceGrid
[creaContours.git] / bbtk / bbs / boxes / ContourReferenceGrid.bbs
diff --git a/bbtk/bbs/boxes/ContourReferenceGrid.bbs b/bbtk/bbs/boxes/ContourReferenceGrid.bbs
new file mode 100644 (file)
index 0000000..32e0d40
--- /dev/null
@@ -0,0 +1,226 @@
+# ----------------------------------
+# - BBTKGEditor v 1.5 BBS BlackBox Script (Complex Box)
+# - /Users/davila/Creatis/C23/creatools_source/creaContours/bbtk/bbs/boxes/ContourReferenceGrid.bbs
+# ----------------------------------
+
+include std
+include itkvtk
+include std
+include creaMaracasVisu
+include vtk
+include creaVtk
+
+define ContourReferenceGrid creaContours
+
+author "Author ??"
+description "Description ??"
+
+category "<VOID>"
+
+new std:VectorFilterDouble Box05
+
+new creaMaracasVisu:ReadCreaContourFile Box26
+  set Box26.FromDirection "0"
+
+new std:MixingVectors Box31
+
+new vtk:vtkImageDataPointerRelay Box32
+
+new vtk:ImageVtkProperties Box33
+
+new std:GetVectorDoubleElement Box37
+  set Box37.I "2"
+
+new std:CreateArithmeticSuiteVector Box38
+  set Box38.Delta "0"
+  set Box38.FirstValue "2"
+
+new std:GetDoubleVectorSize Box39
+
+new std:MixingVectors Box45
+
+new std:CreateArithmeticSuiteVector Box46
+  set Box46.Delta "0"
+  set Box46.FirstValue "-1000"
+
+new std:ConcatStrings Box47
+
+new vtk:Transform Box49
+
+new creaMaracasVisu:DrawAxisTree3D Box50
+  set Box50.Colour "1 1 0"
+  set Box50.LineWidth "1"
+  set Box50.iAxis "11"
+
+new std:MixingVectors Box51
+
+new std:CreateArithmeticSuiteVector Box59
+  set Box59.Delta "0"
+  set Box59.FirstValue "1000"
+
+new std:Mul Box62
+  set Box62.In2 "2"
+
+new std:ConcatStrings Box58
+
+new std:MagicBox Box61
+
+new std:ConcatStrings Box63
+
+new std:MagicBox Box64
+
+new std:MagicBox Box65
+
+new creaVtk:Actor Box30
+  set Box30.Active "true"
+  set Box30.Color "0 0 1"
+  set Box30.LineWidth "2"
+  set Box30.Opacity "1"
+
+new creaVtk:Actor Box35
+  set Box35.Active "true"
+  set Box35.BoxProcessMode "Reactive"
+  set Box35.Color "0 0 1"
+  set Box35.LineWidth "2"
+  set Box35.Opacity "1"
+
+new std:VectorFilterDouble Box40
+  set Box40.Type "8"
+
+new std:ConcatStrings Box44
+
+new std:MultipleInputs Box48
+
+new creaMaracasVisu:DrawAxisTree3D Box54
+  set Box54.Colour "1 1 0"
+  set Box54.LineWidth "1"
+  set Box54.iAxis "12"
+
+new std:MathOperationVector Box66
+  set Box66.Type "-17"
+
+new std:GetVectorDoubleElement Box68
+  set Box68.I "0"
+
+new std:CreateArithmeticSuiteVector Box71
+  set Box71.Delta "0"
+  set Box71.FirstValue "0"
+
+new std:CreateArithmeticSuiteVector Box72
+  set Box72.Delta "0"
+  set Box72.FirstValue "0"
+
+new std:MathOperationVector Box73
+  set Box73.Type "-16"
+
+new std:GetVectorDoubleElement Box74
+  set Box74.I "0"
+
+new std:CreateArithmeticSuiteVector Box76
+  set Box76.Delta "0"
+  set Box76.FirstValue "0"
+
+new std:CreateArithmeticSuiteVector Box77
+  set Box77.Delta "0"
+  set Box77.FirstValue "0"
+
+new std:GetVectorDoubleElement Box82
+  set Box82.I "1"
+
+new std:GetVectorDoubleElement Box83
+  set Box83.I "1"
+
+new std:Mul Box84
+  set Box84.In2 "-1"
+
+new std:Add Box85
+
+new std:Mul Box86
+  set Box86.In2 "-1"
+
+new std:Add Box87
+
+new std:Mul Box70
+  set Box70.In2 "2"
+
+
+connect Box26.LstZ Box05.In0
+connect Box32.Out Box33.In
+connect Box33.Size Box47.In1
+connect Box47.Out Box37.In
+connect Box39.VectorSize Box38.Size
+connect Box33.Spacing Box49.Scale
+connect Box49.Out Box50.Transform
+connect Box38.ArithmeticSuiteVector Box50.lstIndexs
+connect Box31.Out Box50.lstPointY
+connect Box59.ArithmeticSuiteVector Box50.lstPointX
+connect Box39.VectorSize Box62.In1
+connect Box62.Out Box59.Size
+connect Box58.Out Box50.Opacity
+connect Box61.BoxChange Box26.BoxExecute
+connect Box63.Out Box26.FileNameRoi
+connect Box64.Out Box50.Renderer
+connect Box50.OutAxis Box30.In
+connect Box05.Out0 Box40.In0
+connect Box30.BoxChange Box48.In4
+connect Box35.BoxChange Box48.In1
+connect Box61.BoxChange Box48.BoxExecute
+connect Box58.Out Box54.Opacity
+connect Box65.Out Box54.Renderer
+connect Box49.Out Box54.Transform
+connect Box38.ArithmeticSuiteVector Box54.lstIndexs
+connect Box45.Out Box54.lstPointX
+connect Box31.Out Box54.lstPointY
+connect Box46.ArithmeticSuiteVector Box54.lstPointZ
+connect Box54.OutAxis Box35.In
+connect Box44.Out Box54.iAxis
+connect Box44.Out Box50.iAxis
+connect Box40.Out0 Box39.In
+connect Box40.Out0 Box31.In1
+connect Box40.Out0 Box31.In2
+connect Box26.LstX Box66.In0
+connect Box26.LstY Box66.In1
+connect Box66.Out Box68.In
+connect Box51.Out Box50.lstPointZ
+connect Box39.VectorSize Box71.Size
+connect Box72.ArithmeticSuiteVector Box45.In2
+connect Box68.Out Box72.FirstValue
+connect Box39.VectorSize Box72.Size
+connect Box26.LstX Box73.In0
+connect Box26.LstY Box73.In1
+connect Box73.Out Box74.In
+connect Box76.ArithmeticSuiteVector Box45.In1
+connect Box74.Out Box76.FirstValue
+connect Box39.VectorSize Box76.Size
+connect Box39.VectorSize Box77.Size
+connect Box26.LstZ Box73.In2
+connect Box26.LstZ Box66.In2
+connect Box71.ArithmeticSuiteVector Box51.In2
+connect Box77.ArithmeticSuiteVector Box51.In1
+connect Box73.Out Box83.In
+connect Box66.Out Box82.In
+connect Box83.Out Box84.In1
+connect Box84.Out Box85.In1
+connect Box37.Out Box85.In2
+connect Box85.Out Box71.FirstValue
+connect Box86.Out Box87.In1
+connect Box37.Out Box87.In2
+connect Box87.Out Box77.FirstValue
+connect Box82.Out Box86.In1
+connect Box70.Out Box46.Size
+connect Box39.VectorSize Box70.In1
+
+# Complex input ports
+input boxExecute Box61.BoxExecute " "
+input NameFileContour Box63.In1 " "
+input Image Box32.In " "
+input RenderXY Box64.In " "
+input RenderYZ Box65.In " "
+input opacity Box58.In1 " "
+input iaxis Box44.In1 " "
+
+# Complex output ports
+output boxChange Box48.BoxChange " "
+
+
+endefine