![]() |
ImFusion SDK 4.3
|
#include <ImFusion/Graph/GraphDataController.h>
Provides a colormap legend overlay for a graph. More...
Inheritance diagram for GraphDataController::FeatureLegend:Provides a colormap legend overlay for a graph.
Public Member Functions | |
| FeatureLegend (ImageView3D *view) | |
| void | setLabels (double minVal, double maxVal) |
| Set legend labels based on given value range. | |
| void | setVisible (bool visible) |
| void | updateForFeature (Graph *graph, const std::string &featureName, GlColormap::Preset preset, double min, double max) |
| Update the legend based on a given feature and color mapping. | |
| FeatureLegend & | operator= (const FeatureLegend &)=delete |
| FeatureLegend (FeatureLegend &&) noexcept=default | |
| FeatureLegend & | operator= (FeatureLegend &&) noexcept=default |
| bool | operator== (const FeatureLegend &rhs) const noexcept |
| GUI::ColorBarOverlay * | overlay () noexcept |
| const GUI::ColorBarOverlay * | overlay () const noexcept |
Public Member Functions inherited from TemporaryDataComponent | |
| 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. | |
| bool | assign (const DataComponentBase &) override |
| Assigns the content of other to this data component. | |
| bool | equals (const DataComponentBase &) const override |
| Compares this data component to other for equality. | |
| void | configure (const Properties *) override |
| Configure this object instance by de-serializing the given Properties. | |
| void | configuration (Properties *) const override |
| Serialize the current object configuration into the given Properties object. | |
Public Member Functions inherited from Configurable | |
| 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 |
Additional Inherited Members | |
Public Attributes inherited from Configurable | |
| Signal | signalParametersChanged |
Emitted whenever one of the registered Parameters' or SubPropertys' signalValueChanged signal was emitted. | |
Protected Member Functions inherited from DataComponentBase | |
| DataComponentBase (const DataComponentBase &)=default | |
| DataComponentBase & | operator= (const DataComponentBase &other)=default |
Protected Attributes inherited from Configurable | |
| std::vector< Param > | m_params |
| List of all registered Parameter and SubProperty instances. | |
| void setLabels | ( | double | minVal, |
| double | maxVal ) |
Set legend labels based on given value range.
This is fixed to generating four labels, could be generalized in the future.