From: apo Date: Thu, 29 Sep 2005 07:25:32 +0000 (+0000) Subject: To increase opacity for segmentation cursor X-Git-Tag: BR-D5-38-2003_D2005-12-10~113 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8b84d5af5eaae027ec38bc92ae9cb9d174087d01;p=modules%2Fvisu.git To increase opacity for segmentation cursor --- diff --git a/src/VVTK/VVTK_Renderer.cxx b/src/VVTK/VVTK_Renderer.cxx index 82a8396e..3c83b3c7 100644 --- a/src/VVTK/VVTK_Renderer.cxx +++ b/src/VVTK/VVTK_Renderer.cxx @@ -136,9 +136,9 @@ VVTK_Renderer1 myImplicitFunctionWidget->SetPlaceFactor(1.0); myImplicitFunctionWidget->SetOutlineTranslation(false); - //vtkProperty* aSelectedPlaneProperty = myImplicitFunctionWidget->GetSelectedPlaneProperty(); - //vtkProperty* aPlaneProperty = myImplicitFunctionWidget->GetPlaneProperty(); - //aPlaneProperty->SetOpacity(aSelectedPlaneProperty->GetOpacity()*1.5); + vtkProperty* aSelectedPlaneProperty = myImplicitFunctionWidget->GetSelectedPlaneProperty(); + vtkProperty* aPlaneProperty = myImplicitFunctionWidget->GetPlaneProperty(); + aPlaneProperty->SetOpacity(aSelectedPlaneProperty->GetOpacity()*1.5); myImplicitFunctionWidget->Delete(); //