35 #ifndef DISPLIB_CONTROL3DVIEW_H
36 #define DISPLIB_CONTROL3DVIEW_H
42 #include "../disp_global.h"
58 class Control3DViewWidget;
61 class QStyledItemDelegate;
62 class QStandardItemModel;
86 typedef QSharedPointer<Control3DView>
SPtr;
87 typedef QSharedPointer<const Control3DView>
ConstSPtr;
99 const QStringList& slFlags = QStringList() <<
"Data" <<
"View" <<
"Light",
100 Qt::WindowType type = Qt::Widget);
114 void setFlags(
const QStringList& slFlags);
122 void setDelegate(QStyledItemDelegate* pItemDelegate);
131 void setModel(QStandardItemModel* pDataTreeModel);
137 void onTreeViewHeaderHide();
143 void onTreeViewRemoveItem(
const QModelIndex &index);
149 void onTreeViewDescriptionHide();
170 void updateGuiMode(GuiMode mode);
178 void updateProcessingMode(ProcessingMode mode);
186 void onOpacityChange(qint32 value);
192 void onSceneColorPicker();
200 void onCustomContextMenuRequested(QPoint pos);
208 void onAlwaysOnTop(
bool state);
217 void onSceneColorChanged(
const QColor& color);
225 void onShowFullScreen(
bool checked);
233 void onRotationClicked(
bool checked);
239 void onCoordAxisClicked(
bool checked);
245 void onLightColorPicker();
253 void onLightColorChanged(
const QColor& color);
261 void onLightIntensityChanged(
double value);
281 void sceneColorChanged(
const QColor& color);
289 void showFullScreen(
bool bShowFullScreen);
297 void rotationChanged(
bool bRotationChanged);
305 void showCoordAxis(
bool bShowCoordAxis);
313 void lightColorChanged(
const QColor& color);
321 void lightIntensityChanged(
double value);
327 void takeScreenshotChanged();
333 void toggleSingleView();
339 void toggleMutiview();
343 #endif // DISPLIB_CONTROL3DVIEW_H