WFlags fl)
: QDialog(VISU::GetDesktop(theModule), name, modal, WStyle_Customize |
WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu | WDestructiveClose),
- mySelectionMgr(VISU::GetSelectionMgr(theModule)),
- myVisuGUI(theModule)
+ mySelectionMgr(VISU::GetSelectionMgr(theModule)),
+ myVisuGUI(theModule),
+ myPrs3d(0),
+ myIsSelectPlane(false)
{
if (!name)
setName("VisuGUI_ClippingDlg");
SpinBoxDistance->setValue(0.5);
- myPrs3d = 0;
- myIsSelectPlane = false;
onSelectionChanged();
// signals and slots connections :
Handle(SALOME_InteractiveObject) anIO = aSelectionItem.myIO;
if (!anIO.IsNull())
myIO = anIO;
-
- myPrs3d = dynamic_cast<VISU::Prs3d_i*>(aBase);
+
+ SetPrs3d(dynamic_cast<VISU::Prs3d_i*>(aBase));
if (myPrs3d) {
std::for_each(myPlanes.begin(),myPlanes.end(),TSetVisiblity(false));
myPlanes.clear();