]> Creatis software - creaMaracasVisu.git/blobdiff - bbtk/bbs/boxes/SliceImage-3DVisu.bbs
#3469 ImageActor Interpolation
[creaMaracasVisu.git] / bbtk / bbs / boxes / SliceImage-3DVisu.bbs
index 10a34a36efe8737d33a9b94e479a48696a891871..93d111247ef64952863ebb0122d58ed71ea41a3c 100644 (file)
@@ -31,7 +31,7 @@ new std:ConcatStrings Box18
 new vtk:ImageVtkProperties Box20
 
 new creaVtk:ScalarsToColors Box22
-  set Box22.Type "1"
+  set Box22.Type "101"
 
 new vtk:Transform Box32
 
@@ -156,6 +156,10 @@ new std:MagicBox Box83
 
 new std:MagicBox Box78
 
+new std:MagicBox Box84
+
+new std:MagicBox Box85
+
 
 connect Box22.LookupTable Box04.LookupTable
 connect Box32.Out Box04.Transform
@@ -213,7 +217,9 @@ connect Box20.Size Box82.In0
 connect Box82.Out Box34.In
 connect Box82.Out Box44.In
 connect Box83.Out Box26.Active
-connect Box78.Out Box00.InterpolationMode
+connect Box78.Out Box04.InterpolationMode
+connect Box84.Out Box22.Type
+connect Box85.Out Box22.BelowAboveRangeTransparence
 
 # Complex input ports
 input Direction Box40.In1 " "
@@ -225,6 +231,8 @@ input Render Box61.In " "
 input WindowColorLevel Box65.In1 " "
 input BorderActive Box83.In " "
 input Interpolation_mode Box78.In " "
+input TypeTransparence Box84.In " "
+input transparenceBeforeAboveRange Box85.In " "
 
 # Complex output ports
 output BoxChangeImageSlice Box04.BoxChange " "