Radium Engine  1.5.0
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.

Member Function Documentation

◆ 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.


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