34 #ifndef VIEWPORTPANEL_H
35 #define VIEWPORTPANEL_H
40 #include "ui_ViewportPanel.h"
41 #include <QtGui/QDoubleSpinBox>
42 #include <QtGui/QCheckBox>
43 #include <QtGui/QComboBox>
44 #include <QtGui/QPushButton>
45 #include <QtGui/QLabel>
66 ViewportPanel ( QWidget *parent = 0, Qt::WindowFlags flags = 0 );
85 virtual void fillToolBars ( QToolBar *mainToolBar, QToolBar *panelToolBar );
97 void setPanelParameters (
const QMap<QString, QString> ¶meterMap );
120 void updateCameras (
const QList<Node *> &cameraNodes,
const QString &cameraName );
127 void fullscreenEnabled ();
143 void selectCameraRequested (
const QString &cameraName,
bool toggle );
153 void updateCameraRequested (
const QString &cameraName,
ViewingParameters *viewingParameters );
160 void deleteCameraRequested (
const QString &cameraName );
169 void applyCameraRequested (
const QString &cameraName,
ViewingParameters *viewingParameters );
174 void requestCameraList ();
179 void triggerRebuild ();
188 void keyPressEvent ( QKeyEvent *event );
195 void keyReleaseEvent ( QKeyEvent *event );
204 void toggleFullscreen (
bool enable );
211 void toggleStereo (
bool enable );
216 void showStereoDialog ();
221 void setStereoParameters ();
230 void on_ui_addCameraAction_triggered (
bool checked =
false );
238 void on_ui_linkViewAction_toggled (
bool checked );
245 void on_ui_selectCameraAction_triggered (
bool checked =
false );
252 void on_ui_removeCameraAction_triggered (
bool checked =
false );
259 void on_ui_overlayOnlyAction_toggled (
bool checked =
false );
266 void selectCamera (
const QString &cameraName );
282 void selectStage ( );
287 void changeFog (
float value );
292 void changeFog (
int value );
297 void changeFogColor ();
302 void changeBackgroundColor ();