ImFusion C++ SDK 4.5.0
ImFusion::GlMeshRendererSurface::DisplayOptions::Clipping Struct Reference
Inheritance diagram for ImFusion::GlMeshRendererSurface::DisplayOptions::Clipping:

Public Types

enum class  Mode { Discard = 0 , Wireframe = 1 , SolidButWireframeColor = 2 , ChromaDepth = 3 }

Public Attributes

Parameter< Modep_mode = {"mode", Mode::Discard, this}
Parameter< vec3 > p_boundaryColor = {"boundaryColor", vec3::Zero(), this}
Parameter< vec4 > p_chromaDepthNearColor = {"chromaDepthNearColor", vec4(0.8, 0.3, 0.0, 1.0), this}
Parameter< vec4 > p_chromaDepthFarColor = {"chromaDepthFarColor", vec4(0.1, 0.3, 0.6, 0.5), this}
Public Attributes inherited from ImFusion::Configurable
Signal signalParametersChanged
 Emitted whenever one of the registered Parameters' or SubPropertys' signalValueChanged signal was emitted.

Additional Inherited Members

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

Member Enumeration Documentation

◆ Mode

Enumerator
Discard 

Pixels behind clip plane are not rendered at all.

Wireframe 

Use wireframe rendering mode behind clip plane.

SolidButWireframeColor 

Use regular rendering mode but with the wireframeColor behind the clip plane.

ChromaDepth 

Use color coding to indicate depth wrt. clip plane.


The documentation for this struct was generated from the following file:
  • ImFusion/Mesh/Rendering/GlMeshRendererSurface.h
Search Tab / S to search, Esc to close