]> Creatis software - creaMaracasVisu.git/blobdiff - bbtk/bbs/appli/exampleColorLayer.bbs
#2490 creaMaracasVisu Feature New High - Histogram Interaction
[creaMaracasVisu.git] / bbtk / bbs / appli / exampleColorLayer.bbs
index 113b44d565fef6ff95471c7790065b84abbe6dd3..2a3fd264486cb1879fee25fbf020c7fa4a86d8cb 100644 (file)
@@ -18,8 +18,8 @@ category "<VOID>"
 
 new ColorLayerImageView Box00
   set Box00.PlainOrGradientColor "false"
-  set Box00.lstBaseColor "0 1 0 1 1 0 1 0 0"
-  set Box00.lstGreyLevelBoundaries "500 1200 1600 3000"
+  set Box00.lstBaseColor "1 0 0 0 1 0 0 0 1"
+  set Box00.lstGreyLevelBoundaries "500 1200 1600 4500"
 
 new LoadHola Box01
 
@@ -28,10 +28,14 @@ new ViewerNV Box02
 new LayoutSplit Box03
   set Box03.Orientation "H"
 
+new vtkImageDataPointerRelay Box04
 
-connect Box01.Out Box00.In
+new RescaleSlopeIntercept Box05
+  set Box05.A "0"
+  set Box05.B "1"
+  set Box05.OutputFormat "VTK_FLOAT"
+  set Box05.Type "2"
 
-connect Box01.Out Box02.In
 
 connect Box02.wxVtkBaseView2 Box00.WxVtkBaseView
 
@@ -43,6 +47,14 @@ connect Box00.Widget Box03.Widget1
 
 connect Box02.Widget Box03.Widget2
 
+connect Box04.Out Box02.In
+
+connect Box04.Out Box00.In
+
+connect Box01.Out Box05.In
+
+connect Box05.Out Box04.In
+
 
 
 # Complex input ports