Salome HOME
a28effdb7359ec708f3ecbdc013c0c61bbe3eef5
[modules/gui.git] / src / SalomeApp / SalomeApp_Displayer.h
1
2 #ifndef SALOMEAPP_DISPLAYER_HEADER
3 #define SALOMEAPP_DISPLAYER_HEADER
4
5 #include <SALOME_Prs.h>
6
7 class QString;
8
9 class SalomeApp_Displayer : public SALOME_Displayer
10 {
11 public:
12   SalomeApp_Displayer();
13   virtual ~SalomeApp_Displayer();
14
15   void Display( const QString&, const bool = true, SALOME_View* = 0 );
16   void Redisplay( const QString&, const bool = true );
17   void Erase( const QString&, const bool forced = false, const bool updateViewer = true, SALOME_View* = 0 );
18   void EraseAll( const bool forced = false, const bool updateViewer = true, SALOME_View* = 0 ) const;
19   bool IsDisplayed( const QString&, SALOME_View* = 0 ) const;
20   void UpdateViewer() const;
21
22   static SALOME_View*  GetActiveView();
23
24 protected:
25   virtual SALOME_Prs* buildPresentation( const QString&, SALOME_View* = 0 );
26 };
27
28 #endif