Radium Engine  1.5.20
Loading...
Searching...
No Matches
Ra::Gui::MainWindowInterface Class Referenceabstract

#include <Gui/MainWindowInterface.hpp>

+ Inheritance diagram for Ra::Gui::MainWindowInterface:
+ Collaboration diagram for Ra::Gui::MainWindowInterface:

Public Slots

virtual void prepareDisplay ()=0
 
virtual void cleanup ()=0
 Cleanup resources.
 
virtual void displayHelpDialog ()
 

Signals

void closed ()
 Emitted when the closed button has been hit.
 
void requestEngineOpenGLInitialization ()
 Emitted when the viewer request OpenGL initialization of the engine.
 

Public Member Functions

 MainWindowInterface (QWidget *parent=nullptr)
 Constructor and destructor.
 
virtual Ra::Gui::ViewergetViewer ()=0
 Access the viewer, i.e. the rendering widget.
 
virtual Gui::SelectionManager * getSelectionManager ()=0
 Access the selection manager.
 
virtual Gui::TimelinegetTimeline ()=0
 Access the timeline.
 
virtual void updateUi (Plugins::RadiumPluginInterface *plugin)=0
 Update the ui from the plugins loaded.
 
virtual void onFrameComplete ()=0
 
virtual void addRenderer (const std::string &name, std::shared_ptr< Engine::Rendering::Renderer > e)=0
 Add render in the application: UI, viewer.
 
virtual void configure ()
 finalize configuration once engine viewer and connection are set.
 

Detailed Description

Interface class for MainWindow contains abstract methods that MainApplication uses.

Definition at line 27 of file MainWindowInterface.hpp.

Constructor & Destructor Documentation

◆ MainWindowInterface()

Ra::Gui::MainWindowInterface::MainWindowInterface ( QWidget * parent = nullptr)
inlineexplicit

Constructor and destructor.

Definition at line 33 of file MainWindowInterface.hpp.

◆ ~MainWindowInterface()

virtual Ra::Gui::MainWindowInterface::~MainWindowInterface ( )
inlinevirtual

Definition at line 34 of file MainWindowInterface.hpp.

Member Function Documentation

◆ addRenderer()

virtual void Ra::Gui::MainWindowInterface::addRenderer ( const std::string & name,
std::shared_ptr< Engine::Rendering::Renderer > e )
pure virtual

Add render in the application: UI, viewer.

Implemented in Ra::Gui::SimpleWindow.

◆ configure()

virtual void Ra::Gui::MainWindowInterface::configure ( )
inlinevirtual

finalize configuration once engine viewer and connection are set.

Definition at line 57 of file MainWindowInterface.hpp.

◆ displayHelpDialog

virtual void Ra::Gui::MainWindowInterface::displayHelpDialog ( )
inlinevirtualslot

Definition at line 68 of file MainWindowInterface.hpp.

◆ getSelectionManager()

virtual Gui::SelectionManager * Ra::Gui::MainWindowInterface::getSelectionManager ( )
pure virtual

Access the selection manager.

Implemented in Ra::Gui::SimpleWindow.

◆ getTimeline()

virtual Gui::Timeline * Ra::Gui::MainWindowInterface::getTimeline ( )
pure virtual

Access the timeline.

Implemented in Ra::Gui::SimpleWindow.

◆ getViewer()

virtual Ra::Gui::Viewer * Ra::Gui::MainWindowInterface::getViewer ( )
pure virtual

Access the viewer, i.e. the rendering widget.

Implemented in Ra::Gui::SimpleWindow.

◆ onFrameComplete()

virtual void Ra::Gui::MainWindowInterface::onFrameComplete ( )
pure virtual

Update the UI ( most importantly gizmos ) to the modifications of the engine

Implemented in Ra::Gui::SimpleWindow.

◆ prepareDisplay

virtual void Ra::Gui::MainWindowInterface::prepareDisplay ( )
pure virtualslot

Called when a scene is ready to display to parameterize the application window and the viewer.

◆ updateUi()

virtual void Ra::Gui::MainWindowInterface::updateUi ( Plugins::RadiumPluginInterface * plugin)
pure virtual

Update the ui from the plugins loaded.

Implemented in Ra::Gui::SimpleWindow.


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