3#include <NDEVR/QTDesignObject.h>
4#include <NDEVR/DesignObjectWidgetInterface.h>
5#include <NDEVR/QCustomSlider.h>
19 DesignObjectWidgetInterface::addTarget(
object);
23 DesignObjectWidgetInterface::removeTarget(
object);
29 QCustomSlider::setValue(thickness);
Can adjust the depth offset of a material using a QCustomSlider widget.
Definition MaterialPropertySlider.h:72
DepthBiasSlider(const DynamicPointer< QTDesignObject > &object, QWidget *parent=nullptr)
Definition MaterialPropertySlider.h:74
DepthBiasSlider(QWidget *parent=nullptr)
Definition MaterialPropertySlider.h:77
Provides a modifiable pointer that has shared ownership of a dynamically allocated object.
Definition Pointer.hpp:320
Container responsible for storing and setting the appearance of a Model or Geometry within the NDEVR ...
Definition Material.h:51
t_type getMaterialProperty(MaterialProperties mat_index) const
Definition Material.h:174
MaterialProperties
Definition Material.h:114
Can adjust the properties of a material using a QCustomSlider widget.
Definition MaterialPropertySlider.h:12
void addTarget(const DynamicPointer< QTDesignObject > &object) override
Definition MaterialPropertySlider.h:17
void onObjectDeletedSlot()
Definition MaterialPropertySlider.h:33
MaterialPropertySlider(const DynamicPointer< QTDesignObject > &object, Material::MaterialProperties property, QWidget *parent=nullptr)
MaterialPropertySlider(Material::MaterialProperties property, QWidget *parent=nullptr)
void removeTarget(const DynamicPointer< QTDesignObject > &object) override
Definition MaterialPropertySlider.h:21
void onTargetUpdated(UUID id) override
void refreshFromMaterial(const Material &mat)
Definition MaterialPropertySlider.h:26
Material::MaterialProperties m_property
Definition MaterialPropertySlider.h:40
Can adjust the opacity of a material using a QCustomSlider widget.
Definition MaterialPropertySlider.h:59
OpacitySlider(QWidget *parent=nullptr)
Definition MaterialPropertySlider.h:64
OpacitySlider(const DynamicPointer< QTDesignObject > &object, QWidget *parent=nullptr)
Definition MaterialPropertySlider.h:61
Can adjust the pixel thickness of a material using a QCustomSlider widget.
Definition MaterialPropertySlider.h:46
PixelThicknessSlider(const DynamicPointer< QTDesignObject > &object, QWidget *parent=nullptr)
Definition MaterialPropertySlider.h:48
PixelThicknessSlider(QWidget *parent=nullptr)
Definition MaterialPropertySlider.h:51
The slider is the classic widget for controlling a bounded value. It lets the user move a slider hand...
Definition QCustomSlider.h:13
A universally unique identifier (UUID) is a 128-bit number used to identify information in computer s...
Definition UUID.h:60
double fltp08
Defines an alias representing an 8 byte floating-point number.
Definition BaseValues.hpp:149