]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
To increase opacity for segmentation cursor
authorapo <apo@opencascade.com>
Thu, 29 Sep 2005 07:25:32 +0000 (07:25 +0000)
committerapo <apo@opencascade.com>
Thu, 29 Sep 2005 07:25:32 +0000 (07:25 +0000)
src/VVTK/VVTK_Renderer.cxx

index 82a8396e02b13dd3f44677b520c8b3b0d78c0d08..3c83b3c7e7e924f7ab4de38e27d69ab7ce4c4155 100644 (file)
@@ -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();
   //