![]() |
NDEVR
API Documentation
|
Allows the user to select Models or Materials from a list to add to the scene. More...
Public Member Functions | |
| LibraryWidget (QTModelManager *manager, const DynamicPointer< ModelEditController > &edit_controller, QWidget *parent=nullptr) | |
| Constructs a LibraryWidget for browsing and placing library models. | |
| void | setCategory (const String &category) |
| Filters the library to show only models in the specified category. | |
Allows the user to select Models or Materials from a list to add to the scene.
See DesignObjectChooser and LibraryManager
Definition at line 48 of file LibraryDialog.h.
| LibraryWidget::LibraryWidget | ( | QTModelManager * | manager, |
| const DynamicPointer< ModelEditController > & | edit_controller, | ||
| QWidget * | parent = nullptr ) |
Constructs a LibraryWidget for browsing and placing library models.
| [in] | manager | The model manager providing scene data. |
| [in] | edit_controller | The edit controller for placing selected models into the scene. |
| [in] | parent | The parent widget, or nullptr if no parent. |
| void LibraryWidget::setCategory | ( | const String & | category | ) |
Filters the library to show only models in the specified category.
| [in] | category | The category name to filter by. |