Radium Engine  1.5.20
Loading...
Searching...
No Matches
PluginContext.hpp
1#pragma once
2
3#include <PluginBase/RaPluginBase.hpp>
4#include <QObject>
5
6namespace Ra {
7namespace Engine {
8class RadiumEngine;
9}
10namespace Gui {
11class SelectionManager;
12class Timeline;
13} // namespace Gui
14namespace Gui {
15class PickingManager;
16class Viewer;
17} // namespace Gui
18
19namespace Plugins {
20
22class RA_PLUGINBASE_API Context : public QObject
23{
24 Q_OBJECT
25
26 public:
27 explicit Context( QObject* parent = nullptr ) : QObject( parent ) {}
28
29 Engine::RadiumEngine* m_engine { nullptr };
30 Gui::SelectionManager* m_selectionManager { nullptr };
31 Gui::Timeline* m_timeline { nullptr };
32 Gui::PickingManager* m_pickingManager { nullptr };
33 Gui::Viewer* m_viewer { nullptr };
34 std::string m_exportDir { "." };
35
36 signals:
58 void setContinuousUpdate( bool b );
59
64};
65} // namespace Plugins
66} // namespace Ra
The Timeline class provides display and management of time, as well as keyframes.
Definition Timeline.hpp:38
Data passed to the plugin constructor.
void askForUpdate()
ask for single-shot rendering update
void setContinuousUpdate(bool b)
enable continuous rendering update
hepler function to manage enum as underlying types in VariableSet
Definition Cage.cpp:3