Version: 8.3.0
SMESHGUI Class Reference

#include <SMESHGUI.h>

Inheritance diagram for SMESHGUI:

Public Slots

virtual bool deactivateModule (SUIT_Study *)
 
virtual bool activateModule (SUIT_Study *)
 
virtual void studyClosed (SUIT_Study *)
 
void onViewClosed (SUIT_ViewWindow *)
 Signal handler closing(SUIT_ViewWindow*) of a view. More...
 

Signals

void SignalDeactivateActiveDialog ()
 
void SignalStudyFrameChanged ()
 
void SignalCloseAllDialogs ()
 
void SignalVisibilityChanged ()
 
void SignalCloseView ()
 
void SignalActivatedViewManager ()
 

Public Member Functions

 SMESHGUI ()
 
 ~SMESHGUI ()
 
bool isActiveStudyLocked ()
 
virtual LightApp_Displayerdisplayer ()
 
virtual QString engineIOR () const
 
virtual void initialize (CAM_Application *)
 
virtual void windows (QMap< int, int > &) const
 
virtual void viewManagers (QStringList &) const
 
QDialogGetActiveDialogBox ()
 
void SetActiveDialogBox (QDialog *)
 
void ResetState ()
 
void SetState (int)
 
int GetState () const
 
bool DefineDlgPosition (QWidget *, int &, int &)
 
void switchToOperation (int)
 Stops current operations and starts a given one. More...
 
virtual bool OnGUIEvent (int)
 
virtual bool OnMousePress (QMouseEvent *, SUIT_ViewWindow *)
 
virtual bool OnMouseMove (QMouseEvent *, SUIT_ViewWindow *)
 
virtual bool OnKeyPress (QKeyEvent *, SUIT_ViewWindow *)
 
virtual LightApp_SelectioncreateSelection () const
 
virtual void BuildPresentation (const Handle(SALOME_InteractiveObject)&, SUIT_ViewWindow *=0)
 Method: BuildPresentation(const Handle(SALOME_InteractiveObject)& theIO) Purpose: ensures that the actor for the given <theIO> exists in the active VTK view. More...
 
void EmitSignalDeactivateDialog ()
 
void EmitSignalStudyFrameChanged ()
 
void EmitSignalCloseAllDialogs ()
 
void EmitSignalVisibilityChanged ()
 
void EmitSignalCloseView ()
 
void EmitSignalActivatedViewManager ()
 
virtual void contextMenuPopup (const QString &, QMenu *, QString &)
 
virtual void createPreferences ()
 
virtual void preferencesChanged (const QString &, const QString &)
 
virtual void message (const QString &)
 
virtual void update (const int)
 Update something in accordance with update flags. More...
 
virtual void storeVisualParameters (int savePoint)
 Store visual parameters. More...
 
virtual void restoreVisualParameters (int savePoint)
 Restore visual parameters. More...
 
virtual void addActorAsObserver (SMESH_Actor *theActor)
 
virtual bool renameAllowed (const QString &) const
 Return true if object can be renamed. More...
 
virtual bool renameObject (const QString &, const QString &)
 Rename object by entry. More...
 
SMESHGUI_ClippingPlaneInfoMapgetClippingPlaneInfoMap ()
 

Static Public Member Functions

static SMESH::SMESH_Gen_var GetSMESHGen ()
 
static SMESHGUIGetSMESHGUI ()
 
static LightApp_SelectionMgr * selectionMgr ()
 
static SUIT_ResourceMgr * resourceMgr ()
 
static SUIT_Desktop * desktop ()
 
static SalomeApp_Study * activeStudy ()
 
static bool automaticUpdate (unsigned int requestedSize=0, bool *limitExceeded=0)
 
static bool automaticUpdate (SMESH::SMESH_IDSource_ptr, int *, bool *, int *, long *)
 
static void Modified (bool=true)
 
static SALOMEDS::Color getUniqueColor (const QList< SALOMEDS::Color > &)
 
static SALOMEDS::Color getPredefinedUniqueColor ()
 

Protected Member Functions

void createSMESHAction (const int, const QString &, const QString &=QString(), const int=0, const bool=false, const QString &=QString())
 
void createPopupItem (const int, const QString &, const QString &, const QString &=QString(), const int=-1)
 
virtual LightApp_OperationcreateOperation (const int) const
 Creates operation with given identifier. More...
 
virtual bool isSelectionCompatible ()
 Return true if SMESH or GEOM objects are selected. More...
 
virtual bool reusableOperation (const int id)
 

Static Protected Member Functions

static void ProcessEvents (vtkObject *theObject, unsigned long theEvent, void *theClientData, void *theCallData)
 

Private Slots

void OnGUIEvent ()
 
void onViewManagerActivated (SUIT_ViewManager *)
 
void onViewManagerRemoved (SUIT_ViewManager *)
 
void onOperationCommited (SUIT_Operation *)
 Set default selection mode. More...
 
void onOperationAborted (SUIT_Operation *)
 Set default selection mode. More...
 
void onHypothesisEdit (int result)
 Actions after hypothesis edition Updates object browser after hypothesis edition. More...
 
void onUpdateControlActions ()
 Actions after choosing menu of control modes Updates control mode actions according to current selection. More...
 

Private Member Functions

void OnEditDelete ()
 
int addVtkFontPref (const QString &, const int, const QString &, const bool=false)
 Adds preferences for dfont of VTK viewer. More...
 
void connectView (const SUIT_ViewWindow *)
 Connects or disconnects signals about activating and cloning view on the module slots. More...
 

Private Attributes

QDialogmyActiveDialogBox
 
int myState
 
QMap< int, QString > myRules
 
LightApp_DisplayermyDisplayer
 
SMESHGUI_FilterLibraryDlgmyFilterLibraryDlg
 
SMESHGUI_StudyId2MarkerMap myMarkerMap
 
SMESHGUI_ClippingPlaneInfoMap myClippingPlaneInfoMap
 
vtkSmartPointer
< vtkCallbackCommand > 
myEventCallbackCommand
 
double myPriority
 

Static Private Attributes

static SMESH::SMESH_Gen_var myComponentSMESH = SMESH::SMESH_Gen::_nil()
 

Constructor & Destructor Documentation

SMESHGUI::~SMESHGUI ( )

Member Function Documentation

bool SMESHGUI::activateModule ( SUIT_Study *  study)
virtualslot
void SMESHGUI::addActorAsObserver ( SMESH_Actor theActor)
virtual
int SMESHGUI::addVtkFontPref ( const QString &  label,
const int  pId,
const QString &  param,
const bool  needSize = false 
)
private

Adds preferences for dfont of VTK viewer.

Parameters
labellabel
pIfgroup identifier
paramparameter
Returns
identifier of preferences

Referenced by createPreferences().

bool SMESHGUI::automaticUpdate ( unsigned int  requestedSize = 0,
bool limitExceeded = 0 
)
static
void SMESHGUI::BuildPresentation ( const Handle(SALOME_InteractiveObject)&  theIO,
SUIT_ViewWindow *  wnd = 0 
)
virtual

Method: BuildPresentation(const Handle(SALOME_InteractiveObject)& theIO) Purpose: ensures that the actor for the given <theIO> exists in the active VTK view.

References SMESH::eDisplay, and SMESH::UpdateView().

void SMESHGUI::connectView ( const SUIT_ViewWindow *  pview)
private

Connects or disconnects signals about activating and cloning view on the module slots.

Parameters
pviewview which is connected/disconnected

References onViewClosed().

Referenced by activateModule(), and onViewManagerActivated().

void SMESHGUI::contextMenuPopup ( const QString &  client,
QMenu *  menu,
QString &  title 
)
virtual
LightApp_Operation * SMESHGUI::createOperation ( const int  id) const
protectedvirtual

Creates operation with given identifier.

Parameters
id- identifier of operation to be started
Returns
Pointer on created operation or NULL if operation is not created

Virtual method redefined from the base class creates operation with given id. It is called called automatically from startOperation method of base class.

References SMESHOp::OpCompute, SMESHOp::OpComputeSubMesh, SMESHOp::OpConvertMeshToQuadratic, SMESHOp::OpCreateBoundaryElements, SMESHOp::OpCreateGeometryGroup, SMESHOp::OpCreateMesh, SMESHOp::OpCreateSubMesh, SMESHOp::OpEditMesh, SMESHOp::OpEditMeshOrSubMesh, SMESHOp::OpEditSubMesh, SMESHOp::OpElem0DOnElemNodes, SMESHOp::OpEvaluate, SMESHOp::OpFindElementByPoint, SMESHOp::OpMeshOrder, SMESHOp::OpMoveNode, SMESHOp::OpPreCompute, SMESHOp::OpReorientFaces, and SMESHOp::OpSplitBiQuadratic.

void SMESHGUI::createPopupItem ( const int  id,
const QString &  clients,
const QString &  types,
const QString &  theRule = QString(),
const int  pId = -1 
)
protected

References myRules.

Referenced by initialize().

void SMESHGUI::createPreferences ( )
virtual
LightApp_Selection * SMESHGUI::createSelection ( ) const
virtual
void SMESHGUI::createSMESHAction ( const int  id,
const QString &  po_id,
const QString &  icon_id = QString(),
const int  key = 0,
const bool  toggle = false,
const QString &  shortcutAction = QString() 
)
protected

References OnGUIEvent(), and resourceMgr().

Referenced by initialize().

bool SMESHGUI::deactivateModule ( SUIT_Study *  study)
virtualslot
bool SMESHGUI::DefineDlgPosition ( QWidget aDlg,
int x,
int y 
)

References desktop().

LightApp_Displayer * SMESHGUI::displayer ( )
virtual

References myDisplayer.

Referenced by restoreVisualParameters().

void SMESHGUI::EmitSignalActivatedViewManager ( )
void SMESHGUI::EmitSignalCloseAllDialogs ( )

References SignalCloseAllDialogs().

Referenced by deactivateModule().

void SMESHGUI::EmitSignalCloseView ( )

References SignalCloseView().

Referenced by onViewClosed().

void SMESHGUI::EmitSignalDeactivateDialog ( )

References SignalDeactivateActiveDialog().

Referenced by SMESHGUI_MeasureDlg::activate(), SMESHGUI_MeshInfoDlg::activate(), SMESHGUI_CtrlInfoDlg::activate(), SMESHGUI_RenumberingDlg::ActivateThisDialog(), SMESHGUI_RemoveElementsDlg::ActivateThisDialog(), SMESHGUI_RemoveNodesDlg::ActivateThisDialog(), SMESHGUI_NodesDlg::ActivateThisDialog(), SMESHGUI_CopyMeshDlg::ActivateThisDialog(), SMESHGUI_BuildCompoundDlg::ActivateThisDialog(), SMESHGUI_AddMeshElementDlg::ActivateThisDialog(), SMESHGUI_SmoothingDlg::ActivateThisDialog(), SMESHGUI_CreatePolyhedralVolumeDlg::ActivateThisDialog(), SMESHGUI_ExtrusionAlongPathDlg::ActivateThisDialog(), SMESHGUI_AddQuadraticElementDlg::ActivateThisDialog(), SMESHGUI_ScaleDlg::ActivateThisDialog(), SMESHGUI_TranslationDlg::ActivateThisDialog(), SMESHGUI_RotationDlg::ActivateThisDialog(), SMESHGUI_RevolutionDlg::ActivateThisDialog(), SMESHGUI_SymmetryDlg::ActivateThisDialog(), SMESHGUI_MergeDlg::ActivateThisDialog(), SMESHGUI_SewingDlg::ActivateThisDialog(), SMESHGUI_ExtrusionDlg::ActivateThisDialog(), SMESHGUI_DeleteGroupDlg::enterEvent(), SMESHGUI_DuplicateNodesDlg::enterEvent(), SMESHGUI_CreatePatternDlg::enterEvent(), SMESHGUI_SingleEditDlg::enterEvent(), SMESHGUI_GroupOpDlg::enterEvent(), SMESHGUI_MultiEditDlg::enterEvent(), SMESHGUI_MeshPatternDlg::enterEvent(), SMESHGUI_GroupDlg::enterEvent(), OnGUIEvent(), SMESHGUI_SingleEditDlg::onOpenView(), SMESHGUI_MeshPatternDlg::onOpenView(), SMESHGUI_MultiEditDlg::onOpenView(), SMESHGUI_GroupOpDlg::onOpenView(), and SMESHGUI_GroupDlg::onOpenView().

void SMESHGUI::EmitSignalStudyFrameChanged ( )
void SMESHGUI::EmitSignalVisibilityChanged ( )

References SignalVisibilityChanged().

Referenced by OnGUIEvent().

QString SMESHGUI::engineIOR ( ) const
virtual

References anORB, and GetSMESHGen().

Referenced by OnEditDelete().

QDialog * SMESHGUI::GetActiveDialogBox ( )

References myActiveDialogBox.

SALOMEDS::Color SMESHGUI::getPredefinedUniqueColor ( )
static
SMESHGUI * SMESHGUI::GetSMESHGUI ( )
static

References _PTR(), activeStudy(), and GetSMESHGen().

Referenced by SMESHGUI_MeasureDlg::activate(), SMESHGUI_MeshInfoDlg::activate(), SMESHGUI_CtrlInfoDlg::activate(), SMESH::AddGroup(), StdMeshersGUI_QuadrangleParamCreator::buildFrame(), StdMeshersGUI_CartesianParamCreator::buildFrame(), SMESHGUI_MeshOp::checkSubMeshConcurrency(), SMESHGUI_NodesDlg::ClickOnApply(), SMESHGUI_AddMeshElementDlg::ClickOnApply(), SMESHGUI_CreatePolyhedralVolumeDlg::ClickOnApply(), SMESHGUI_AddQuadraticElementDlg::ClickOnApply(), SMESHGUI_BaseComputeOp::computeMesh(), SMESH::CreateActor(), SMESH::CreateHypothesis(), SMESHGUI_MakeNodeAtPointDlg::createMainFrame(), SMESHGUI_GenericHypothesisCreator::editHypothesis(), TSelectListEvent::Execute(), TGetSelectionModeEvent::Execute(), GetComponentGUI(), SMESH::GetGeomEntries(), SMESHGUI_Selection::guiState(), SMESH::TShapeDisplayer::hasViewWindow(), StdMeshersGUI_LayerDistributionParamWdg::init(), SMESH_Swig::Init(), StdMeshersGUI_SubShapeSelectorWdg::init(), StdMeshersGUI_ObjectReferenceParamWdg::init(), SMESHGUI_Add0DElemsOnAllNodesOp::onApply(), SMESHGUI_GenericHypothesisCreator::onDialogFinished(), OnEditDelete(), OnGUIEvent(), SMESHGUI_MeshOp::onPublishShapeByMeshDlg(), StdMeshersGUI_CartesianParamCreator::onSelectionChange(), StdMeshersGUI_QuadrangleParamCreator::onSelectionChanged(), SMESHGUI_MakeNodeAtPointOp::onTextChange(), SMESHGUI_MeshOp::selectionDone(), SMESHGUI_3TypesSelector::setFilters(), SMESHGUI_MeshOrderMgr::SetMeshOrder(), SMESH::TShapeDisplayer::Show(), SMESH::ShowHelpFile(), SMESHGUI_3TypesSelector::SMESHGUI_3TypesSelector(), SMESHGUI_CtrlInfoDlg::SMESHGUI_CtrlInfoDlg(), SMESHGUI_MeasureDlg::SMESHGUI_MeasureDlg(), SMESHGUI_MeshInfoDlg::SMESHGUI_MeshInfoDlg(), and StdMeshersGUI_CartesianParamCreator::StdMeshersGUI_CartesianParamCreator().

int SMESHGUI::GetState ( ) const
SALOMEDS::Color SMESHGUI::getUniqueColor ( const QList< SALOMEDS::Color > &  theReservedColors)
static
void SMESHGUI::initialize ( CAM_Application *  app)
virtual

References SMESH::ALGORITHM, SMESH::COMPONENT, createPopupItem(), createSMESHAction(), desktop(), SMESH::GROUP, SMESH::HYPOTHESIS, SMESH::MESH, myRules, onUpdateControlActions(), onViewManagerActivated(), onViewManagerRemoved(), SMESHOp::OpAddElemGroupPopup, SMESHOp::OpArea, SMESHOp::OpAspectRatio, SMESHOp::OpAspectRatio3D, SMESHOp::OpAutoColor, SMESHOp::OpBall, SMESHOp::OpBareBorderFace, SMESHOp::OpBareBorderVolume, SMESHOp::OpBiQuadraticQuadrangle, SMESHOp::OpBiQuadraticTriangle, SMESHOp::OpBoundingBox, SMESHOp::OpBuildCompoundMesh, SMESHOp::OpClearMesh, SMESHOp::OpClipping, SMESHOp::OpCompute, SMESHOp::OpComputeSubMesh, SMESHOp::OpConnection, SMESHOp::OpConnection2D, SMESHOp::OpConstructGroup, SMESHOp::OpConvertMeshToQuadratic, SMESHOp::OpCopyMesh, SMESHOp::OpCreateBoundaryElements, SMESHOp::OpCreateGeometryGroup, SMESHOp::OpCreateGroup, SMESHOp::OpCreateMesh, SMESHOp::OpCreateSubMesh, SMESHOp::OpCutGroups, SMESHOp::OpCuttingOfQuadrangles, SMESHOp::OpDE0DElements, SMESHOp::OpDEAllEntity, SMESHOp::OpDEBalls, SMESHOp::OpDEChoose, SMESHOp::OpDEEdges, SMESHOp::OpDEFaces, SMESHOp::OpDelete, SMESHOp::OpDeleteGroup, SMESHOp::OpDEVolumes, SMESHOp::OpDiagonalInversion, SMESHOp::OpDisableAutoColor, SMESHOp::OpDMNodes, SMESHOp::OpDMShading, SMESHOp::OpDMShrink, SMESHOp::OpDMWireframe, SMESHOp::OpDuplicateNodes, SMESHOp::OpEdge, SMESHOp::OpEditGeomGroupAsGroup, SMESHOp::OpEditGroup, SMESHOp::OpEditHypothesis, SMESHOp::OpEditMesh, SMESHOp::OpEditMeshOrSubMesh, SMESHOp::OpEditSubMesh, SMESHOp::OpElem0D, SMESHOp::OpElem0DOnElemNodes, SMESHOp::OpEqualEdge, SMESHOp::OpEqualFace, SMESHOp::OpEqualNode, SMESHOp::OpEqualVolume, SMESHOp::OpEvaluate, SMESHOp::OpExportCGNS, SMESHOp::OpExportDAT, SMESHOp::OpExportGMF, SMESHOp::OpExportMED, SMESHOp::OpExportSAUV, SMESHOp::OpExportSTL, SMESHOp::OpExportUNV, SMESHOp::OpExtrusion, SMESHOp::OpExtrusionAlongAPath, SMESHOp::OpFileInformation, SMESHOp::OpFindElementByPoint, SMESHOp::OpFreeBorder, SMESHOp::OpFreeEdge, SMESHOp::OpFreeFace, SMESHOp::OpFreeNode, SMESHOp::OpGroupUnderlyingElem, SMESHOp::OpHexagonalPrism, SMESHOp::OpHexahedron, SMESHOp::OpHide, SMESHOp::OpImportCGNS, SMESHOp::OpImportGMF, SMESHOp::OpImportMED, SMESHOp::OpImportSAUV, SMESHOp::OpImportSTL, SMESHOp::OpImportUNV, SMESHOp::OpIntersectGroups, SMESHOp::OpLength, SMESHOp::OpLength2D, SMESHOp::OpMaxElementLength2D, SMESHOp::OpMaxElementLength3D, SMESHOp::OpMergeElements, SMESHOp::OpMergeNodes, SMESHOp::OpMeshInformation, SMESHOp::OpMeshOrder, SMESHOp::OpMinimumAngle, SMESHOp::OpMinimumDistance, SMESHOp::OpMoveNode, SMESHOp::OpNode, SMESHOp::OpNodeConnectivityNb, SMESHOp::OpNumberingElements, SMESHOp::OpNumberingNodes, SMESHOp::OpOrientation, SMESHOp::OpOrientationOnFaces, SMESHOp::OpOverallMeshQuality, SMESHOp::OpOverConstrainedFace, SMESHOp::OpOverConstrainedVolume, SMESHOp::OpPatternMapping, SMESHOp::OpPentahedron, SMESHOp::OpPlotDistribution, SMESHOp::OpPolygon, SMESHOp::OpPolyhedron, SMESHOp::OpPopupExportCGNS, SMESHOp::OpPopupExportDAT, SMESHOp::OpPopupExportGMF, SMESHOp::OpPopupExportMED, SMESHOp::OpPopupExportSAUV, SMESHOp::OpPopupExportSTL, SMESHOp::OpPopupExportUNV, SMESHOp::OpPopupImportCGNS, SMESHOp::OpPopupImportDAT, SMESHOp::OpPopupImportGMF, SMESHOp::OpPopupImportMED, SMESHOp::OpPopupImportSAUV, SMESHOp::OpPopupImportSTL, SMESHOp::OpPopupImportUNV, SMESHOp::OpPreCompute, SMESHOp::OpProperties, SMESHOp::OpPropertiesArea, SMESHOp::OpPropertiesLength, SMESHOp::OpPropertiesVolume, SMESHOp::OpPyramid, SMESHOp::OpQuadrangle, SMESHOp::OpQuadraticEdge, SMESHOp::OpQuadraticHexahedron, SMESHOp::OpQuadraticPentahedron, SMESHOp::OpQuadraticPolygon, SMESHOp::OpQuadraticPyramid, SMESHOp::OpQuadraticQuadrangle, SMESHOp::OpQuadraticTetrahedron, SMESHOp::OpQuadraticTriangle, SMESHOp::OpRemoveElements, SMESHOp::OpRemoveElemGroupPopup, SMESHOp::OpRemoveNodes, SMESHOp::OpRemoveOrphanNodes, SMESHOp::OpReorientFaces, SMESHOp::OpRepresentationArcs, SMESHOp::OpRepresentationLines, SMESHOp::OpReset, SMESHOp::OpRevolution, SMESHOp::OpRotation, SMESHOp::OpSaveDistribution, SMESHOp::OpScalarBarProperties, SMESHOp::OpScale, SMESHOp::OpSelectFiltersLibrary, SMESHOp::OpSewing, SMESHOp::OpShow, SMESHOp::OpShowDistribution, SMESHOp::OpShowOnly, SMESHOp::OpShowScalarBar, SMESHOp::OpSkew, SMESHOp::OpSmoothing, SMESHOp::OpSortChild, SMESHOp::OpSplitBiQuadratic, SMESHOp::OpSplitVolumes, SMESHOp::OpSymmetry, SMESHOp::OpTaper, SMESHOp::OpTetrahedron, SMESHOp::OpTranslation, SMESHOp::OpTransparency, SMESHOp::OpTriangle, SMESHOp::OpTriQuadraticHexahedron, SMESHOp::OpUnassign, SMESHOp::OpUnionGroups, SMESHOp::OpUnionOfTriangles, SMESHOp::OpUnionOfTwoTriangle, SMESHOp::OpUpdate, SMESHOp::OpVolume, SMESHOp::OpWarpingAngle, SMESH::SUBMESH, SMESH::SUBMESH_COMPOUND, SMESH::SUBMESH_EDGE, SMESH::SUBMESH_FACE, SMESH::SUBMESH_SOLID, SMESH::SUBMESH_VERTEX, and SMESHGUI_Selection::typeName().

bool SMESHGUI::isSelectionCompatible ( )
protectedvirtual

Return true if SMESH or GEOM objects are selected.

Is called form LightApp_Module::activateModule() which clear selection if not isSelectionCompatible()

References isCompatible(), and selectionMgr().

void SMESHGUI::message ( const QString &  msg)
virtual
void SMESHGUI::Modified ( bool  theIsUpdateActions = true)
static

Referenced by SMESHGUI_RenumberingDlg::ClickOnApply(), SMESHGUI_RemoveElementsDlg::ClickOnApply(), SMESHGUI_RemoveNodesDlg::ClickOnApply(), SMESHGUI_NodesDlg::ClickOnApply(), SMESHGUI_CopyMeshDlg::ClickOnApply(), SMESHGUI_BuildCompoundDlg::ClickOnApply(), SMESHGUI_AddMeshElementDlg::ClickOnApply(), SMESHGUI_SmoothingDlg::ClickOnApply(), SMESHGUI_CreatePolyhedralVolumeDlg::ClickOnApply(), SMESHGUI_ExtrusionAlongPathDlg::ClickOnApply(), SMESHGUI_ScaleDlg::ClickOnApply(), SMESHGUI_AddQuadraticElementDlg::ClickOnApply(), SMESHGUI_TranslationDlg::ClickOnApply(), SMESHGUI_RotationDlg::ClickOnApply(), SMESHGUI_RevolutionDlg::ClickOnApply(), SMESHGUI_SymmetryDlg::ClickOnApply(), SMESHGUI_MergeDlg::ClickOnApply(), SMESHGUI_SewingDlg::ClickOnApply(), SMESHGUI_ExtrusionDlg::ClickOnApply(), SMESH::CreateHypothesis(), SMESHGUI_ConvToQuadOp::onApply(), SMESHGUI_SingleEditDlg::onApply(), SMESHGUI_GroupOnShapeOp::onApply(), SMESHGUI_ReorientFacesOp::onApply(), SMESHGUI_SplitBiQuadOp::onApply(), SMESHGUI_MakeNodeAtPointOp::onApply(), SMESHGUI_DeleteGroupDlg::onApply(), SMESHGUI_MeshOp::onApply(), SMESHGUI_DuplicateNodesDlg::onApply(), SMESHGUI_MeshPatternDlg::onApply(), SMESHGUI_MeshOrderOp::onApply(), SMESHGUI_MultiEditDlg::onApply(), SMESHGUI_GroupDlg::onApply(), SMESHGUI_Add0DElemsOnAllNodesOp::onApply(), SMESHGUI_Make2DFrom3DOp::onApply(), SMESHGUI_UnionGroupsDlg::onApply(), SMESHGUI_IntersectGroupsDlg::onApply(), SMESHGUI_CutGroupsDlg::onApply(), SMESHGUI_DimGroupDlg::onApply(), OnGUIEvent(), and onHypothesisEdit().

void SMESHGUI::OnEditDelete ( )
private

Erase graphical object and remove all its data

Remove an object from data structures

References _PTR(), desktop(), engineIOR(), GetSMESHGUI(), Handle(), SMESH::ModifiedMesh(), SMESH::RemoveHypothesisOrAlgorithmOnMesh(), SMESH::RemoveVisualObjectWithActors(), selectionMgr(), SObject(), and SMESH::SObjectToObject().

Referenced by OnGUIEvent().

bool SMESHGUI::OnGUIEvent ( int  theCommandID)
virtual

References _PTR(), SMESH::AddGroup(), SMESHGUI_MeasureDlg::Area, SMESHGUI_MeshInfoDlg::BaseInfo, SMESHGUI_MeasureDlg::BoundingBox, checkLock(), desktop(), SMESH::EDGE, SMESH::eDisplay, SMESH::eDisplayOnly, SMESHGUI_GenericHypothesisCreator::edit(), SMESHGUI_FilterLibraryDlg::EDIT, SMESH::eErase, SMESHGUI_MeshInfoDlg::ElemInfo, EmitSignalDeactivateDialog(), EmitSignalVisibilityChanged(), SMESH_Actor::eNone, SMESH::FACE, SMESH::FindActorByEntry(), SMESH::GetDesktop(), SMESH::GetGeomEntries(), SMESH::GetHypothesisCreator(), SMESH::GetMeshByIO(), GetSMESHGen(), GetSMESHGUI(), Handle(), SMESHGUI_FilterLibraryDlg::Init(), SMESHGUI_MeasureDlg::Length, SMESHGUI_MeasureDlg::MinDistance, Modified(), SMESH::ModifiedMesh(), myActiveDialogBox, myFilterLibraryDlg, myMarkerMap, myState, SMESH::NODE, OCC_CATCH_SIGNALS, SMESHGUI_GroupDlg::onAdd(), OnEditDelete(), onHypothesisEdit(), SMESHGUI_GroupDlg::onRemove(), SMESH::OnVisuException(), SMESHOp::OpAddElemGroupPopup, SMESHOp::OpArea, SMESHOp::OpAspectRatio, SMESHOp::OpAspectRatio3D, SMESHOp::OpAutoColor, SMESHOp::OpBall, SMESHOp::OpBareBorderFace, SMESHOp::OpBareBorderVolume, SMESHOp::OpBiQuadraticQuadrangle, SMESHOp::OpBiQuadraticTriangle, SMESHOp::OpBoundingBox, SMESHOp::OpBuildCompoundMesh, SMESHOp::OpClearMesh, SMESHOp::OpClipping, SMESHOp::OpCompute, SMESHOp::OpComputeSubMesh, SMESHOp::OpConnection, SMESHOp::OpConnection2D, SMESHOp::OpConstructGroup, SMESHOp::OpConvertMeshToQuadratic, SMESHOp::OpCopyMesh, SMESHOp::OpCreateBoundaryElements, SMESHOp::OpCreateGeometryGroup, SMESHOp::OpCreateGroup, SMESHOp::OpCreateMesh, SMESHOp::OpCreateSubMesh, SMESHOp::OpCutGroups, SMESHOp::OpCuttingOfQuadrangles, SMESHOp::OpDE0DElements, SMESHOp::OpDEAllEntity, SMESHOp::OpDEBalls, SMESHOp::OpDEChoose, SMESHOp::OpDEEdges, SMESHOp::OpDEFaces, SMESHOp::OpDelete, SMESHOp::OpDeleteGroup, SMESHOp::OpDEVolumes, SMESHOp::OpDiagonalInversion, SMESHOp::OpDisableAutoColor, SMESHOp::OpDMNodes, SMESHOp::OpDMShading, SMESHOp::OpDMShrink, SMESHOp::OpDMWireframe, SMESHOp::OpDuplicateNodes, SMESHOp::OpEdge, SMESHOp::OpEditGeomGroupAsGroup, SMESHOp::OpEditGroup, SMESHOp::OpEditHypothesis, SMESHOp::OpEditMesh, SMESHOp::OpEditMeshOrSubMesh, SMESHOp::OpEditSubMesh, SMESHOp::OpElem0D, SMESHOp::OpElem0DOnElemNodes, SMESHOp::OpEqualEdge, SMESHOp::OpEqualFace, SMESHOp::OpEqualNode, SMESHOp::OpEqualVolume, SMESHOp::OpEvaluate, SMESHOp::OpExportCGNS, SMESHOp::OpExportDAT, SMESHOp::OpExportGMF, SMESHOp::OpExportMED, SMESHOp::OpExportSAUV, SMESHOp::OpExportSTL, SMESHOp::OpExportUNV, SMESHOp::OpExtrusion, SMESHOp::OpExtrusionAlongAPath, SMESHOp::OpFileInformation, SMESHOp::OpFindElementByPoint, SMESHOp::OpFreeBorder, SMESHOp::OpFreeEdge, SMESHOp::OpFreeFace, SMESHOp::OpFreeNode, SMESHOp::OpGroupUnderlyingElem, SMESHOp::OpHexagonalPrism, SMESHOp::OpHexahedron, SMESHOp::OpHide, SMESHOp::OpImportCGNS, SMESHOp::OpImportDAT, SMESHOp::OpImportGMF, SMESHOp::OpImportMED, SMESHOp::OpImportSAUV, SMESHOp::OpImportSTL, SMESHOp::OpImportUNV, SMESHOp::OpIntersectGroups, SMESHOp::OpLength, SMESHOp::OpLength2D, SMESHOp::OpMaxElementLength2D, SMESHOp::OpMaxElementLength3D, SMESHOp::OpMergeElements, SMESHOp::OpMergeNodes, SMESHOp::OpMeshInformation, SMESHOp::OpMeshOrder, SMESHOp::OpMinimumAngle, SMESHOp::OpMinimumDistance, SMESHOp::OpMoveNode, SMESHOp::OpNode, SMESHOp::OpNodeConnectivityNb, SMESHOp::OpNumberingElements, SMESHOp::OpNumberingNodes, SMESHOp::OpOrientation, SMESHOp::OpOrientationOnFaces, SMESHOp::OpOverallMeshQuality, SMESHOp::OpOverConstrainedFace, SMESHOp::OpOverConstrainedVolume, SMESHOp::OpPatternMapping, SMESHOp::OpPentahedron, SMESHOp::OpPlotDistribution, SMESHOp::OpPolygon, SMESHOp::OpPolyhedron, SMESHOp::OpPopupExportCGNS, SMESHOp::OpPopupExportDAT, SMESHOp::OpPopupExportGMF, SMESHOp::OpPopupExportMED, SMESHOp::OpPopupExportSAUV, SMESHOp::OpPopupExportSTL, SMESHOp::OpPopupExportUNV, SMESHOp::OpPopupImportCGNS, SMESHOp::OpPopupImportDAT, SMESHOp::OpPopupImportGMF, SMESHOp::OpPopupImportMED, SMESHOp::OpPopupImportSAUV, SMESHOp::OpPopupImportSTL, SMESHOp::OpPopupImportUNV, SMESHOp::OpPreCompute, SMESHOp::OpProperties, SMESHOp::OpPropertiesArea, SMESHOp::OpPropertiesLength, SMESHOp::OpPropertiesVolume, SMESHOp::OpPyramid, SMESHOp::OpQuadrangle, SMESHOp::OpQuadraticEdge, SMESHOp::OpQuadraticHexahedron, SMESHOp::OpQuadraticPentahedron, SMESHOp::OpQuadraticPolygon, SMESHOp::OpQuadraticPyramid, SMESHOp::OpQuadraticQuadrangle, SMESHOp::OpQuadraticTetrahedron, SMESHOp::OpQuadraticTriangle, SMESHOp::OpRemoveElements, SMESHOp::OpRemoveElemGroupPopup, SMESHOp::OpRemoveNodes, SMESHOp::OpRemoveOrphanNodes, SMESHOp::OpRenumberingElements, SMESHOp::OpRenumberingNodes, SMESHOp::OpReorientFaces, SMESHOp::OpRepresentationArcs, SMESHOp::OpRepresentationLines, SMESHOp::OpReset, SMESHOp::OpRevolution, SMESHOp::OpRotation, SMESHOp::OpSaveDistribution, SMESHOp::OpScalarBarProperties, SMESHOp::OpScale, SMESHOp::OpSelectFiltersLibrary, SMESHOp::OpSewing, SMESHOp::OpShow, SMESHOp::OpShowDistribution, SMESHOp::OpShowOnly, SMESHOp::OpShowScalarBar, SMESHOp::OpSkew, SMESHOp::OpSmoothing, SMESHOp::OpSortChild, SMESHOp::OpSplitBiQuadratic, SMESHOp::OpSplitVolumes, SMESHOp::OpSymmetry, SMESHOp::OpTaper, SMESHOp::OpTetrahedron, SMESHOp::OpTranslation, SMESHOp::OpTransparency, SMESHOp::OpTriangle, SMESHOp::OpTriQuadraticHexahedron, SMESHOp::OpUnassign, SMESHOp::OpUnionGroups, SMESHOp::OpUnionOfTriangles, SMESHOp::OpUnionOfTwoTriangle, SMESHOp::OpUpdate, SMESHOp::OpVolume, SMESHOp::OpWarpingAngle, SMESHOp::OpWhatIs, SMESH::ProcessIn2DViewers(), SMESH::RemoveFrom2dViewer, SMESH::RemoveHypothesisOrAlgorithmOnMesh(), SMESH::RemoveVisualObjectWithActors(), resourceMgr(), SMESHGUI_Preferences_ScalarBarDlg::ScalarBarProperties(), selectionMgr(), SMESHGUI_GenericHypothesisCreator::setMainShapeEntry(), SMESHGUI_GenericHypothesisCreator::setShapeEntry(), SMESHGUI_MeshInfoDlg::showInfo(), SMDSEntity_0D, SMDSEntity_Ball, SMDSEntity_BiQuad_Quadrangle, SMDSEntity_BiQuad_Triangle, SMDSEntity_Edge, SMDSEntity_Hexa, SMDSEntity_Hexagonal_Prism, SMDSEntity_Last, SMDSEntity_Penta, SMDSEntity_Polygon, SMDSEntity_Pyramid, SMDSEntity_Quad_Edge, SMDSEntity_Quad_Hexa, SMDSEntity_Quad_Penta, SMDSEntity_Quad_Polygon, SMDSEntity_Quad_Pyramid, SMDSEntity_Quad_Quadrangle, SMDSEntity_Quad_Tetra, SMDSEntity_Quad_Triangle, SMDSEntity_Quadrangle, SMDSEntity_Tetra, SMDSEntity_Triangle, SMDSEntity_TriQuad_Hexa, SObject(), SMESH::SObjectToObject(), SMESH::UpdateView(), SMESH::VOLUME, and SMESHGUI_MeasureDlg::Volume.

Referenced by SMESHGUI_MeshOp::checkSubMeshConcurrency().

void SMESHGUI::OnGUIEvent ( )
privateslot

Referenced by createSMESHAction().

void SMESHGUI::onHypothesisEdit ( int  result)
privateslot

Actions after hypothesis edition Updates object browser after hypothesis edition.

References Modified().

Referenced by OnGUIEvent().

bool SMESHGUI::OnKeyPress ( QKeyEvent *  pe,
SUIT_ViewWindow *  wnd 
)
virtual
bool SMESHGUI::OnMouseMove ( QMouseEvent *  pe,
SUIT_ViewWindow *  wnd 
)
virtual
bool SMESHGUI::OnMousePress ( QMouseEvent *  pe,
SUIT_ViewWindow *  wnd 
)
virtual
void SMESHGUI::onOperationAborted ( SUIT_Operation *  )
privateslot

Set default selection mode.

SLOT called when operation aborted. Sets default selection mode

void SMESHGUI::onOperationCommited ( SUIT_Operation *  )
privateslot

Set default selection mode.

SLOT called when operation committed. Sets default selection mode

void SMESHGUI::onUpdateControlActions ( )
privateslot

Actions after choosing menu of control modes Updates control mode actions according to current selection.

References SMESH_Actor::eNone, SMESH::FindActorByEntry(), Handle(), and selectionMgr().

Referenced by initialize().

void SMESHGUI::onViewClosed ( SUIT_ViewWindow *  pview)
slot

Signal handler closing(SUIT_ViewWindow*) of a view.

Parameters
pviewview being closed

References SMESH::ClearPlot2Viewers(), and EmitSignalCloseView().

Referenced by connectView().

void SMESHGUI::onViewManagerActivated ( SUIT_ViewManager *  mgr)
privateslot
void SMESHGUI::onViewManagerRemoved ( SUIT_ViewManager *  theViewManager)
privateslot

References myClippingPlaneInfoMap.

Referenced by initialize().

void SMESHGUI::preferencesChanged ( const QString &  sect,
const QString &  name 
)
virtual
void SMESHGUI::ProcessEvents ( vtkObject *  theObject,
unsigned long  theEvent,
void *  theClientData,
void *  theCallData 
)
staticprotected
bool SMESHGUI::renameAllowed ( const QString &  entry) const
virtual
bool SMESHGUI::renameObject ( const QString &  entry,
const QString &  name 
)
virtual

Rename object by entry.

Parameters
entryentry of the object
namenew name of the object Return true if rename operation finished successfully, false otherwise.

References _PTR(), SMESH::ALGORITHM, SMESH::FindActorByEntry(), GetSMESHGen(), SMESH::GROUP, Handle(), SMESH::HYPOTHESIS, SMESH::MESH, SObject(), SMESH::SUBMESH, SMESH::SUBMESH_COMPOUND, SMESH::SUBMESH_EDGE, SMESH::SUBMESH_FACE, SMESH::SUBMESH_SOLID, SMESH::SUBMESH_VERTEX, and SMESHGUI_Selection::type().

void SMESHGUI::ResetState ( )

References myState.

Referenced by SMESHGUI_RenumberingDlg::DeactivateActiveDialog(), SMESHGUI_RemoveElementsDlg::DeactivateActiveDialog(), SMESHGUI_RemoveNodesDlg::DeactivateActiveDialog(), SMESHGUI_NodesDlg::DeactivateActiveDialog(), SMESHGUI_CopyMeshDlg::DeactivateActiveDialog(), SMESHGUI_BuildCompoundDlg::DeactivateActiveDialog(), SMESHGUI_AddMeshElementDlg::DeactivateActiveDialog(), SMESHGUI_SmoothingDlg::DeactivateActiveDialog(), SMESHGUI_CreatePolyhedralVolumeDlg::DeactivateActiveDialog(), SMESHGUI_ExtrusionAlongPathDlg::DeactivateActiveDialog(), SMESHGUI_AddQuadraticElementDlg::DeactivateActiveDialog(), SMESHGUI_ScaleDlg::DeactivateActiveDialog(), SMESHGUI_TranslationDlg::DeactivateActiveDialog(), SMESHGUI_RotationDlg::DeactivateActiveDialog(), SMESHGUI_RevolutionDlg::DeactivateActiveDialog(), SMESHGUI_SymmetryDlg::DeactivateActiveDialog(), SMESHGUI_MergeDlg::DeactivateActiveDialog(), SMESHGUI_SewingDlg::DeactivateActiveDialog(), SMESHGUI_ExtrusionDlg::DeactivateActiveDialog(), SMESHGUI_GroupDlg::enterEvent(), SMESHGUI_FilterDlg::enterEvent(), SMESHGUI_DuplicateNodesDlg::onDeactivate(), SMESHGUI_GroupDlg::onDeactivate(), SMESHGUI_CreatePatternDlg::onOk(), SMESHGUI_FilterLibraryDlg::onOk(), SMESHGUI_FilterDlg::onOk(), SMESHGUI_CreatePatternDlg::onSave(), SMESHGUI_GroupDlg::onSelectAll(), SMESHGUI_SingleEditDlg::reject(), SMESHGUI_DeleteGroupDlg::reject(), SMESHGUI_DuplicateNodesDlg::reject(), SMESHGUI_MeshPatternDlg::reject(), SMESHGUI_CreatePatternDlg::reject(), SMESHGUI_FilterLibraryDlg::reject(), SMESHGUI_MultiEditDlg::reject(), SMESHGUI_GroupDlg::reject(), SMESHGUI_RenumberingDlg::reject(), SMESHGUI_RemoveElementsDlg::reject(), SMESHGUI_RemoveNodesDlg::reject(), SMESHGUI_GroupOpDlg::reject(), SMESHGUI_NodesDlg::reject(), SMESHGUI_CopyMeshDlg::reject(), SMESHGUI_BuildCompoundDlg::reject(), SMESHGUI_AddMeshElementDlg::reject(), SMESHGUI_SmoothingDlg::reject(), SMESHGUI_CreatePolyhedralVolumeDlg::reject(), SMESHGUI_ExtrusionAlongPathDlg::reject(), SMESHGUI_AddQuadraticElementDlg::reject(), SMESHGUI_ScaleDlg::reject(), SMESHGUI_TranslationDlg::reject(), SMESHGUI_RotationDlg::reject(), SMESHGUI_RevolutionDlg::reject(), SMESHGUI_SymmetryDlg::reject(), SMESHGUI_MergeDlg::reject(), SMESHGUI_SewingDlg::reject(), SMESHGUI_ExtrusionDlg::reject(), and SMESHGUI_FilterDlg::reject().

void SMESHGUI::restoreVisualParameters ( int  savePoint)
virtual

Restore visual parameters.

This method is called after the study document is opened. Restore visual parameters from AttributeParameter attribue(s)

References _PTR(), SMESH::Absolute, TPlaneData::AbsoluteOrientation, SMESH::ClippingPlaneInfo::ActorList, TPlaneInfo::ActorList, SMESHGUI_ClippingDlg::AddPlane(), TPlaneData::Angle, displayer(), TPlaneData::Distance, SMESH::OrientedPlane::Dx, TPlaneData::Dx, SMESH::OrientedPlane::Dy, TPlaneData::Dy, SMESH::OrientedPlane::Dz, TPlaneData::Dz, SMESH_Actor::eAllEntity, SMESH::GetColor(), Handle(), TPlaneData::Id, if(), SMESH::OrientedPlane::IsOpenGLClipping, TPlaneData::isOpenGLClipping, TPlaneData::Mode, SMESH::OrientedPlane::myAbsoluteOrientation, SMESH::OrientedPlane::myAngle, myClippingPlaneInfoMap, myComponentSMESH, SMESH::OrientedPlane::myDistance, myMarkerMap, SMESH::OrientedPlane::myRelativeOrientation, SMESH::OrientedPlane::myViewWindow, SMESH::OrientedPlane::New(), SMESH::ClippingPlaneInfo::Plane, TPlaneInfo::PlaneId, SMESH::OrientedPlane::PlaneMode, SMESH::Relative, TPlaneData::RelativeOrientation, SMESH_Actor::RemoveAllClippingPlanes(), SMESH_Actor::Set0DColor(), SMESH_Actor::Set0DSize(), SMESH_Actor::SetBallColor(), SMESH_Actor::SetBallScale(), SMESH_Actor::SetBallSize(), SMESH_Actor::SetEdgeColor(), SMESH_Actor::SetEntityMode(), SMESH_Actor::SetFacesOrientation3DVectors(), SMESH_Actor::SetFacesOrientationColor(), SMESH_Actor::SetFacesOrientationScale(), SMESH_Actor::SetLineWidth(), SMESH_Actor::SetNodeColor(), SMESH_Actor::SetOutlineColor(), SMESH_Actor::SetOutlineWidth(), SMESH_Actor::SetShrinkFactor(), SMESH_Actor::SetSufaceColor(), SMESH_Actor::SetVolumeColor(), SObject(), studyDS(), toDouble(), TPlaneInfo::ViewManager, SMESH::OrientedPlane::X, TPlaneData::X, SMESH::OrientedPlane::Y, TPlaneData::Y, SMESH::OrientedPlane::Z, and TPlaneData::Z.

bool SMESHGUI::reusableOperation ( const int  id)
protectedvirtual
void SMESHGUI::SetActiveDialogBox ( QDialog aDlg)

References myActiveDialogBox.

Referenced by SMESHGUI_MeasureDlg::activate(), SMESHGUI_MeshInfoDlg::activate(), SMESHGUI_CtrlInfoDlg::activate(), SMESHGUI_RenumberingDlg::ActivateThisDialog(), SMESHGUI_RemoveElementsDlg::ActivateThisDialog(), SMESHGUI_RemoveNodesDlg::ActivateThisDialog(), SMESHGUI_CopyMeshDlg::ActivateThisDialog(), SMESHGUI_BuildCompoundDlg::ActivateThisDialog(), SMESHGUI_SmoothingDlg::ActivateThisDialog(), SMESHGUI_CreatePolyhedralVolumeDlg::ActivateThisDialog(), SMESHGUI_ExtrusionAlongPathDlg::ActivateThisDialog(), SMESHGUI_ScaleDlg::ActivateThisDialog(), SMESHGUI_TranslationDlg::ActivateThisDialog(), SMESHGUI_RotationDlg::ActivateThisDialog(), SMESHGUI_RevolutionDlg::ActivateThisDialog(), SMESHGUI_SymmetryDlg::ActivateThisDialog(), SMESHGUI_MergeDlg::ActivateThisDialog(), SMESHGUI_SewingDlg::ActivateThisDialog(), SMESHGUI_ExtrusionDlg::ActivateThisDialog(), SMESHGUI_RenumberingDlg::DeactivateActiveDialog(), SMESHGUI_RemoveElementsDlg::DeactivateActiveDialog(), SMESHGUI_RemoveNodesDlg::DeactivateActiveDialog(), SMESHGUI_NodesDlg::DeactivateActiveDialog(), SMESHGUI_CopyMeshDlg::DeactivateActiveDialog(), SMESHGUI_BuildCompoundDlg::DeactivateActiveDialog(), SMESHGUI_AddMeshElementDlg::DeactivateActiveDialog(), SMESHGUI_SmoothingDlg::DeactivateActiveDialog(), SMESHGUI_CreatePolyhedralVolumeDlg::DeactivateActiveDialog(), SMESHGUI_ExtrusionAlongPathDlg::DeactivateActiveDialog(), SMESHGUI_AddQuadraticElementDlg::DeactivateActiveDialog(), SMESHGUI_ScaleDlg::DeactivateActiveDialog(), SMESHGUI_TranslationDlg::DeactivateActiveDialog(), SMESHGUI_RotationDlg::DeactivateActiveDialog(), SMESHGUI_RevolutionDlg::DeactivateActiveDialog(), SMESHGUI_SymmetryDlg::DeactivateActiveDialog(), SMESHGUI_MergeDlg::DeactivateActiveDialog(), SMESHGUI_SewingDlg::DeactivateActiveDialog(), SMESHGUI_ExtrusionDlg::DeactivateActiveDialog(), SMESHGUI_DuplicateNodesDlg::enterEvent(), SMESHGUI_GroupDlg::enterEvent(), SMESHGUI_FilterDlg::enterEvent(), SMESHGUI_DeleteGroupDlg::Init(), SMESHGUI_SingleEditDlg::Init(), SMESHGUI_RenumberingDlg::Init(), SMESHGUI_DuplicateNodesDlg::Init(), SMESHGUI_RemoveElementsDlg::Init(), SMESHGUI_RemoveNodesDlg::Init(), SMESHGUI_GroupOpDlg::Init(), SMESHGUI_CreatePatternDlg::Init(), SMESHGUI_BuildCompoundDlg::Init(), SMESHGUI_AddMeshElementDlg::Init(), SMESHGUI_CreatePolyhedralVolumeDlg::Init(), SMESHGUI_AddQuadraticElementDlg::Init(), SMESHGUI_MeshPatternDlg::Init(), SMESHGUI_MultiEditDlg::Init(), SMESHGUI_NodesDlg::Init(), SMESHGUI_MergeDlg::Init(), SMESHGUI_FilterDlg::Init(), SMESHGUI_GroupDlg::initDialog(), SMESHGUI_DuplicateNodesDlg::onDeactivate(), SMESHGUI_CopyMeshDlg::SMESHGUI_CopyMeshDlg(), SMESHGUI_CreatePolyhedralVolumeDlg::SMESHGUI_CreatePolyhedralVolumeDlg(), SMESHGUI_ExtrusionAlongPathDlg::SMESHGUI_ExtrusionAlongPathDlg(), SMESHGUI_ExtrusionDlg::SMESHGUI_ExtrusionDlg(), SMESHGUI_RevolutionDlg::SMESHGUI_RevolutionDlg(), SMESHGUI_RotationDlg::SMESHGUI_RotationDlg(), SMESHGUI_ScaleDlg::SMESHGUI_ScaleDlg(), SMESHGUI_SewingDlg::SMESHGUI_SewingDlg(), SMESHGUI_SmoothingDlg::SMESHGUI_SmoothingDlg(), SMESHGUI_SymmetryDlg::SMESHGUI_SymmetryDlg(), and SMESHGUI_TranslationDlg::SMESHGUI_TranslationDlg().

void SMESHGUI::SetState ( int  aState)
void SMESHGUI::SignalActivatedViewManager ( )
signal
void SMESHGUI::SignalCloseAllDialogs ( )
signal
void SMESHGUI::SignalCloseView ( )
signal

Referenced by EmitSignalCloseView().

void SMESHGUI::SignalDeactivateActiveDialog ( )
signal
void SMESHGUI::SignalStudyFrameChanged ( )
signal
void SMESHGUI::SignalVisibilityChanged ( )
signal
void SMESHGUI::studyClosed ( SUIT_Study *  s)
virtualslot
void SMESHGUI::switchToOperation ( int  id)

Stops current operations and starts a given one.

Parameters
id- The id of the operation to start

References _PTR(), and activeStudy().

Referenced by SMESHGUI_MeshOp::selectionDone().

void SMESHGUI::update ( const int  flags)
virtual

Update something in accordance with update flags.

Parameters
theFlags- update flags

Update viewer or/and object browser etc. in accordance with update flags ( see LightApp_UpdateFlags enumeration ).

References SMESH::UpdateView().

void SMESHGUI::viewManagers ( QStringList &  list) const
virtual
void SMESHGUI::windows ( QMap< int, int > &  aMap) const
virtual

Field Documentation

QDialog* SMESHGUI::myActiveDialogBox
private
SMESHGUI_ClippingPlaneInfoMap SMESHGUI::myClippingPlaneInfoMap
private
SMESH::SMESH_Gen_var SMESHGUI::myComponentSMESH = SMESH::SMESH_Gen::_nil()
staticprivate
LightApp_Displayer* SMESHGUI::myDisplayer
private

Referenced by displayer(), and SMESHGUI().

vtkSmartPointer<vtkCallbackCommand> SMESHGUI::myEventCallbackCommand
private

Referenced by addActorAsObserver(), and SMESHGUI().

SMESHGUI_FilterLibraryDlg* SMESHGUI::myFilterLibraryDlg
private

Referenced by OnGUIEvent(), and SMESHGUI().

double SMESHGUI::myPriority
private

Referenced by addActorAsObserver(), and SMESHGUI().

QMap<int, QString> SMESHGUI::myRules
private

Referenced by createPopupItem(), and initialize().

int SMESHGUI::myState
private