_contourVtkActor = vtkActor::New();
//EED 2023-07-27
-// _contourVtkActor->GetProperty()->SetOpacity(1.0);
- _contourVtkActor->GetProperty()->SetOpacity(0.9999);
+ _contourVtkActor->GetProperty()->SetOpacity(1.0);
+// _contourVtkActor->GetProperty()->SetOpacity(0.9999);
_bboxMapper = vtkPolyDataMapper::New();
_bboxMapper->ScalarVisibilityOff( );
if (ok==true)
{
// EED 2023-07-27
-// opacity = 1;
- opacity = 0.9999;
+ opacity = 1;
+// opacity = 0.9999;
opacity = 0.4;
} else {
opacity = 0.5;
_pointVtkActor = vtkActor::New();
//EED 2023-07-27
- // _contourVtkActor->GetProperty()->SetOpacity(1.0);
- _pointVtkActor->GetProperty()->SetOpacity(0.9999);
+ _pointVtkActor->GetProperty()->SetOpacity(1);
+// _pointVtkActor->GetProperty()->SetOpacity(0.9999);
_bboxMapper = vtkPolyDataMapper::New();
// // _aRenderer->SetMaximumNumberOfPeels(100);
// _aRenderer->SetMaximumNumberOfPeels(4);
+ _aRenderer->UseDepthPeelingOn();
+ _aRenderer->UseDepthPeelingForVolumesOn();
+
_renWin->SetMultiSamples(0);
_renWin->SetAlphaBitPlanes(1);