33#include <NDEVR/Editor.h>
37 class SolidMaterialEditorUI;
84 void setMaterialCoordinateMode();
86 void updateShadingModel();
88 void copySettingsFrom();
91 void updateShininessFromLineEdit();
93 void updateShininessFromSlider();
95 void updateTransparencyFromLineEdit();
97 void updateTransparencyFromSlider();
101 Ui::SolidMaterialEditorUI*
ui;
The equivelent of std::vector but with a bit more control.
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.
Container responsible for storing and setting the appearance of a Model or Geometry within the NDEVR ...
SolidMaterialEditor(const DynamicPointer< QTDesignObject > &object, QWidget *parent=Q_NULLPTR)
Constructs a solid material editor for the given design object.
Ui::SolidMaterialEditorUI * ui
The UI form for the solid material editor.
EditorShowMode showMode() const override
Retrieves the preferred show mode for this editor.
bool m_updating
Guard flag to prevent recursive updates.
virtual void requestScrollEnabled(bool enabled) override
Enables or disables scroll capability within the editor.
void setHorizontal(bool horizontal) override
Sets the editor layout to horizontal or vertical orientation.
Buffer< UVChannelEditWidget * > m_lighting_widgets
Widgets for editing UV channel lighting properties.
virtual void updateValues() override
Updates the displayed values from the underlying material data.
void updateUVLayout()
Updates the UV channel layout section of the editor.
Material material()
Retrieves the Material being edited.
The primary namespace for the NDEVR SDK.
EditorShowMode
Describes how an Editor should be displayed within the application UI.