aboutsummaryrefslogtreecommitdiff
path: root/voronoisplat.cpp
AgeCommit message (Collapse)Author
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-11VoronoiSplat: even better buffer overflow checks.Samuel Fadel
2016-02-11VoronoiSplat: fixed possible buffer overflow.Samuel Fadel
2016-02-10Updated signal/slot connections to function pointers.Samuel Fadel
Also, some small changes in Scatterplot and VoronoiSplat to accomodate this.
2016-02-02Changes to make code more portable across different compilers.Samuel Fadel
2016-01-26VoronoiSplat & main(): moved all skelft to VoronoiSplat.Samuel Fadel
2016-01-25VoronoiSplat: added methods & signals for dealing with scales.Samuel Fadel
2016-01-18VoronoiSplat: Fixed issue #8.Samuel Fadel
2016-01-17Colormap & VoronoiSplat: minor change to colormap texture creation.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-16VoronoiSplat: code reordering.Samuel Fadel
2016-01-16VoronoiSplat: Changed "colormap" methods to "colorScale".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-15VoronoiSplat: small code improvements.Samuel Fadel
2016-01-13Removed some unnecessary comments.Samuel Fadel
2016-01-12VoronoiSplat: sites' vertices are uploaded as 'GL_DYNAMIC_DRAW'.Samuel Fadel
2016-01-12VoronoiSplat: renamed internal variables for clarity.Samuel Fadel
2016-01-11Small fix in VoronoiSplat.Samuel Fadel
* Stray OpenGL calls that did not call the gl object's methods.
2016-01-07VoronoiSplat: added some padding to color mapping; needs more workSamuel Fadel
2016-01-07VoronoiSplat: rendering to transparent background, can now adapt to ↵Samuel Fadel
different backgrounds.
2016-01-07VoronoiSplat: added some comments.Samuel Fadel
2016-01-06Revert "VoronoiSplat: upated to use Qt's FBO wrapper."Samuel Fadel
This reverts commit 87292bf4cc56194aa6122456d7417fa5f9bd1a09.
2016-01-06VoronoiSplat: upated to use Qt's FBO wrapper.Samuel Fadel
2015-12-19Experimenting using VoronoiSplat as a texture.Samuel Fadel
2015-12-19Fixed VoronoiSplat implementation. Might still need some work.Samuel Fadel
2015-12-19VoronoiSplat: code cleanup & improved VAO init.Samuel Fadel
2015-12-19VoronoiSplat: more cleanup and values normalization.Samuel Fadel
* Added more cleanup code in destructor (VBOs & textures) * Scalar values are now normalized, as was expected by the shaders
2015-12-19New rendering (VoronoiSplat) -- incomplete.Samuel Fadel
* 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)