#include <ImFusion/Mesh/Rendering/GlMeshRendererSurface.h>
Complete record of rendering options for GlMeshRendererSurface.
More...
Complete record of rendering options for GlMeshRendererSurface.
|
|
void | setColor (const vec3 &color) |
| | Convenience method to set the ambient and diffuse components of both p_frontMaterial and p_backMaterial to color.
|
| 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 |
|
|
Parameter< RenderMode > | p_renderMode = {"renderMode", RenderMode::Surface, this} |
|
SubProperty< Material > | p_frontMaterial = {"materialFront", Material(), this} |
|
SubProperty< Material > | p_backMaterial = {"materialBack", Material(), this} |
|
Parameter< double > | p_opacity = {"opacity", 1.0, this} |
|
Parameter< bool > | p_useFaceNormals = {"useFaceNormals", false, this} |
|
Parameter< vec4 > | p_wireframeColor = {"wireframeColor", vec4(0.0, 0.0, 1.0, 1.0), this} |
|
Parameter< double > | p_wireframeWidth = {"wireframeWidth", 1.0, this} |
|
Parameter< Material::Mode > | p_wireframeMaterialMode = {"wireframeMaterialMode", Material::Mode::Uniform, this} |
|
Parameter< std::optional< vec4 > > | p_clipPlaneCVNF = {"clipPlaneCVNF", std::nullopt, this} |
|
SubProperty< Clipping > | p_clipOptions = {"clipOptions", Clipping(), this} |
|
Parameter< PickingMode > | p_pickingMode = {"pickingMode", PickingMode::None, this} |
|
Signal | signalParametersChanged |
| | Emitted whenever one of the registered Parameters' or SubPropertys' signalValueChanged signal was emitted.
|
◆ RenderMode
| Enumerator |
|---|
| Surface | Render filled polygon surfaces.
|
| SurfaceAndWireframe | Render both filled polygon and wireframe surfaces.
|
| Wireframe | Render wireframe polygons only.
|
The documentation for this struct was generated from the following file:
- ImFusion/Mesh/Rendering/GlMeshRendererSurface.h