From 0bdc4110ac010685ee3e81552041bc553d848294 Mon Sep 17 00:00:00 2001 From: Samuel Fadel Date: Mon, 4 Apr 2016 17:16:08 -0300 Subject: LinePlot: working properly (and updates settings). Added the several options to the bundling (from CUBu) as properties of the LinePlot component, which are set from the options UI. In addition, many changes to the UI regarding those options. Added a new shortcut to hide options (for cleaner demos). --- main.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'main.h') diff --git a/main.h b/main.h index 830c742..143d49e 100644 --- a/main.h +++ b/main.h @@ -12,6 +12,7 @@ #include "numericrange.h" #include "barchart.h" #include "colormap.h" +#include "lineplot.h" #include "scatterplot.h" #include "voronoisplat.h" @@ -96,6 +97,7 @@ public: cpPlot->setColorScale(colorScaleCPs.get()); cpBarChart->setColorScale(colorScaleCPs.get()); cpColormap->setColorScale(colorScaleCPs.get()); + bundlePlot->setColorScale(colorScaleCPs.get()); } Q_INVOKABLE void setRPColorScale(ColorScaleType colorScaleType) { @@ -122,6 +124,7 @@ public: Colormap *cpColormap, *rpColormap; Scatterplot *cpPlot, *rpPlot; VoronoiSplat *splat; + LinePlot *bundlePlot; // Color scales in use std::unique_ptr colorScaleCPs, colorScaleRPs; @@ -188,6 +191,7 @@ private: , cpPlot(0) , rpPlot(0) , splat(0) + , bundlePlot(0) , projectionHistory(0) { } -- cgit v1.2.3