![]() |
ImFusion SDK 4.3
|
#include <ImFusion/Stream/PolyDataStreamDisplayOptions.h>
Display options for a PolyDataStream mesh. More...
Display options for a PolyDataStream mesh.
Public Member Functions | |
bool | operator== (const PolyDataStreamMeshDisplayOptions &rhs) const |
std::string | id () const override |
Returns a unique string identifier for this type of data component. | |
![]() | |
std::unique_ptr< DataComponentBase > | clone () const override |
Creates a clone of this data component. | |
std::unique_ptr< Subclass > | cloneDerived () const |
bool | assign (const DataComponentBase &other) override |
Assigns the content of other to this data component. | |
bool | equals (const DataComponentBase &other) const override |
Compares this data component to other for equality. | |
![]() | |
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 |
Public Attributes | |
Parameter< bool > | p_applyNormals = {"applyNormals", true, this} |
Parameter< GlMesh::RenderMode3d > | p_renderMode = {"renderMode", GlMesh::RenderMode3d::Surface, this} |
Parameter< bool > | p_applyLighting = {"applyLighting", true, this} |
Parameter< bool > | p_visible = {"visible", true, this} |
Parameter< vec3 > | p_color = {"Color", vec3(255.0, 0.0, 0.0), this} |
![]() | |
Signal | signalParametersChanged |
Emitted whenever one of the registered Parameters' or SubPropertys' signalValueChanged signal was emitted. | |
Additional Inherited Members | |
![]() | |
DataComponentBase (const DataComponentBase &)=default | |
DataComponentBase & | operator= (const DataComponentBase &other)=default |
![]() | |
std::vector< Param > | m_params |
List of all registered Parameter and SubProperty instances. | |
|
overridevirtual |
Returns a unique string identifier for this type of data component.
Implements DataComponentBase.