Radium Engine  1.5.0
Ra::Gui::SimpleWindow Class Reference

#include <Gui/RadiumWindow/SimpleWindow.hpp>

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

Public Slots

void prepareDisplay () override
 
void cleanup () override
 Cleanup resources.
 
void displayHelpDialog () override
 
- Public Slots inherited from Ra::Gui::MainWindowInterface
virtual void prepareDisplay ()=0
 
virtual void cleanup ()=0
 Cleanup resources.
 
virtual void displayHelpDialog ()
 

Signals

void frameUpdate ()
 Emitted when frame must be updated.
 
- Signals inherited from Ra::Gui::MainWindowInterface
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

Ra::Gui::ViewergetViewer () override
 Access the viewer, i.e. the rendering widget.
 
Ra::Gui::SelectionManager * getSelectionManager () override
 Access the selection manager.
 
Ra::Gui::TimelinegetTimeline () override
 Access the timeline.
 
void updateUi (Ra::Plugins::RadiumPluginInterface *plugin) override
 Update the ui from the plugins loaded.
 
void onFrameComplete () override
 
void addRenderer (const std::string &name, std::shared_ptr< Ra::Engine::Rendering::Renderer > e) override
 Add render in the application: UI, viewer - this method does not associate a control panel.
 
 SimpleWindow (uint w=800, uint h=640, QWidget *parent=nullptr)
 
 SimpleWindow (const SimpleWindow &)=delete
 
SimpleWindowoperator= (const SimpleWindow &)=delete
 
 SimpleWindow (SimpleWindow &&)=delete
 
SimpleWindowoperator= (SimpleWindow &&)=delete
 
- Public Member Functions inherited from Ra::Gui::MainWindowInterface
 MainWindowInterface (QWidget *parent=nullptr)
 Constructor and destructor.
 
virtual void configure ()
 finalize configuration once engine viewer and connection are set.
 

Detailed Description

Definition of a minimal Radium Window. This minimal window allows to display radium Engine entities.

Definition at line 14 of file SimpleWindow.hpp.

Constructor & Destructor Documentation

◆ SimpleWindow()

Ra::Gui::SimpleWindow::SimpleWindow ( uint  w = 800,
uint  h = 640,
QWidget *  parent = nullptr 
)
explicit

Constructors and destructor. https://en.cppreference.com/w/cpp/language/rule_of_three

Definition at line 16 of file SimpleWindow.cpp.

Member Function Documentation

◆ onFrameComplete()

void Ra::Gui::SimpleWindow::onFrameComplete ( )
overridevirtual

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

Implements Ra::Gui::MainWindowInterface.

Definition at line 56 of file SimpleWindow.cpp.

◆ prepareDisplay

void Ra::Gui::SimpleWindow::prepareDisplay ( )
overrideslot

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

Definition at line 63 of file SimpleWindow.cpp.


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