ImFusion SDK 4.3
GlMeshRendererContours::DisplayOptions Struct Reference

#include <ImFusion/Mesh/Rendering/GlMeshRendererContours.h>

Complete record of rendering options for MeshRendererOutline. More...

+ Inheritance diagram for GlMeshRendererContours::DisplayOptions:

Detailed Description

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< ColorModep_colorMode = {"colorMode", ColorMode::ContourColorContourAlpha, this}
 
- Public Attributes inherited from Configurable
Signal signalParametersChanged
 Emitted whenever one of the registered Parameters' or SubPropertys' signalValueChanged signal was emitted.
 

Additional Inherited Members

- Public Member Functions inherited from Configurable
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
 
Configurableoperator= (const Configurable &)
 
Configurableoperator= (Configurable &&) noexcept
 
- Protected Attributes inherited from Configurable
std::vector< Paramm_params
 List of all registered Parameter and SubProperty instances.
 

Member Enumeration Documentation

◆ ColorMode

enum class ColorMode
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.


The documentation for this struct was generated from the following file:
Search Tab / S to search, Esc to close