#include <SMESHGUI.h>
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_Displayer * | displayer () |
virtual QString | engineIOR () const |
virtual void | initialize (CAM_Application *) |
virtual void | windows (QMap< int, int > &) const |
virtual void | viewManagers (QStringList &) const |
QDialog * | GetActiveDialogBox () |
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_Selection * | createSelection () 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_ClippingPlaneInfoMap & | getClippingPlaneInfoMap () |
Static Public Member Functions | |
static SMESH::SMESH_Gen_var | GetSMESHGen () |
static SMESHGUI * | GetSMESHGUI () |
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_Operation * | createOperation (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 | |
QDialog * | myActiveDialogBox |
int | myState |
QMap< int, QString > | myRules |
LightApp_Displayer * | myDisplayer |
SMESHGUI_FilterLibraryDlg * | myFilterLibraryDlg |
SMESHGUI_StudyId2MarkerMap | myMarkerMap |
SMESHGUI_ClippingPlaneInfoMap | myClippingPlaneInfoMap |
vtkSmartPointer < vtkCallbackCommand > | myEventCallbackCommand |
double | myPriority |
Static Private Attributes | |
static SMESH::SMESH_Gen_var | myComponentSMESH = SMESH::SMESH_Gen::_nil() |
SMESHGUI::SMESHGUI | ( | ) |
SMESHGUI::~SMESHGUI | ( | ) |
|
virtualslot |
References _PTR(), connectView(), GetSMESHGen(), and SMESHOp::OpDelete.
|
static |
Referenced by SMESHGUI_Make2DFrom3DOp::compute2DMesh(), SMESH::GetMeshesUsingAlgoOrHypothesis(), GetSMESHGUI(), SMESH::GetVisualObj(), SMESHGUI_GroupDlg::initDialog(), isActiveStudyLocked(), SMESHGUI_Make2DFrom3DOp::isValid(), SMESHGUI_Make2DFrom3DOp::selectionDone(), switchToOperation(), SMESHGUI_ClippingDlg::updateActorList(), and SMESHGUI_FilterDlg::updateSelection().
|
virtual |
References SMESH::DeleteActorEvent, myEventCallbackCommand, and myPriority.
|
private |
Adds preferences for dfont of VTK viewer.
label | label |
pIf | group identifier |
param | parameter |
Referenced by createPreferences().
Referenced by SMESHGUI_BuildCompoundDlg::ClickOnApply(), and SMESHGUI_MeshPatternDlg::onApply().
|
static |
References SMESH_Actor::e0DElements, SMESH_Actor::eAllEntity, SMESH_Actor::eBallElem, SMESH_Actor::eEdges, SMESH_Actor::eFaces, SMESH_Actor::eVolumes, SMDSEntity_0D, SMDSEntity_Ball, SMDSEntity_BiQuad_Quadrangle, SMDSEntity_BiQuad_Triangle, SMDSEntity_Edge, SMDSEntity_Hexa, SMDSEntity_Hexagonal_Prism, SMDSEntity_Penta, SMDSEntity_Polygon, SMDSEntity_Polyhedra, 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, and SMDSEntity_TriQuad_Hexa.
|
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().
|
private |
Connects or disconnects signals about activating and cloning view on the module slots.
pview | view which is connected/disconnected |
References onViewClosed().
Referenced by activateModule(), and onViewManagerActivated().
|
virtual |
References _PTR(), SMESH::fromUtf8(), Handle(), selectionMgr(), and SObject().
|
protectedvirtual |
Creates operation with given identifier.
id | - identifier of operation to be started |
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.
|
protected |
References myRules.
Referenced by initialize().
|
virtual |
References addVtkFontPref(), and SMESH::GetResourceMgr().
|
virtual |
|
protected |
References OnGUIEvent(), and resourceMgr().
Referenced by initialize().
|
virtualslot |
References EmitSignalCloseAllDialogs(), and SMESHOp::OpDelete.
|
static |
Referenced by SMESHGUI_FilterLibraryDlg::addFilterToLib(), checkLock(), SMESHGUI_AddMeshElementDlg::ClickOnApply(), SMESHGUI_MergeDlg::ClickOnApply(), DefineDlgPosition(), SMESH::GetVisualObj(), SMESH::InitAvailableHypotheses(), initialize(), SMESHGUI_FilterLibraryDlg::isNameValid(), SMESHGUI_FilterLibraryDlg::isPermissionValid(), SMESHGUI_Operation::isStudyLocked(), SMESHGUI_DeleteGroupDlg::isValid(), SMESHGUI_FilterTable::IsValid(), SMESHGUI_FilterTable::AdditionalWidget::IsValid(), SMESHGUI_FilterDlg::isValid(), SMESHGUI_ReorientFacesOp::onApply(), SMESHGUI_MakeNodeAtPointOp::onApply(), SMESHGUI_FilterLibraryDlg::onApply(), SMESHGUI_FilterLibraryDlg::onDeleteBtnPressed(), OnEditDelete(), OnGUIEvent(), SMESH::OnVisuException(), preferencesChanged(), SMESH::processHypothesisStatus(), and SMESHGUI_FilterLibraryDlg::processNewLibrary().
|
virtual |
References myDisplayer.
Referenced by restoreVisualParameters().
void SMESHGUI::EmitSignalActivatedViewManager | ( | ) |
References SignalActivatedViewManager().
Referenced by onViewManagerActivated().
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 | ( | ) |
References SignalStudyFrameChanged().
void SMESHGUI::EmitSignalVisibilityChanged | ( | ) |
References SignalVisibilityChanged().
Referenced by OnGUIEvent().
|
virtual |
References anORB, and GetSMESHGen().
Referenced by OnEditDelete().
QDialog * SMESHGUI::GetActiveDialogBox | ( | ) |
References myActiveDialogBox.
SMESHGUI_ClippingPlaneInfoMap& SMESHGUI::getClippingPlaneInfoMap | ( | ) |
Referenced by SMESHGUI_ClippingDlg::ClickOnApply(), and SMESHGUI_ClippingDlg::initializePlaneData().
|
static |
Referenced by SMESHGUI_GroupDlg::setDefaultGroupColor().
|
static |
References _PTR(), and myComponentSMESH.
Referenced by activateModule(), SMESHGUI_CopyMeshDlg::ClickOnApply(), SMESHGUI_BuildCompoundDlg::ClickOnApply(), SMESHGUI_ShapeByMeshOp::commitOperation(), SMESHGUI_MinDistance::compute(), SMESHGUI_BoundingBox::compute(), SMESHGUI_BasicProperties::compute(), SMESHGUI_BaseComputeOp::computeMesh(), SMESH::CreateHypothesis(), SMESHGUI_MeshOp::createMesh(), SMESHGUI_MeshOp::createSubMesh(), SMESHGUI_MeshOp::editMeshOrSubMesh(), engineIOR(), SMESHGUI_BaseComputeOp::evaluateMesh(), SMESH::GetFilterManager(), SMESH::GetGeomEntries(), StdMeshersGUI_SubShapeSelectorWdg::GetGeomObjectByEntry(), SMESHGUI_MeshOp::getInitParamsHypothesis(), SMESH::GetMeasurements(), SMESH::GetPattern(), GetSMESHGUI(), SMESH_Swig::Init(), SMESH::IsApplicable(), SMESHGUI_GroupDlg::onApply(), SMESHGUI_BaseComputeOp::onGroupOfBadMesh(), OnGUIEvent(), StdMeshersGUI_LayerDistributionParamWdg::onHypTypePopup(), SMESHGUI_PrecomputeOp::onPreview(), SMESHGUI_BaseComputeOp::onPublishShape(), SMESHGUI_BaseComputeOp::onShowBadMesh(), renameObject(), and SMESH::SetName().
|
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 |
Referenced by SMESHGUI_Selection::guiState().
|
static |
Referenced by SMESHGUI_GroupDlg::setDefaultGroupColor().
|
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::isActiveStudyLocked | ( | ) |
References _PTR(), activeStudy(), and checkLock().
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_ExtrusionAlongPathDlg::ClickOnApply(), SMESHGUI_CreatePolyhedralVolumeDlg::ClickOnApply(), SMESHGUI_AddQuadraticElementDlg::ClickOnApply(), SMESHGUI_ScaleDlg::ClickOnApply(), SMESHGUI_TranslationDlg::ClickOnApply(), SMESHGUI_RotationDlg::ClickOnApply(), SMESHGUI_RevolutionDlg::ClickOnApply(), SMESHGUI_SymmetryDlg::ClickOnApply(), SMESHGUI_MergeDlg::ClickOnApply(), SMESHGUI_SewingDlg::ClickOnApply(), SMESHGUI_ExtrusionDlg::ClickOnApply(), SMESHGUI_DeleteGroupDlg::isValid(), SMESHGUI_SingleEditDlg::onApply(), SMESHGUI_DuplicateNodesDlg::onApply(), SMESHGUI_MultiEditDlg::onApply(), and SMESHGUI_GroupDlg::onApply().
|
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().
|
virtual |
References _PTR(), SMESH::fromUtf8(), SObject(), and studyDS().
|
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().
|
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().
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().
|
privateslot |
Referenced by createSMESHAction().
|
privateslot |
Actions after hypothesis edition Updates object browser after hypothesis edition.
References Modified().
Referenced by OnGUIEvent().
|
virtual |
|
virtual |
|
virtual |
|
privateslot |
Set default selection mode.
SLOT called when operation aborted. Sets default selection mode
|
privateslot |
Set default selection mode.
SLOT called when operation committed. Sets default selection mode
|
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().
|
slot |
Signal handler closing(SUIT_ViewWindow*) of a view.
pview | view being closed |
References SMESH::ClearPlot2Viewers(), and EmitSignalCloseView().
Referenced by connectView().
|
privateslot |
References connectView(), EmitSignalActivatedViewManager(), and SMESH::UpdateSelectionProp().
Referenced by initialize().
|
privateslot |
References myClippingPlaneInfoMap.
Referenced by initialize().
|
virtual |
|
staticprotected |
References SMESH::ClippingPlaneInfo::ActorList, and SMESH::DeleteActorEvent.
Referenced by SMESHGUI().
|
virtual |
Return true
if object can be renamed.
References SMESH::ALGORITHM, SMESH::GROUP, SMESH::HYPOTHESIS, SMESH::MESH, SMESH::SUBMESH, SMESH::SUBMESH_COMPOUND, SMESH::SUBMESH_EDGE, SMESH::SUBMESH_FACE, SMESH::SUBMESH_SOLID, SMESH::SUBMESH_VERTEX, and SMESHGUI_Selection::type().
|
virtual |
Rename object by entry.
entry | entry of the object |
name | new 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().
|
static |
Referenced by StdMeshersGUI_CartesianParamCreator::buildFrame(), SMESHGUI_MinDistance::compute(), SMESHGUI_BoundingBox::compute(), SMESHGUI_BasicProperties::compute(), SMESHGUI_TreeElemInfo::createItem(), createSMESHAction(), SMESHGUI_MeshInfoDlg::dump(), SMESHGUI_CtrlInfo::getHistogram(), SMESHGUI_AddInfo::groupInfo(), StdMeshersGUI_StdHypothesisCreator::icon(), SMESHGUI_SimpleElemInfo::information(), SMESHGUI_TreeElemInfo::information(), SMESH::InitAvailableHypotheses(), SMESHGUI_TreeElemInfo::nodeInfo(), OnGUIEvent(), SMESHGUI_TreeElemInfo::saveExpanded(), StdMeshersGUI_RadioButtonsGrpWdg::setButtonLabels(), SMESHGUI_CtrlInfo::showInfo(), SMESHGUI_CtrlInfo::SMESHGUI_CtrlInfo(), SMESHGUI_MeasureDlg::SMESHGUI_MeasureDlg(), SMESHGUI_MeshInfoDlg::SMESHGUI_MeshInfoDlg(), SMESHGUI_XmlHandler::startElement(), and StdMeshersGUI_QuadrangleParamWdg::StdMeshersGUI_QuadrangleParamWdg().
|
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.
References SMESHOp::OpCompute, SMESHOp::OpEvaluate, and SMESHOp::OpPreCompute.
|
static |
Referenced by StdMeshersGUI_QuadrangleParamCreator::buildFrame(), contextMenuPopup(), SMESHGUI_MinDistance::deactivate(), SMESHGUI_BoundingBox::deactivate(), SMESHGUI_BasicProperties::deactivate(), SMESHGUI_MeasureDlg::deactivate(), SMESHGUI_MeshInfoDlg::deactivate(), SMESHGUI_CtrlInfoDlg::deactivate(), isSelectionCompatible(), SMESHGUI_MeshInfo::loadMesh(), OnEditDelete(), OnGUIEvent(), StdMeshersGUI_PropagationHelperWdg::onListSelectionChanged(), SMESHGUI_DisplayEntitiesDlg::onOk(), StdMeshersGUI_CartesianParamCreator::onSelectionChange(), StdMeshersGUI_QuadrangleParamCreator::onSelectionChanged(), SMESHGUI_FilterLibraryDlg::onSelectionDone(), onUpdateControlActions(), SMESHGUI_MeasureDlg::reject(), SMESHGUI_MeshInfoDlg::reject(), SMESHGUI_MinDistance::selectionChanged(), SMESHGUI_BoundingBox::selectionChanged(), SMESHGUI_BasicProperties::selectionChanged(), SMESHGUI_DisplayEntitiesDlg::SMESHGUI_DisplayEntitiesDlg(), SMESHGUI_MeshInfoDlg::updateInfo(), SMESHGUI_CtrlInfoDlg::updateInfo(), SMESHGUI_MinDistance::updateSelection(), SMESHGUI_BoundingBox::updateSelection(), SMESHGUI_BasicProperties::updateSelection(), SMESHGUI_MeshInfoDlg::updateSelection(), SMESHGUI_CtrlInfoDlg::updateSelection(), and SMESH::UpdateView().
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 | ) |
References myState.
Referenced by SMESHGUI_GroupDlg::enterEvent(), and SMESHGUI_GroupDlg::onSelectAll().
|
signal |
Referenced by EmitSignalActivatedViewManager().
|
signal |
Referenced by EmitSignalCloseAllDialogs().
|
signal |
Referenced by EmitSignalCloseView().
|
signal |
Referenced by EmitSignalDeactivateDialog().
|
signal |
Referenced by EmitSignalStudyFrameChanged().
|
signal |
Referenced by EmitSignalVisibilityChanged().
|
virtual |
Store visual parameters.
This method is called just before the study document is saved. Store visual parameters in AttributeParameter attribue(s)
References _PTR(), SMESH::Absolute, SMESH::ClippingPlaneInfo::ActorList, SMESH::OrientedPlane::Dx, SMESH::OrientedPlane::Dy, SMESH::OrientedPlane::Dz, SMESH_Actor::e0DElements, SMESH_Actor::eBallElem, SMESH_Actor::eEdges, SMESH_Actor::eFaces, SMESH_Actor::eVolumes, gDigitsSep, SMESH_Actor::Get0DColor(), SMESH_Actor::Get0DSize(), SMESH_Actor::GetBallColor(), SMESH_Actor::GetBallScale(), SMESH_Actor::GetBallSize(), SMESH::OrientedPlane::GetDistance(), SMESH_Actor::GetEdgeColor(), SMESH_Actor::GetEntityMode(), SMESH_Actor::GetFacesOrientation3DVectors(), SMESH_Actor::GetFacesOrientationColor(), SMESH_Actor::GetFacesOrientationScale(), SMESH_Actor::GetLineWidth(), SMESH_Actor::GetNodeColor(), SMESH_Actor::GetOutlineColor(), SMESH_Actor::GetOutlineWidth(), SMESH_Actor::GetSufaceColor(), SMESH_Actor::GetVolumeColor(), gPathSep, gSeparator, Handle(), SMESH::OrientedPlane::IsOpenGLClipping, SMESH::OrientedPlane::myAbsoluteOrientation, SMESH::OrientedPlane::myAngle, myClippingPlaneInfoMap, myComponentSMESH, myMarkerMap, SMESH::OrientedPlane::myRelativeOrientation, SMESH::ClippingPlaneInfo::Plane, SMESH::OrientedPlane::PlaneMode, SMESH::Relative, studyDS(), SMESH::OrientedPlane::X, SMESH::OrientedPlane::Y, and SMESH::OrientedPlane::Z.
|
virtualslot |
References SMESH::RemoveVisuData().
void SMESHGUI::switchToOperation | ( | int | id | ) |
Stops current operations and starts a given one.
id | - The id of the operation to start |
References _PTR(), and activeStudy().
Referenced by SMESHGUI_MeshOp::selectionDone().
|
virtual |
Update something in accordance with update flags.
theFlags | - update flags |
Update viewer or/and object browser etc. in accordance with update flags ( see LightApp_UpdateFlags enumeration ).
References SMESH::UpdateView().
|
virtual |
|
private |
Referenced by GetActiveDialogBox(), OnGUIEvent(), SetActiveDialogBox(), and SMESHGUI().
|
private |
Referenced by onViewManagerRemoved(), restoreVisualParameters(), and storeVisualParameters().
|
staticprivate |
Referenced by GetSMESHGen(), preferencesChanged(), restoreVisualParameters(), SMESHGUI(), and storeVisualParameters().
|
private |
Referenced by displayer(), and SMESHGUI().
|
private |
Referenced by addActorAsObserver(), and SMESHGUI().
|
private |
Referenced by OnGUIEvent(), and SMESHGUI().
|
private |
Referenced by OnGUIEvent(), restoreVisualParameters(), and storeVisualParameters().
|
private |
Referenced by addActorAsObserver(), and SMESHGUI().
|
private |
Referenced by createPopupItem(), and initialize().
|
private |
Referenced by OnGUIEvent(), ResetState(), SetState(), and SMESHGUI().