VisuGUI
::OnCreateMesh()
{
- cout << "MULTIPR: file=" << __FILE__<< " line=" << __LINE__ << " func=OnCreateMesh()" << endl;
-
_PTR(Study) aStudy = GetCStudy(GetAppStudy(this));
if (CheckLock(aStudy,GetDesktop(this)))
return;
if (!GetViewWindow<TViewer>(theModule))
return;
- //TPrs3d_i* aPrs3d =
CreateAndEditPrs3d<TPrs3d_i,TViewer,TDlg,IsDlgModal>
(theModule,theTimeStampSObj,thePublishInStudyMode);
//************************************************************
// Others
- void CreateMesh (const SalomeApp_Module* theModule,
- const Handle(SALOME_InteractiveObject)& theIO,
- SVTK_ViewWindow* theViewWindow)
+ void
+ CreateMesh(VisuGUI* theModule,
+ const Handle(SALOME_InteractiveObject)& theIO,
+ SVTK_ViewWindow* theViewWindow)
{
_PTR(Study) aStudy = GetCStudy(GetAppStudy(theModule));
//if (CheckLock(aStudy))
}
}
- SalomeApp_Module* aModule = (SalomeApp_Module*)theModule;
- UpdateObjBrowser(aModule, false, aResultSObj);
+ UpdateObjBrowser(theModule, false, aResultSObj);
+ RestoreSelection(theModule);
theModule->application()->putInfo(QObject::tr("INF_DONE"));
// Make "Save" button active
/*! Create mesh presentation and display it in \a theViewWindow.
* If \a theViewWindow is NULL, no displaying will be done.
*/
- void CreateMesh (const SalomeApp_Module* theModule,
- const Handle(SALOME_InteractiveObject)& theIO,
- SVTK_ViewWindow* theViewWindow = NULL);
-
+ void CreateMesh(VisuGUI* theModule,
+ const Handle(SALOME_InteractiveObject)& theIO,
+ SVTK_ViewWindow* theViewWindow);
+
// Others
std::vector<VISU::Prs3d_i*> GetPrs3dList (const SalomeApp_Module* theModule,
const Handle(SALOME_InteractiveObject)& theIO);