aboutsummaryrefslogtreecommitdiff
path: root/scatterplot.cpp
AgeCommit message (Expand)Author
2016-03-02Improvements related to ColorScale and screenshots....* ColorScale: now a pointer whenever needed. main() takes care of updating extents * New class DivergentColorScale: works specifically for divergent scales, always has 3 colors as input: negative values, 0, positive values * ManipulationHandler: ProjectionHistory no longer needed Samuel Fadel
2016-02-18Scatterplot: constants for mouse buttons.Samuel Fadel
2016-02-12Code cleanup: enums & properties renamed/added....* VoronoiSplat: alpha & beta are now properties * ContinuousColorScale: enums renamed to the Qt standard way * Scatterplot: internal state enum renamed * ProjectionObserver: observer type enum renamed Samuel Fadel
2016-02-11Scatterplot: glyph size is now a Q_PROPERTY....In addition, the updateView parameter was removed from all methods that had it. Samuel Fadel
2016-02-10Updated signal/slot connections to function pointers....Also, some small changes in Scatterplot and VoronoiSplat to accomodate this. Samuel Fadel
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."...This reverts commit d79e037df56236c7d0f0824853b292d15ab75c27. Samuel Fadel
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....* 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 Samuel Fadel
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....* Brushing now finds the nearest point within a tolerance radius Samuel Fadel
2016-01-27Scatterplot & BarChart brushing functional....Scatterplot brushing needs some improvement, feels clumsy. Samuel Fadel
2016-01-26Scatterplot & BarChart: initial brushing mechanism....* 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 Samuel Fadel
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....* 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 Samuel Fadel
2016-01-18Added observer to update values displayed based on some metric....* 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) Samuel Fadel
2016-01-17Scatterplot: slightly darker unselected glyph outline.Samuel Fadel
2016-01-17Added a options panel....* 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 Samuel Fadel
2016-01-16Changed color scale internal point to const.Samuel Fadel
2016-01-16Added the Colormap component....* 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. Samuel Fadel
2016-01-15VoronoiSplat & Scatterplot: splatting is now a separate component....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. Samuel Fadel
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....* Selection is now indicated with outline (black for selected points; white otherwise) * Circle geometry now takes diameter as input (more related to glyph size) Samuel Fadel
2016-01-14Scatterplot: changed internal handling of update()s.Samuel Fadel
2016-01-13Scatterplot: individual glyph opacity methods & signals....* Removed code that handles selection coordination between cpPlot and full data plot from main * Full plot has control points invisible (opacity = 0) by default Samuel Fadel
2016-01-12Scatterplot: removed leftover debugging code.Samuel Fadel
2016-01-12Scatterplot: autoscaling & signals....* 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 Samuel Fadel
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....* Also added calls to these new methods in main(). Samuel Fadel
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....* Subsample plot no longer displays splat Samuel Fadel
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