         >
 renderKernel getKernelWithClipPlane(vvRayRend* rayRend)
 {
-  if ((bool)rayRend->getParameter(vvRenderState::VV_IS_ROI_USED)
-     && (bool)rayRend->getParameter(vvRenderState::VV_SPHERICAL_ROI))
+  if (((rayRend->getParameter(vvRenderState::VV_IS_ROI_USED)!=0.0)
+     && (rayRend->getParameter(vvRenderState::VV_SPHERICAL_ROI)!=0.0)))
   {
     return getKernelWithSphereAsProbe<
                                       t_bpc,

  {
  case vvRenderer::VV_SLICEINT:
    {
      const bool newInterpol = static_cast<bool>(newValue);
      if (_interpolation != newInterpol)
      {
        _interpolation = newInterpol;

    }
    break;
  case vvRenderer::VV_LIGHTING:
    _illumination = (newValue!=0.0);
    break;
  case vvRenderer::VV_OPCORR:
    _opacityCorrection = (newValue!=0.0);
    break;
  case vvRenderer::VV_TERMINATEEARLY:
    _earlyRayTermination = (newValue!=0.0);
    break;
  default:
    vvRenderer::setParameter(param, newValue);
