33#include <NDEVR/Editor.h>
34#include <NDEVR/Material.h>
The equivelent of std::vector but with a bit more control.
Shows a series of Buttons with large icons that represent DesignObjects that allow the user to choose...
Provides a modifiable pointer that has shared ownership of a dynamically allocated object.
Editor(QWidget *parent=nullptr)
Constructs an Editor with no design object target.
A popup Editor dialog for showing options or information related to Materials used with outlines or l...
Container responsible for storing and setting the appearance of a Model or Geometry within the NDEVR ...
Buffer< Material > m_last_materials
Cached list of materials from the last update.
DesignObjectGallery * m_material_gallery
Gallery widget for browsing and selecting materials.
Buffer< Material > materials()
Retrieves the current list of materials from the target model.
QCustomScrollArea * m_scroll_area
Scroll area containing the material editors.
virtual ~ModelMaterialsDialog()
Destroys the materials dialog and releases resources.
SolidMaterialEditor * m_solid_material_editor
Editor for solid material properties.
ModelMaterialsDialog(const DynamicPointer< QTDesignObject > &object, QWidget *parent=nullptr)
Constructs the materials dialog for the given design object.
virtual void setHorizontal(bool horizontal) final override
Sets the layout orientation of the dialog to horizontal or vertical.
virtual void updateValues() final override
Updates all UI values from the current target model and its materials.
LineworkMaterialEditor * m_line_material_editor
Editor for linework material properties.
A popup Editor dialog for showing options or information related to Materials used with solid renderi...
The primary namespace for the NDEVR SDK.