mgr->setRule( action( GAUSS_DISPLAY_ONLY_PRS ),
aRule, true );
- QString aSVTKCompatiblePrs;
- aSVTKCompatiblePrs =
- "'VISU::TSCALARMAP' "
- "'VISU::TISOSURFACE' "
- "'VISU::TDEFORMEDSHAPE' "
- "'VISU::TCUTPLANES' "
- "'VISU::TCUTLINES' "
- "'VISU::TVECTORS' "
- "'VISU::TSTREAMLINES' "
- "'VISU::TPLOT3D'";
-
- aRule =
- "(client='ObjectBrowser' and selcount>0 and ("
- "(type='VISU::TTABLE' and nbChildren>0) or "
- "($type in {'VISU::TCURVE' 'VISU::TCONTAINER'}) or "
- "$type in {" + aSVTKCompatiblePrs +"} or "
- "$type='VISU::TGAUSSPOINTS' "
- ")) and (isVisible=false)";
-
- mgr->setRule( action( VISU_DISPLAY ), aRule, true );
-
mgr->setRule( action( VISU_SAVE_VIEW_PARAMS ), "selcount=1 and $type in {'VISU::TVIEW3D' VISU::TGAUSSVIEW}", true );
mgr->setRule( action( VISU_SAVE_VIEW_PARAMS_1 ), "$client in {'VTKViewer' 'SVTK'} and selcount=0", true );
aRule = "selcount=1 and "