MEPP2 Project
Public Types | Public Member Functions | Protected Attributes | List of all members
FEVV::BaseAdapterVisuQt Class Reference

#include <BaseAdapterVisuQt.h>

Inheritance diagram for FEVV::BaseAdapterVisuQt:
Inheritance graph
Collaboration diagram for FEVV::BaseAdapterVisuQt:
Collaboration graph

Public Types

using ViewerOSG = BaseViewerOSG
 
- Public Types inherited from FEVV::BaseAdapterVisu
using Viewer = BaseViewer
 
using Plugin = BasePlugin
 

Public Member Functions

 BaseAdapterVisuQt (QWidget *_parent=0, Qt::WindowFlags _f=Qt::Widget)
 
virtual ~BaseAdapterVisuQt ()
 
void attach (Viewer *_viewer) override
 
virtual void attach (ViewerOSG *_viewer)
 
virtual bool isSelected () const
 
virtual void setSelected (const bool _isSelected)
 
- Public Member Functions inherited from FEVV::BaseAdapterVisu
 BaseAdapterVisu ()
 
virtual ~BaseAdapterVisu ()
 
virtual void init ()=0
 
virtual bool isInit () const =0
 
virtual bool isValid () const =0
 
virtual bool isSelected () const
 
virtual void setSelected (const bool _isSelected)
 
virtual ViewergetViewer ()
 
virtual void apply (Plugin *myPlugin)=0
 

Protected Attributes

QGridLayout * layout
 
- Protected Attributes inherited from FEVV::BaseAdapterVisu
ViewermyViewer = nullptr
 
bool bIsInit = false
 

Detailed Description

Definition at line 21 of file BaseAdapterVisuQt.h.

Member Typedef Documentation

◆ ViewerOSG

Definition at line 24 of file BaseAdapterVisuQt.h.

Constructor & Destructor Documentation

◆ BaseAdapterVisuQt()

FEVV::BaseAdapterVisuQt::BaseAdapterVisuQt ( QWidget *  _parent = 0,
Qt::WindowFlags  _f = Qt::Widget 
)
inline

Constructor.

Note
The OpenSceneGraph viewer will be create and initialize if not set (see other constructors).
Parameters
[in]_parentPointer to the QWidget parent of this QWidget (used by Qt) (Default value = 0).
[in]_fWindows flags (used by Qt) (Default value = Qt::Widget).

Definition at line 40 of file BaseAdapterVisuQt.h.

◆ ~BaseAdapterVisuQt()

virtual FEVV::BaseAdapterVisuQt::~BaseAdapterVisuQt ( )
inlinevirtual

Definition at line 55 of file BaseAdapterVisuQt.h.

Member Function Documentation

◆ attach() [1/2]

void FEVV::BaseAdapterVisuQt::attach ( Viewer _viewer)
inlineoverridevirtual

attach a Viewer to the current Widget.

Reimplemented from FEVV::BaseAdapterVisu.

Definition at line 68 of file BaseAdapterVisuQt.h.

Here is the call graph for this function:

◆ attach() [2/2]

virtual void FEVV::BaseAdapterVisuQt::attach ( ViewerOSG _viewer)
inlinevirtual

Definition at line 85 of file BaseAdapterVisuQt.h.

Here is the call graph for this function:

◆ isSelected()

virtual bool FEVV::BaseAdapterVisu::isSelected
inline

Definition at line 91 of file BaseAdapterVisu.h.

Here is the call graph for this function:

◆ setSelected()

virtual void FEVV::BaseAdapterVisu::setSelected
inline

Definition at line 106 of file BaseAdapterVisu.h.

Here is the call graph for this function:

Member Data Documentation

◆ layout

QGridLayout* FEVV::BaseAdapterVisuQt::layout
protected

Definition at line 95 of file BaseAdapterVisuQt.h.


The documentation for this class was generated from the following file: