Version: 9.16.0
SMESHGUI_Displayer Class Reference

#include <SMESHGUI_Displayer.h>

Inheritance diagram for SMESHGUI_Displayer:

Public Member Functions

 SMESHGUI_Displayer (SalomeApp_Application *)
 
 ~SMESHGUI_Displayer ()
 
virtual SALOME_Prs * buildPresentation (const QString &, SALOME_View *=0) override
 
virtual bool canBeDisplayed (const QString &, const QString &) const override
 
virtual void Display (const QStringList &, const bool=true, SALOME_View *=0) override
 

Protected Member Functions

SalomeApp_Study * study () const
 
std::string getName (const QString &entry)
 

Private Attributes

SalomeApp_Application * myApp
 
bool isNeedFitAll
 

Constructor & Destructor Documentation

◆ SMESHGUI_Displayer()

SMESHGUI_Displayer::SMESHGUI_Displayer ( SalomeApp_Application *  app)

◆ ~SMESHGUI_Displayer()

SMESHGUI_Displayer::~SMESHGUI_Displayer ( )

Member Function Documentation

◆ buildPresentation()

SALOME_Prs * SMESHGUI_Displayer::buildPresentation ( const QString &  entry,
SALOME_View *  theViewFrame = 0 
)
overridevirtual

◆ canBeDisplayed()

bool SMESHGUI_Displayer::canBeDisplayed ( const QString &  entry,
const QString &  viewer_type 
) const
overridevirtual

◆ Display()

void SMESHGUI_Displayer::Display ( const QStringList &  theList,
const bool  anUpdateViewer = true,
SALOME_View *  theView = 0 
)
overridevirtual

References SMESH::FitAll(), and isNeedFitAll.

◆ getName()

std::string SMESHGUI_Displayer::getName ( const QString &  entry)
protected

References SMESH::_PTR(), Handle(), and study().

Referenced by buildPresentation().

◆ study()

SalomeApp_Study * SMESHGUI_Displayer::study ( ) const
protected

References myApp.

Referenced by getName().

Field Documentation

◆ isNeedFitAll

bool SMESHGUI_Displayer::isNeedFitAll
private

Referenced by buildPresentation(), and Display().

◆ myApp

SalomeApp_Application* SMESHGUI_Displayer::myApp
private

Referenced by study().