2#include <NDEVR/Editor.h>
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.
MaterialWidget * m_material_widget
Widget for editing the layer's material properties.
LayerEditor(const DynamicPointer< QTDesignObject > &layer, QWidget *parent=nullptr)
Constructs a LayerEditor for the given layer design object.
DesignObjectStringWidget * m_name_widget
Widget for editing the layer name.
EditorShowMode showMode() const override
Returns the display mode for this editor.
Toggle * m_orient_to_camera_toggle
Toggle for orienting layer content to the camera.
virtual void updateValues() override
Refreshes the editor UI to reflect the current state of the layer.
Toggle * m_auto_scale_toggle
Toggle for the auto-scale layer option.
void updateFromUISlot()
Slot called when the user modifies layer properties through the UI.
A Button that toggles between on and off.
The primary namespace for the NDEVR SDK.
EditorShowMode
Describes how an Editor should be displayed within the application UI.