33#include <NDEVR/DesignObjectWidgetInterface.h>
45 class SmoothDialog :
public QWidget,
public DesignObjectWidgetInterface
A compact way to present a list of options to the user.
A line edit allows users to enter and edit a single line of plain text with useful editing functions,...
bool m_has_pending
Whether a smoothing operation is pending.
QRadioButton * m_normal_smoothing
Radio button for normal smoothing intensity.
void valueChanged()
Handles changes to any smoothing parameter.
bool m_include_smooth_types
Whether the smoothing type selector is shown.
QRadioButton * m_heavy_smoothing
Radio button for heavy smoothing.
void requestSettingsSignal()
Emitted when the user requests to configure smoothing settings.
QRadioButton * m_max_smoothing
Radio button for maximum smoothing.
QRadioButton * m_light_smoothing
Radio button for light smoothing.
QCustomLineEdit * m_smooth_normals_angle
Line edit for the normal smoothing angle threshold.
Toggle * m_retain_size
Toggle for retaining original mesh size after smoothing.
void performSmoothing() const
Executes the smoothing operation on the target objects.
TimeSpan m_animation_time
Duration of the smoothing animation.
Toggle * m_smooth_normals
Toggle for enabling normal smoothing.
bool m_include_retain_size
Whether the retain size option is shown.
QRadioButton * m_no_smoothing
Radio button for no smoothing.
QCustomComboBox * m_smoothing_type
Combo box for selecting the smoothing algorithm type.
void setup()
Sets up the UI elements and signal connections.
SmoothDialog(QWidget *parent=nullptr)
Constructs a smooth dialog widget.
Stores a time span, or difference between two times, with an optional start time.
A Button that toggles between on and off.
The primary namespace for the NDEVR SDK.