aboutsummaryrefslogtreecommitdiff
path: root/scatterplot.cpp
AgeCommit message (Collapse)Author
2016-02-12Code cleanup: enums & properties renamed/added.Samuel Fadel
* VoronoiSplat: alpha & beta are now properties * ContinuousColorScale: enums renamed to the Qt standard way * Scatterplot: internal state enum renamed * ProjectionObserver: observer type enum renamed
2016-02-11Scatterplot: glyph size is now a Q_PROPERTY.Samuel Fadel
In addition, the updateView parameter was removed from all methods that had it.
2016-02-10Updated signal/slot connections to function pointers.Samuel Fadel
Also, some small changes in Scatterplot and VoronoiSplat to accomodate this.
2016-02-09Scatterplot: brush-selecting now toggles selection state.Samuel Fadel
2016-02-09Scatterplot: brushing while merging is now more forgiving w.r.t. mistakes.Samuel Fadel
2016-02-09Scatterplot: improved interaction state changing code.Samuel Fadel
2016-02-09Revert "Scatterplot: interaction now happens only via left mouse button."Samuel Fadel
This reverts commit d79e037df56236c7d0f0824853b292d15ab75c27.
2016-02-08Scatterplot: interaction now happens only via left mouse button.Samuel Fadel
2016-02-08User can now select RPs & CPs, using the R & C keys.Samuel Fadel
2016-02-03Scatterplot: renamed internal variable & related enum.Samuel Fadel
2016-02-02Using std::numeric_limits where appropriate.Samuel Fadel
2016-01-28ProjectionObsever now responds to selection changes.Samuel Fadel
* Scatterplot: small fix to selection updates * ProjectionObserver: whenever CP selection changes, compute influence of CPs over all RPs. Whenever RP selection changes, compute influence of RPs by all CPs. * ProjectionObserver: with empty selections, go back to normal mode
2016-01-28Scatterplot: set default glyph color (white) when no color is available.Samuel Fadel
2016-01-28Scatterplot: handle right clicks (clear selection) and absence of color data.Samuel Fadel
2016-01-27Scatterplot: using the quadtree to perform selection.Samuel Fadel
2016-01-27Scatterplot: now possible to use brush to select points.Samuel Fadel
2016-01-27Scatterplot: reduced search space for brushing.Samuel Fadel
2016-01-27Scatterplot: efficient brushing.Samuel Fadel
* Brushing now finds the nearest point within a tolerance radius
2016-01-27Scatterplot & BarChart brushing functional.Samuel Fadel
Scatterplot brushing needs some improvement, feels clumsy.
2016-01-26Scatterplot & BarChart: initial brushing mechanism.Samuel Fadel
* Both components now support brushing (support in Scatterplot for activating a brush is still incomplete, though it can be brushed on by other components) * Added a handler for linking the brushing between components * Added crosshair geometry handler to geometry lib * Fixed issue #15
2016-01-21Added selection linking. Needs more tests.Samuel Fadel
2016-01-19Scatterplot: one more case where update() should be called.Samuel Fadel
2016-01-18BarChart & Scatterplot: added hints for vertex data upload.Samuel Fadel
* BarChart: additionally, removed hover event handler and added a movement event handler * Scatterplot: changed selected/unselected outline colors; unselected is now black, selected is a really bright blue
2016-01-18Added observer to update values displayed based on some metric.Samuel Fadel
* Modified main() function to connect signals/slots to display calculated values * Color scales are no longer shared; they are also normalized to each component's own data * Stub mouse handling in BarChart (changes cursor shape)
2016-01-17Scatterplot: slightly darker unselected glyph outline.Samuel Fadel
2016-01-17Added a options panel.Samuel Fadel
* Added screenshot action that saves two images: one of the main view (plot + splat) and one of the bottom view (bar chart) * Added methods/signals/slots to Scatterplot for handling glyph sizes * Added methods/signals/slots to VoronoiSplat for handling the alpha/beta parameters, which are now also no longer fixed * Options panel: - glyph sizes of both CPs and RPs - splat opacity - splat parameters (alpha & beta) - color scale combo box currently does nothing
2016-01-16Changed color scale internal point to const.Samuel Fadel
2016-01-16Added the Colormap component.Samuel Fadel
* The Colormap component is a simple rect with a texture mapped that displays a ColorScale with a fixed number of samples. This number of samples is exported as a member const, which is used on other components (such as VoronoiSplat). * The texture mapping is reflecting the colormap lookup used in VoronoiSplat. * The ColorScale class now has a method for sampling the color scale and outputs the samples to iterator-style objects, providing easy intergration with existing code.
2016-01-15VoronoiSplat & Scatterplot: splatting is now a separate component.Samuel Fadel
The change was due to future functionality requirements, this separation provides grater flexibility. As a nice side effect, the cropping bug when first rendering the splat is now gone.
2016-01-15Scatterplot: simplified material updates on glyphs.Samuel Fadel
2016-01-15Scatterplot: small fix to number of vertices in each glyph.Samuel Fadel
2016-01-15Scatterplot: visual update.Samuel Fadel
* Selection is now indicated with outline (black for selected points; white otherwise) * Circle geometry now takes diameter as input (more related to glyph size)
2016-01-14Scatterplot: changed internal handling of update()s.Samuel Fadel
2016-01-13Scatterplot: individual glyph opacity methods & signals.Samuel Fadel
* Removed code that handles selection coordination between cpPlot and full data plot from main * Full plot has control points invisible (opacity = 0) by default
2016-01-12Scatterplot: removed leftover debugging code.Samuel Fadel
2016-01-12Scatterplot: autoscaling & signals.Samuel Fadel
* Added methods & signal/slots to handle auto/manual scaling * The subsample plot is now scaled by the full data plot, naturally superimposing them * LAMP was corrected in order to always preserve the mapping of the subsample
2016-01-12Scatterplot: removed animation.Samuel Fadel
2016-01-12Scatterplot: Aesthetical code changes.Samuel Fadel
2016-01-11Scatterplot: new methods for setting visual attrs without issuing update()s.Samuel Fadel
* Also added calls to these new methods in main().
2016-01-11Scatterplot: Removed geometry update code from initialization of glyphs.Samuel Fadel
2016-01-11Scatterplot: Glyph update method now gets the glyphs' root.Samuel Fadel
2016-01-11Scatterplot: control whether splat is displayed.Samuel Fadel
* Subsample plot no longer displays splat
2016-01-07Scatterplot: simplified drawing code.Samuel Fadel
2016-01-06Scatterplot: Handling of selection drawing is now simpler.Samuel Fadel
2016-01-06Scatterplot: Added boolean to emphasize intention in updateSplat().Samuel Fadel
2015-12-19Experimenting using VoronoiSplat as a texture.Samuel Fadel
2015-12-19Scatterplot: Corrected scaling & padding.Samuel Fadel
2015-12-16Scale & LinearScale are now template classes.Samuel Fadel
2015-11-11No need to return after ignoring mouse event.Samuel Fadel
2015-11-09Scale::reverse() renamed to Scale::inverse().Samuel Fadel