ImFusion SDK 4.3
GlTrackingSequence::DisplayOptions Class Reference

#include <ImFusion/GL/GlTrackingSequence.h>

Record of settings to configure the appearance of a GlTrackingSequence. More...

+ Inheritance diagram for GlTrackingSequence::DisplayOptions:

Detailed Description

Record of settings to configure the appearance of a GlTrackingSequence.

Implements the DataComponent interface so that it can be attached directly to the underlying TrackingSequence.

Public Member Functions

bool operator== (const DisplayOptions &rhs) const
 
std::string id () const override
 Returns a unique string identifier for this type of data component.
 
- Public Member Functions inherited from DataComponent< DisplayOptions >
std::unique_ptr< DataComponentBaseclone () 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.
 
- 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
 

Public Attributes

Parameter< bool > p_showZeroQuality = {"showZeroQuality", true, this}
 Toggle visibility of zero quality points.
 
Parameter< bool > p_medianSkip = {"medianSkip", false, this}
 Toggle skipping of large gaps compared to median time-step.
 
Parameter< IndicatorTypep_indicatorType = {"indicatorType", IndicatorType::None, this}
 Type of indicator.
 
Parameter< IndicatorVisibilityp_indicatorVisibility = {"indicatorVisibility", IndicatorVisibility::Focus, this}
 Visibility of indicator.
 
Parameter< double > p_indicatorScale = {"indicatorScale", 1.0, this}
 Scale factor for the indicator.
 
Parameter< vec3 > p_indicatorColor = {"indicatorColor", vec3{0.25, 0.41, 0.95}, this}
 Color of indicator (CameraCone only)
 
Parameter< double > p_lineWidth = {"lineWidth", 1.0, this}
 Width of the line.
 
Parameter< ColorOptionsp_colorOption = {"colorOption", ColorOptions::Quality, this}
 Color scheme of the sequence.
 
- Public Attributes inherited from Configurable
Signal signalParametersChanged
 Emitted whenever one of the registered Parameters' or SubPropertys' signalValueChanged signal was emitted.
 

Additional Inherited Members

- Protected Member Functions inherited from DataComponentBase
 DataComponentBase (const DataComponentBase &)=default
 
DataComponentBaseoperator= (const DataComponentBase &other)=default
 
- Protected Attributes inherited from Configurable
std::vector< Paramm_params
 List of all registered Parameter and SubProperty instances.
 

Member Function Documentation

◆ id()

std::string id ( ) const
overridevirtual

Returns a unique string identifier for this type of data component.

Note
To avoid conflicts make sure to include potential plugin names into this ID. Due to the modular architecture of the ImFusion library, uniqueness of IDs cannot be checked at compile time. However, DataComponentFactory will check the uniqueness of the ID during registration.

Implements DataComponentBase.


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