aboutsummaryrefslogtreecommitdiff
path: root/main.cpp
AgeCommit message (Expand)Author
2016-03-04main(): fixed code for init'ing CP projection....Minor code improvements in forceScheme() and dist(). Samuel Fadel
2016-03-04main(): small change to output message.Samuel Fadel
2016-03-03BarChart is now also updated during rewinding....In addition, rewinding is now done with Ctrl+RMB. Samuel Fadel
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-28Added colormap orientation & improved UI....* Colormap: orientation now enables vertical & horizontal colormap display * Two colormap components, one for each type of point (regular, control) * Improved controls grouping and cohesion Samuel Fadel
2016-02-12Refactoring of Projection{Observer,History} & ManipulationHandler....ProjectionObserver class has been removed, all of its functionality is now inside class ProjectionHistory, thus dealing with the design problem mentioned in the previous commit. ProjectionHistory is now also responsible for all rewinding functionality, which makes more sense. Samuel Fadel
2016-02-12Many bugfixes related to ProjectionObserver....* Correct handling of relative metrics in UI * undo(), reset() methods added * Main class responsible for undoing and resetting both history and the observer (MUST BE AT THE SAME TIME! -- this might indicate a design issue to be addressed in the future) Samuel Fadel
2016-02-11BarChart: correctly displays current selection.Samuel Fadel
2016-02-11main(): minor reoganization in signal connections.Samuel Fadel
2016-02-11Modified the way the history interacts with other components....* Main class is now responsible for updating map components whenever the current map changes (even rewinding): this simplifies other objects because they don't have to know anything about how the data is being displayed later (no CP/RP juggling everywhere) * Added undo/reset actions to main view, including menu items * ProjectionHistory now has specific signals for each change happening to the history Samuel Fadel
2016-02-11main(): Removed method call to set glyph size in rpPlot.Samuel Fadel
2016-02-10Added ProjectionHistory object for history tracking.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-09Slightly reworked rewinding; added values rewinding....Needs a solution to the problem of which values must be displayed and/or interpolated. Currently, whenever the user rewinds, the current error measure is displayed, regardless of what was being displayed before. This will probably be trivial to solve once we have a nice way of changing the current measure. * Also changed all OpenMP-powered for loops to use signed integers, requirements of OMP2.x (which is what MSVC supports currently) * The above change comes with a new header for utility functions Samuel Fadel
2016-02-09Added TransitionControl and plot rewinding....New component overlays main view and handles middle clicks/drags to performing rewinding. Also sports smooth transitioning back to current projection whenever the mouse button is lifted. Next up, the same kind of transitions in the displayed values. Samuel Fadel
2016-02-08User can now select RPs & CPs, using the R & C keys.Samuel Fadel
2016-02-08main(): Better handling of absent/invalid options.Samuel Fadel
2016-02-03Removed OpenGL version request from main()....It seems that Windows does not support the currently set version while not setting a version works. Samuel Fadel
2016-01-29More informative splat parameters.Samuel Fadel
2016-01-29Changed default color scale to a rainbow variant.Samuel Fadel
2016-01-29Fixed issue #18.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-27Regular points now visible by default (and quite small).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-26VoronoiSplat & main(): moved all skelft to VoronoiSplat.Samuel Fadel
2016-01-25Scatterplots & splat now share the same scaling.Samuel Fadel
2016-01-21Added selection linking. Needs more tests.Samuel Fadel
2016-01-21Added second bar chart....Bar charts are now exclusive to the type of points they are assigned to (either CPs or RPs). Samuel Fadel
2016-01-20main(): better code for loading CP data.Samuel Fadel
2016-01-20Added color scale selection and aggregate error....* Projection metrics can be shown as current, diff to previous and diff to original (original seems bugged, beware) Samuel Fadel
2016-01-19Updated options & hacks to change color scales.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-17BarChart: Added color scale support....* Color scale's extents are not changed: the values are supposed to match the values used in the other plots * Temporarily removed the bar outlines in order to properly display colors when the number of bars is equal to or greater than the number of available pixels to draw 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-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-15Main: updated visuals....* Multisampling setup code is now more conservative. * Full plot's glyphs are now invisible by default. 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-13Subsamples/samples renamed to control points (CP) where possible.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-12Removed unused code from main.cppSamuel 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: control whether splat is displayed....* Subsample plot no longer displays splat Samuel Fadel
2016-01-07Added a bar chart....* HistoryGraph replaced by BarChart * HistoryGraph not removed from code, might be useful in the future Samuel Fadel
2015-12-19Experimenting using VoronoiSplat as a texture.Samuel Fadel
2015-12-19New rendering (VoronoiSplat) -- incomplete....* Added voronoi-like splatting to points: the same technique from Messias et al., (2014) * It is now possible to change the projection technique during runtime (possible, but still requires some work) Samuel Fadel
2015-11-30main.cpp: Back to random sampling.Samuel Fadel
2015-11-04Improved automatic subsampling size calculation.Samuel Fadel
2015-10-22Added PLMP as an alternative technique to use; knn() is now exposed in the mp...Samuel Fadel