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

#include <BaseAdapterVisu.h>

Inheritance diagram for FEVV::BaseAdapterVisu:
Inheritance graph
Collaboration diagram for FEVV::BaseAdapterVisu:
Collaboration graph

Public Types

using Viewer = BaseViewer
 
using Plugin = BasePlugin
 

Public Member Functions

 BaseAdapterVisu ()
 
virtual ~BaseAdapterVisu ()
 
virtual void attach (Viewer *_viewer)
 
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

ViewermyViewer = nullptr
 
bool bIsInit = false
 

Detailed Description

Definition at line 26 of file BaseAdapterVisu.h.

Member Typedef Documentation

◆ Plugin

Definition at line 30 of file BaseAdapterVisu.h.

◆ Viewer

Definition at line 29 of file BaseAdapterVisu.h.

Constructor & Destructor Documentation

◆ BaseAdapterVisu()

FEVV::BaseAdapterVisu::BaseAdapterVisu ( )
inline

Constructor.

Note
The OpenSceneGraph viewer will be created and initialized if not set (see other constructors).

Definition at line 39 of file BaseAdapterVisu.h.

◆ ~BaseAdapterVisu()

virtual FEVV::BaseAdapterVisu::~BaseAdapterVisu ( )
inlinevirtual

Definition at line 50 of file BaseAdapterVisu.h.

Member Function Documentation

◆ apply()

virtual void FEVV::BaseAdapterVisu::apply ( Plugin myPlugin)
pure virtual

Get the window.

Returns
the window.

Implemented in FEVV::SimpleAdapterVisu.

◆ attach()

virtual void FEVV::BaseAdapterVisu::attach ( Viewer _viewer)
inlinevirtual

attach a Viewer to the current Widget.

Reimplemented in FEVV::BaseAdapterVisuQt.

Definition at line 64 of file BaseAdapterVisu.h.

Here is the call graph for this function:

◆ getViewer()

virtual Viewer* FEVV::BaseAdapterVisu::getViewer ( )
inlinevirtual

Get the viewer.

Returns
the viewer.

Definition at line 130 of file BaseAdapterVisu.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ init()

virtual void FEVV::BaseAdapterVisu::init ( )
pure virtual

attach a Window to the current Widget.

Note
Must be called by window.init() initialize the widget.
Must attach himself to the viewer.

Implemented in FEVV::SimpleAdapterVisu.

◆ isInit()

virtual bool FEVV::BaseAdapterVisu::isInit ( ) const
pure virtual

Implemented in FEVV::SimpleAdapterVisu.

◆ isSelected()

virtual bool FEVV::BaseAdapterVisu::isSelected ( ) const
inlinevirtual

Definition at line 91 of file BaseAdapterVisu.h.

◆ isValid()

virtual bool FEVV::BaseAdapterVisu::isValid ( ) const
pure virtual

Implemented in FEVV::SimpleAdapterVisu.

◆ setSelected()

virtual void FEVV::BaseAdapterVisu::setSelected ( const bool  _isSelected)
inlinevirtual

Definition at line 106 of file BaseAdapterVisu.h.

Member Data Documentation

◆ bIsInit

bool FEVV::BaseAdapterVisu::bIsInit = false
protected

Definition at line 175 of file BaseAdapterVisu.h.

◆ myViewer

Viewer* FEVV::BaseAdapterVisu::myViewer = nullptr
protected

Definition at line 173 of file BaseAdapterVisu.h.


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