User GUI control for the View3D.
More...
#include <control3dview.h>
User GUI control for the View3D.
User GUI control for View3D.
Definition at line 81 of file control3dview.h.
◆ ConstSPtr
◆ SPtr
◆ Control3DView()
| Control3DView::Control3DView |
( |
const QString & | sSettingsPath = "", |
|
|
QWidget * | parent = 0, |
|
|
const QStringList & | slFlags = QStringList() << "Data" << "View" << "Light", |
|
|
Qt::WindowType | type = Qt::Widget ) |
|
explicit |
Default constructor.
- Parameters
-
| [in] | parent | The parent of the QObject. |
| [in] | slFlags | The flags indicating which tools to display. Scaling is displayed as default. Possible flags are: "Data", "View", "Light". |
| [in] | type. | |
Definition at line 72 of file control3dview.cpp.
◆ ~Control3DView()
| Control3DView::~Control3DView |
( |
| ) |
|
◆ clearView()
| void Control3DView::clearView |
( |
| ) |
|
|
protectedvirtual |
◆ lightColorChanged
| void DISPLIB::Control3DView::lightColorChanged |
( |
const QColor & | color | ) |
|
|
signal |
Use this signal whenever the light color was changed by the user.
- Parameters
-
| [in] | color | The newly picked color. |
◆ lightIntensityChanged
| void DISPLIB::Control3DView::lightIntensityChanged |
( |
double | value | ) |
|
|
signal |
Use this signal whenever the light intensity was changed by the user.
- Parameters
-
| [in] | value | The newly picked intensity. |
◆ loadSettings()
| void Control3DView::loadSettings |
( |
| ) |
|
|
virtual |
◆ onAlwaysOnTop()
| void Control3DView::onAlwaysOnTop |
( |
bool | state | ) |
|
|
protected |
Slot called when the user wants to change the always on top window flag.
- Parameters
-
| [in] | state | The newly picked on top state. |
Definition at line 314 of file control3dview.cpp.
◆ onCoordAxisClicked()
| void Control3DView::onCoordAxisClicked |
( |
bool | checked | ) |
|
|
protected |
Slot called when the user wants to toggle the coord axis.
Definition at line 348 of file control3dview.cpp.
◆ onCustomContextMenuRequested()
| void Control3DView::onCustomContextMenuRequested |
( |
QPoint | pos | ) |
|
|
protected |
customContextMenuRequested
- Parameters
-
| [in] | pos | The position, where the right-click occurred. |
Definition at line 284 of file control3dview.cpp.
◆ onLightColorChanged()
| void Control3DView::onLightColorChanged |
( |
const QColor & | color | ) |
|
|
protected |
Slot called when the user wants change the color of the lights.
- Parameters
-
| [in] | color | The newly picked light color. |
Definition at line 373 of file control3dview.cpp.
◆ onLightColorPicker()
| void Control3DView::onLightColorPicker |
( |
| ) |
|
|
protected |
Slot called when the user wants change the color of the lights.
Definition at line 355 of file control3dview.cpp.
◆ onLightIntensityChanged()
| void Control3DView::onLightIntensityChanged |
( |
double | value | ) |
|
|
protected |
Slot called when the user wants to change the light intensity.
- Parameters
-
| [in] | value | The newly picked light intensity value. |
Definition at line 380 of file control3dview.cpp.
◆ onOpacityChange()
| void Control3DView::onOpacityChange |
( |
qint32 | value | ) |
|
|
protected |
Slot called when opacity slider was changed.
- Parameters
-
Definition at line 259 of file control3dview.cpp.
◆ onRotationClicked()
| void Control3DView::onRotationClicked |
( |
bool | checked | ) |
|
|
protected |
Slot called when the user wants to rotate the models.
- Parameters
-
| [in] | checked | The newly picked rotation state. |
Definition at line 341 of file control3dview.cpp.
◆ onSceneColorChanged()
| void Control3DView::onSceneColorChanged |
( |
const QColor & | color | ) |
|
|
protected |
Slot called when the user wants change the color of the scene.
- Parameters
-
| [in] | color | The newly picked scene color. |
Definition at line 327 of file control3dview.cpp.
◆ onSceneColorPicker()
| void Control3DView::onSceneColorPicker |
( |
| ) |
|
|
protected |
◆ onShowFullScreen()
| void Control3DView::onShowFullScreen |
( |
bool | checked | ) |
|
|
protected |
Slot called when the user wants to show the view in full screen.
- Parameters
-
| [in] | checked | The newly picked full screen state. |
Definition at line 334 of file control3dview.cpp.
◆ onTreeViewDescriptionHide()
| void Control3DView::onTreeViewDescriptionHide |
( |
| ) |
|
Slot called when tree view description visibilty changed.
Definition at line 200 of file control3dview.cpp.
◆ onTreeViewHeaderHide()
| void Control3DView::onTreeViewHeaderHide |
( |
| ) |
|
Slot called when tree view header visibilty changed.
Definition at line 180 of file control3dview.cpp.
◆ onTreeViewRemoveItem()
| void Control3DView::onTreeViewRemoveItem |
( |
const QModelIndex & | index | ) |
|
◆ rotationChanged
| void DISPLIB::Control3DView::rotationChanged |
( |
bool | bRotationChanged | ) |
|
|
signal |
Use this signal whenever the user wants to rotate the 3D model.
- Parameters
-
| [in] | bRotationChanged | The rotation flag. |
◆ saveSettings()
| void Control3DView::saveSettings |
( |
| ) |
|
|
virtual |
◆ sceneColorChanged
| void DISPLIB::Control3DView::sceneColorChanged |
( |
const QColor & | color | ) |
|
|
signal |
Use this signal whenever the scene color was changed by the user.
- Parameters
-
| [in] | color | The newly picked color. |
◆ setDelegate()
| void Control3DView::setDelegate |
( |
QStyledItemDelegate * | pItemDelegate | ) |
|
Set the delegate for the tree view.
- Parameters
-
| [in] | pItemDelegate | The delegate. |
Definition at line 159 of file control3dview.cpp.
◆ setFlags()
| void Control3DView::setFlags |
( |
const QStringList & | slFlags | ) |
|
Set the flags specifying which part of the GUI should be shown.
- Parameters
-
Definition at line 110 of file control3dview.cpp.
◆ setModel()
| void Control3DView::setModel |
( |
QStandardItemModel * | pDataTreeModel | ) |
|
Init the control widget based on the 3D view and data model.
- Parameters
-
| [in] | pData3DTreeModel | The 3D data tree model. |
| [in] | pView3D | The view3D to bec connected to this widget. |
Definition at line 169 of file control3dview.cpp.
◆ showCoordAxis
| void DISPLIB::Control3DView::showCoordAxis |
( |
bool | bShowCoordAxis | ) |
|
|
signal |
Use this signal whenever the user wants to show the coordinate axis.
- Parameters
-
| [in] | bShowCoordAxis | The coordinate axis flag. |
◆ showFullScreen
| void DISPLIB::Control3DView::showFullScreen |
( |
bool | bShowFullScreen | ) |
|
|
signal |
Use this signal whenever the user wants to use full screen mode.
- Parameters
-
| [in] | bShowFullScreen | The full screen flag. |
◆ takeScreenshotChanged
| void DISPLIB::Control3DView::takeScreenshotChanged |
( |
| ) |
|
|
signal |
Use this signal whenever the take screenshot button was clicked by the user.
◆ toggleMutiview
| void DISPLIB::Control3DView::toggleMutiview |
( |
| ) |
|
|
signal |
Notifies the 'Multiview' radio button has been checked.
◆ toggleSingleView
| void DISPLIB::Control3DView::toggleSingleView |
( |
| ) |
|
|
signal |
Notifies the 'Single View' radio button has been checked.
◆ updateGuiMode()
| void Control3DView::updateGuiMode |
( |
GuiMode | mode | ) |
|
|
protectedvirtual |
◆ updateProcessingMode()
◆ m_colCurrentLightColor
| QColor DISPLIB::Control3DView::m_colCurrentLightColor |
|
protected |
Current color of the lights in all View3D's.
Definition at line 272 of file control3dview.h.
◆ m_colCurrentSceneColor
| QColor DISPLIB::Control3DView::m_colCurrentSceneColor |
|
protected |
Current color of the scene in all View3D's.
Definition at line 271 of file control3dview.h.
◆ m_pUi
| Ui::Control3DViewWidget* DISPLIB::Control3DView::m_pUi |
|
protected |
The documentation for this class was generated from the following files: