aboutsummaryrefslogtreecommitdiff
path: root/scatterplot.h
AgeCommit message (Collapse)Author
2023-06-04Further advances in nuklear port.Samuel Fadel
Rendering now looks similar to Qt version, needs a few tweaks: * Proper multisampling * Background Missing features: * Barcharts * Interactivity (e.g. brushing/linking in all objects) * History view of interactions
2023-05-23Massive changes in initial port away from Qt.Samuel Fadel
2016-03-30Scatterplot: added dtor and handled corner case of quadtree init.Samuel Fadel
2016-03-02Improvements related to ColorScale and screenshots.Samuel Fadel
* 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
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: improved interaction state changing code.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-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-18Scatterplot: added more padding so that no parts of the plot are cropped out ↵Samuel Fadel
by the screenshots.
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-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-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: 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-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: control whether splat is displayed.Samuel Fadel
* Subsample plot no longer displays splat
2016-01-07Scatterplot: simplified drawing code.Samuel Fadel
2015-12-19Experimenting using VoronoiSplat as a texture.Samuel Fadel
2015-12-16Scale & LinearScale are now template classes.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-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-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-08-27Renamed member m_currentState and reordered to match declaration and ↵Samuel Fadel
initialization.
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-22Improvements to UI and performance.Samuel Fadel
2015-05-21Added more state variables in Scatterplot to reduce computation time.Samuel Fadel
2015-05-21Nearly complete implementation of interaction.Samuel Fadel
Interaction still does not work due to signals not being correctly emitted.
2015-05-21Initial selection implementation.Samuel Fadel
2015-05-21Updated UI.Samuel Fadel
- Removed unnecessary UI elements from QML file; - Added the ColorScale class and implemented glyph color mapping from class labels; - Mark geometry nodes of individual glyphs as dirty when updating the scene graph.
2015-05-15Initial commit. ForceScheme seems bugged.Samuel Fadel