- /* Simulation management */
- void EraseSimulationActors() ;
-
- /* Non modal dialog boxes magement */
- void EmitSignalDeactivateDialog() ;
- void EmitSignalCloseAllDialogs() ;
-
- /* Selection management */
- int GetNameOfSelectedIObjects( SALOME_Selection* Sel, QString& aName ) ;
- int GetNameOfSelectedNodes( SALOME_Selection* Sel, QString& aName ) ;
- int GetNameOfSelectedElements( SALOME_Selection* Sel, QString& aName ) ;
- int GetNameOfSelectedEdges( SALOME_Selection* Sel, QString& aName ) ;
-
- SMESH::SMESH_Hypothesis_ptr ConvertIOinSMESHHypothesis( const Handle(SALOME_InteractiveObject)& IO,
- Standard_Boolean& testResult ) ;
-
- SMESH::SMESH_Mesh_ptr ConvertIOinMesh(const Handle(SALOME_InteractiveObject)& IO, Standard_Boolean& testResult) ;
- SMESH::SMESH_subMesh_ptr ConvertIOinSubMesh(const Handle(SALOME_InteractiveObject)& IO, Standard_Boolean& testResult) ;
-
- /* Geometry Client */
- GEOM::GEOM_Shape_ptr ConvertIOinGEOMShape( const Handle(SALOME_InteractiveObject)& IO,
- Standard_Boolean& testResult ) ;
-
- /* Popup management */
- QString CheckTypeObject(const Handle(SALOME_InteractiveObject)& IO);
- QString CheckHomogeneousSelection();
-
- /* Scripts management */
- SMESH_Actor* ReadScript(SMESH::SMESH_Mesh_ptr aMesh);
-
- /* Actors management */
- void Dump(SMESH_Actor* Mactor);
-
- void SetViewMode(int commandId);
- void ChangeRepresentation( SMESH_Actor* ac, int type );
-
- SMESH_Actor* FindActor(SMESH::SMESH_Mesh_ptr aMesh,
- Standard_Boolean& testResult,
- bool onlyInActiveView);
- SMESH_Actor* FindActorByEntry(QString entry,
- Standard_Boolean& testResult,
- bool onlyInActiveView);
-
- void InitActor(SMESH::SMESH_Mesh_ptr aMesh);
- void DisplayActor(SMESH_Actor* ac, bool visibility = true);
- void EraseActor(SMESH_Actor* ac);
- bool AddActorInSelection(SMESH_Actor* ac);
-
- void UpdateView();
-
- void Update();
- void Update(const Handle(SALOME_InteractiveObject)& IO);
-
- void ScalarVisibilityOff();
-
-
- /* Settings management */
- void SetSettingsScalarBar(vtkScalarBarActor* theScalarBar,
- QString Bold, QString Italic, QString Shadow, QString Font,
- QString Orientation, float Width, float Height,
- int NbColors, int NbLabels);
- void DisplayScalarBar(bool visibility);
- void UpdateScalarBar(float MinRange, float MaxRange);
-
- void SetDisplaySettings();
-
- SALOMEDS::Study::ListOfSObject* GetMeshesUsingAlgoOrHypothesis( SMESH::SMESH_Hypothesis_ptr AlgoOrHyp ) ;
-
- /* Control management */
- void Control(int theCommandID);
-
- /* Parameter functions */
- double Parameter( Standard_Boolean& res, const double aValue,
- const char* aLabel, const char* aTitle,
- const double bottom, const double top, const int decimals ) ;
- int Parameter( Standard_Boolean& res, const int aValue,
- const char* aLabel, const char* aTitle,
- const int bottom, const int top ) ;
-
- static void setOrb();