2 #ifndef SALOMEAPP_DISPLAYER_HEADER
3 #define SALOMEAPP_DISPLAYER_HEADER
5 #include <SALOME_Prs.h>
9 class SalomeApp_Displayer : public SALOME_Displayer
12 SalomeApp_Displayer();
13 virtual ~SalomeApp_Displayer();
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;
22 static SALOME_View* GetActiveView();
25 virtual SALOME_Prs* buildPresentation( const QString&, SALOME_View* = 0 );