- virtual bool OnGUIEvent (int theCommandID, QAD_Desktop* parent);
- virtual bool OnMousePress (QMouseEvent* pe, QAD_Desktop* parent, QAD_StudyFrame* studyFrame);
- virtual bool OnMouseMove (QMouseEvent* pe, QAD_Desktop* parent, QAD_StudyFrame* studyFrame);
- virtual bool OnKeyPress (QKeyEvent* pe, QAD_Desktop* parent, QAD_StudyFrame* studyFrame);
- virtual bool ActiveStudyChanged( QAD_Desktop* parent );
- virtual bool SetSettings ( QAD_Desktop* parent );
- virtual void DefinePopup ( QString & theContext, QString & theParent, QString & theObject );
- virtual bool CustomPopup ( QAD_Desktop* parent, QPopupMenu* popup, const QString & theContext,
- const QString & theParent, const QString & theObject );
- virtual void BuildPresentation ( const Handle(SALOME_InteractiveObject)& theIO );
- virtual void SupportedViewType (int* buffer, int bufferSize);
- virtual void Deactivate ();
-
- void OnEditDelete();
-
- /* Mesh Management */
- SMESH::SMESH_Mesh_ptr InitMesh( GEOM::GEOM_Shape_ptr aShape, QString NameMesh );
- SMESH::SMESH_subMesh_ptr AddSubMesh( SMESH::SMESH_Mesh_ptr aMesh, GEOM::GEOM_Shape_ptr aShape, QString NameMesh );
- SMESH::SMESH_Group_ptr AddGroup( SMESH::SMESH_Mesh_ptr aMesh, SMESH::ElementType aType, QString aName );
-
- /* Hypotheses and Algorithms Management */
- void InitAvailableHypotheses ();
- QStringList GetAvailableHypotheses (const bool isAlgo);
- HypothesisData* GetHypothesisData (const char* aHypType);
- SMESHGUI_GenericHypothesisCreator* GetHypothesisCreator (const QString& aHypType);
-
- SMESH::SMESH_Hypothesis_ptr CreateHypothesis (const QString& aHypType,
- const QString& aHypName,
- const bool isAlgo = false);
-
- bool AddHypothesisOnMesh (SMESH::SMESH_Mesh_ptr aMesh, SMESH::SMESH_Hypothesis_ptr aHyp);
- bool AddAlgorithmOnMesh (SMESH::SMESH_Mesh_ptr aMesh, SMESH::SMESH_Hypothesis_ptr aHyp);
-
- bool AddHypothesisOnSubMesh (SMESH::SMESH_subMesh_ptr aSubMesh, SMESH::SMESH_Hypothesis_ptr aHyp);
- bool AddAlgorithmOnSubMesh (SMESH::SMESH_subMesh_ptr aSubMesh, SMESH::SMESH_Hypothesis_ptr aHyp);
-
- bool RemoveHypothesisOrAlgorithmOnMesh (const Handle(SALOME_InteractiveObject)& IObject);
- bool RemoveHypothesisOrAlgorithmOnMesh (SALOMEDS::SObject_ptr MorSM,
- SMESH::SMESH_Hypothesis_ptr anHyp);
-
- void SetPickable(SMESH_Actor* theActor = NULL);
-
- /* NODES */
- void ViewNodes();
- vtkActor* SimulationMoveNode(SMESH_Actor* Mactor, int idnode);
- void MoveNode( SMESH::SMESH_Mesh_ptr aMesh, int idnode, float x, float y, float z);
-
- void DisplaySimulationNode( SMESH::SMESH_Mesh_ptr aMesh, float x, float y, float z);
- void DisplaySimulationMoveNode( vtkActor* ac, int idnode, float x, float y, float z);