2 #ifndef LIGHTAPP_DISPLAYER_HEADER
3 #define LIGHTAPP_DISPLAYER_HEADER
5 #include <SALOME_Prs.h>
9 class LightApp_Displayer : public SALOME_Displayer
13 virtual ~LightApp_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();
23 static LightApp_Displayer* FindDisplayer( const QString&, const bool );
25 virtual bool canBeDisplayed( const QString& /*entry*/, const QString& /*viewer_type*/ ) const;
26 bool canBeDisplayed( const QString& /*entry*/ ) const;
29 virtual SALOME_Prs* buildPresentation( const QString&, SALOME_View* = 0 );