|
Visual Computing Library
devel
|

Public Slots | |
| void | fitScene () |
| void | renderSettingsUpdated () |
| Slot called every time that the MeshRenderSettingsFrame emits 'settingsUpdated()', that is when the user changes render settings of a GeneriDrawableMesh. | |
| void | selectedDrawableObjectChanged (uint i) |
| Slot called when the user selected a different DrawableObject in the DrawableObjectVectorFrame. | |
| void | updateGUI () |
| void | visibilityDrawableObjectChanged () |
| Slot called when the user changed the visibility of an object in the DrawableObjectVectorTree. | |
Public Member Functions | |
| TextEditLogger & | logger () |
| MeshViewer (QWidget *parent=nullptr) | |
| MeshViewer constructor. | |
| uint | selectedDrawableObject () const |
| void | setDrawableObjectVector (const std::shared_ptr< vcl::DrawableObjectVector > &v) |
| Sets the current DrawableObjectVector, and updates the GUI accordingly. | |
| void | setDrawVectorIconFunction (const DrawableObjectVectorTree::IconFunction &f) |
| void | setUnlistedDrawableObjectVector (const std::shared_ptr< vcl::DrawableObjectVector > &v) |
Protected Member Functions | |
| DrawableObjectVectorTree & | drawableObjectVectorTree () const |
| void | keyPressEvent (QKeyEvent *event) override |
| MeshViewerRenderApp & | viewer () const |
| Returns the MeshViewerRenderApp used by this MeshViewer. | |
Private Attributes | |
| std::shared_ptr< vcl::DrawableObjectVector > | mDrawableObjectVector |
| std::shared_ptr< vcl::DrawableObjectVector > | mListedDrawableObjects |
| Ui::MeshViewer * | mUI |
| std::shared_ptr< vcl::DrawableObjectVector > | mUnlistedDrawableObjects |
|
explicit |
MeshViewer constructor.
Creates a MeshViewer having the given parent. // Todo: document
| parent |
|
slot |
Slot called every time that the MeshRenderSettingsFrame emits 'settingsUpdated()', that is when the user changes render settings of a GeneriDrawableMesh.
We need to get the selected GeneriDrawableMesh first, and then update the settings to it.
|
slot |
Slot called when the user selected a different DrawableObject in the DrawableObjectVectorFrame.
| i |
| void vcl::qt::MeshViewer::setDrawableObjectVector | ( | const std::shared_ptr< vcl::DrawableObjectVector > & | v | ) |
Sets the current DrawableObjectVector, and updates the GUI accordingly.
| v |
|
protected |
Returns the MeshViewerRenderApp used by this MeshViewer.