Visual Computing Library
|
Public Slots | |
void | visibilityDrawableObjectChanged () |
Slot called when the user changed the visibility of an object in the DrawableObjectVectorFrame. | |
void | selectedDrawableObjectChanged (uint i) |
Slot called when the user selected a different DrawableObject in the DrawableObjectVectorFrame. | |
void | renderSettingsUpdated () |
Slot called every time that the MeshRenderSettingsFrame emits 'settingsUpdated()', that is when the user changes render settings of a GeneriDrawableMesh. | |
void | fitScene () |
void | updateGUI () |
Public Member Functions | |
MeshViewer (QWidget *parent=nullptr) | |
MeshViewer constructor. | |
void | setDrawableObjectVector (const std::shared_ptr< vcl::DrawableObjectVector > &v) |
Sets the current DrawableObjectVector, and updates the GUI accordingly. | |
void | setUnlistedDrawableObjectVector (const std::shared_ptr< vcl::DrawableObjectVector > &v) |
uint | selectedDrawableObject () const |
TextEditLogger & | logger () |
void | setDrawVectorIconFunction (const DrawableObjectVectorFrame::IconFunction &f) |
Private Attributes | |
Ui::MeshViewer * | mUI |
std::shared_ptr< vcl::DrawableObjectVector > | mDrawableObjectVector |
std::shared_ptr< vcl::DrawableObjectVector > | mListedDrawableObjects |
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 |