aboutsummaryrefslogtreecommitdiff
path: root/scatterplot.cpp
AgeCommit message (Collapse)Author
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.
2015-09-03Fixed code typos.Samuel Fadel
2015-09-03Code standardization and new builtin continuous color scales scheme.Samuel Fadel
2015-09-03Updated Scatteplot's drawing code.Samuel Fadel
- All glyphs use the same geometry, placement is done via affine transforms - Geometry memory handled using unique_ptr - Added outline to each glyph, avoiding color issues with the background
2015-09-01Improvements related to visual representation of distortions.Samuel Fadel
- New continuous color scale class; - Improvements in signal handler for calculating distortions; - Implementation of the NP(k) measure.
2015-09-01Changed mouse interaction to use keyboard modifiers in order to support.Samuel Fadel
2015-08-27Renamed member m_currentState and reordered to match declaration and ↵Samuel Fadel
initialization.
2015-08-22Bugfix: m_currentState was not initialized.Samuel Fadel
This led to inconsistent behavior. Seems to be fixed.
2015-07-24Color mapping in Scatterplot and initial measures.Samuel Fadel
- Scatterplot: can now map any floating point data to colors; - Scatterplot: somewhat optimized geometry/material updates; - Removed anything related to labels where it was not necessary; - Added observers to implement distortion (via measures) visualization; - Added skeleton implementations of NP and silhouette.
2015-05-30Added tSNE. Code improvements.Samuel Fadel
2015-05-22Improvements to UI and performance.Samuel Fadel
2015-05-21Updated color scale with better distinguishable colors.Samuel Fadel
2015-05-21Updated visual display.Samuel Fadel
Points now have 0.5 opacity by default, while selected ones will have 1.0.
2015-05-21Added more state variables in Scatterplot to reduce computation time.Samuel Fadel
2015-05-21Correct interaction handling.Samuel Fadel