]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/ColorLayerImageView.cxx
#3465 SetwxVtkBaseViewSetOpacityAxis box
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / ThresholdImageView / ColorLayerImageView.cxx
index 3d848abee2afa6857b50a3fca8f74a69b46af89b..0ac45b649d867a372e35e754caa7e9305a67a290 100644 (file)
@@ -371,6 +371,12 @@ void ColorLayerImageView::ConfigLookupTable()  // virtual
   thresholdTable_range[0]= GetGreyLevelBoundaries(0);
 
   thresholdTable->SetTableRange(thresholdTable_range); 
+
+  thresholdTable->SetBelowRangeColor(1,1,1,0);  // White transparent 
+  thresholdTable->SetAboveRangeColor(1,1,1,0);  // White transparent 
+  thresholdTable->UseBelowRangeColorOn();
+  thresholdTable->UseAboveRangeColorOn();
+  
   thresholdTable->SetAlphaRange( 0,1 );
   thresholdTable->SetValueRange( 0,1 );