aboutsummaryrefslogtreecommitdiff
path: root/scatterplot.cpp
AgeCommit message (Collapse)Author
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
2015-10-13Changed update modifier to Shift (Scatterplot).Samuel Fadel
2015-10-06min/max calculation for scaling corrected (Scatterplot).Samuel Fadel
2015-10-05Animation easing in Scatterplot.Samuel Fadel
2015-10-05Initial (rudimentary) animation implementation.Samuel Fadel
Animation plays when setXY() is called on Scatterplot, providing a "smooth" transition for the new position of each point.
2015-09-29HistoryGraph now notifies when the active item changes. Scatterplot now ↵Samuel Fadel
differentiates between interactive and programatic changes in x/y data.
2015-09-29Inital history graph implementation and using linear scales where applicable.Samuel Fadel
- geometry.h for geometry calculation functions - scale.h for implementations of scales (currently only the linear scale) - updated main_view.qml for the new HistoryGraph component - HistoryGraph displays each subsample used as a mini scatterplot (no colors currently) - Scatterplot now uses scale.h for transformations - Code cleanup and some bug fixes
2015-09-24Fixed interaction issues (inverted y coordinate).Samuel Fadel
2015-09-24Updated selection handling code; implemented option to save subsample plot.Samuel Fadel
2015-09-23Reverted back to individual geometries when drawing glyphs.Samuel Fadel
2015-09-17Additional interactive functionalities.Samuel Fadel
- Selection linking between subsample plot and main plot - Dumb "effectiveness" coloring
2015-09-15Removed color scale initialization in Scatterplot and changed the signaling ↵Samuel Fadel
to happen only on mouse release.