]> Creatis software - creaVtk.git/blobdiff - bbtk_creaVtk_PKG/bbs/appli/examplePolyDataNormals.bbs
#3486 PolyDataNormals box
[creaVtk.git] / bbtk_creaVtk_PKG / bbs / appli / examplePolyDataNormals.bbs
diff --git a/bbtk_creaVtk_PKG/bbs/appli/examplePolyDataNormals.bbs b/bbtk_creaVtk_PKG/bbs/appli/examplePolyDataNormals.bbs
new file mode 100644 (file)
index 0000000..fc62018
--- /dev/null
@@ -0,0 +1,88 @@
+# ----------------------------------
+# - BBTKGEditor v 1.5 BBS BlackBox Script
+# - /Users/davila/Creatis/C11/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/examplePolyDataNormals.bbs
+# ----------------------------------
+
+# BBTK GEditor Script
+# ----------------------
+
+include std
+include itkvtk
+include vtk
+include creaMaracasVisu
+include wx
+include creaVtk
+
+author "Author ??"
+description "Description ??"
+category "<VOID>"
+
+new vtk:LoadHola Box02
+
+new vtk:MarchingCubes Box03
+  set Box03.Value "2039"
+
+new creaMaracasVisu:ViewerNV Box05
+
+new vtk:PolyDataToActor Box06
+
+new wx:LayoutSplit Box07
+  set Box07.Orientation "H"
+
+new wx:LayoutLine Box08
+
+new creaVtk:PointPicker Box10
+  set Box10.TypeEvent "2"
+
+new wx:OutputText Box12
+  set Box12.Title "Normals"
+
+new creaVtk:PolyDataNormals Box13
+
+new wx:OutputText Box14
+  set Box14.Title "Point"
+
+new creaVtk:MeshReduction_DecimatePro Box16
+  set Box16.TargetReduction "0.9"
+
+new wx:OutputText Box17
+
+
+connect Box02.Out Box03.In
+
+connect Box02.Out Box05.In
+
+connect Box05.Renderer1 Box06.Renderer
+
+connect Box05.Widget Box07.Widget2
+
+connect Box08.Widget Box07.Widget1
+
+connect Box05.Renderer1 Box10.Renderer
+
+connect Box10.Normal Box12.In
+
+connect Box10.BoxChange Box12.BoxExecute
+
+connect Box06.Out Box10.Prop3D
+
+connect Box13.Out Box06.In
+
+connect Box10.Point Box14.In
+
+connect Box10.BoxChange Box14.BoxExecute
+
+connect Box14.Widget Box08.Widget5
+
+connect Box03.Out Box16.In
+
+connect Box16.Out Box13.In
+
+connect Box12.Widget Box08.Widget7
+
+connect Box17.Widget Box08.Widget3
+
+
+
+# Complex input ports
+exec Box07