![]() |
ImFusion SDK 4.3
|
#include <ImFusion/Mesh/Rendering/GlMeshRendererContours.h>
Complete record of rendering options for MeshRendererOutline. More...
Complete record of rendering options for MeshRendererOutline.
Public Types | |
enum class | ColorMode { MeshVertexColorMeshVertexAlpha = 0 , MeshVertexColorContourAlpha = 1 , ContourColorMeshVertexAlpha = 2 , ContourColorContourAlpha = 3 } |
Public Attributes | |
Parameter< vec4 > | p_lineColor = {"lineColor", vec4(1.0, 1.0, 1.0, 1.0), *this} |
Parameter< double > | p_lineWidth = {"lineWidth", 2.0, *this} |
Parameter< ColorMode > | p_colorMode = {"colorMode", ColorMode::ContourColorContourAlpha, this} |
![]() | |
Signal | signalParametersChanged |
Emitted whenever one of the registered Parameters' or SubPropertys' signalValueChanged signal was emitted. | |
Additional Inherited Members | |
![]() | |
virtual void | configure (const Properties *p) |
Configure this object instance by de-serializing the given Properties. | |
virtual void | configuration (Properties *p) const |
Serialize the current object configuration into the given Properties object. | |
virtual void | configureDefaults () |
Retrieve the properties of this object, replaces values with their defaults and sets it again. | |
void | registerParameter (ParameterBase *param) |
Register the given Parameter or SubProperty, so that it will be configured during configure()/configuration(). | |
void | unregisterParameter (const ParameterBase *param) |
Remove the given Parameter or SubProperty from the list of registered parameters. | |
Configurable (const Configurable &rhs) | |
Configurable (Configurable &&rhs) noexcept | |
Configurable & | operator= (const Configurable &) |
Configurable & | operator= (Configurable &&) noexcept |
![]() | |
std::vector< Param > | m_params |
List of all registered Parameter and SubProperty instances. | |
|
strong |
Enumerator | |
---|---|
MeshVertexColorContourAlpha | Use the vertex color and alpha of the mesh. |
ContourColorMeshVertexAlpha | Use the vertex color of the mesh and the alpha of the contour. |
ContourColorContourAlpha | Use the color of the contour and the vertex alpha of the Mesh. |