summaryrefslogtreecommitdiffstats
path: root/examples/datavisualization
Commit message (Collapse)AuthorAgeFilesLines
* Implement volume slice framesMiikka Heikkinen2014-09-123-7/+54
| | | | | Change-Id: I409f3c95892b26ca6097dd4509109fc9978b9900 Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* Limit volume to axis rangesMiikka Heikkinen2014-09-103-5/+86
| | | | | | | | | The volume object that would go partially outside axis ranges is scale and repositioned so that it only renders the portion that is inside the axis ranges. Change-Id: I792494e437998ba6276f58fab645767276c1476d Reviewed-by: Mika Salmela <mika.salmela@digia.com>
* Add possibility to scale custom items according to data rangesMiikka Heikkinen2014-09-081-11/+19
| | | | | | | | Proper behavior of volume objects that are shown only partially will be added in a separate patch later. Change-Id: I1fcd98faa6c4a7d09e3fef1645ed9816ff54654f Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* Change volumetric example to show fictional terrainMiikka Heikkinen2014-09-038-49/+315
| | | | | | Change-Id: I7cb3c59acef5364ff964da3e756d2db387b53308 Reviewed-by: Mika Salmela <mika.salmela@digia.com> Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* Add option to use low definition volume shader.Miikka Heikkinen2014-09-023-1/+14
| | | | | | | | Low definition volume shader samples the texture at even intervals, so it will sometimes skip texels, causing flickering. Change-Id: Iee6cb0e8893498b89ce1a40f34701a53d100283e Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* Added reflection to 2 examplesTomi Korpipää2014-08-268-2/+19
| | | | | | | | | Task-number: QTRD-3290 + changed the theme in texturesurface example Change-Id: I872ef7048e21c3bbf9daa0b2a620c9cdfe2256c8 Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* Add alpha multiplier to QCustom3DVolume apiMiikka Heikkinen2014-08-253-15/+74
| | | | | | Change-Id: I856c4166513f6d6f7b73fd52bc46d52ab1b8fdff Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com> Reviewed-by: Mika Salmela <mika.salmela@digia.com>
* Implement API function for rendering volume slice to an image.Miikka Heikkinen2014-08-253-10/+72
| | | | | Change-Id: Iea18967c3b525a8d4507a06e6541c85ed3abb470 Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* Gradient to highlight seriesMika Salmela2014-08-218-28/+114
| | | | | | | Added a gradient to highlight series on textured surface example. Change-Id: I2fc17dfa79f986cf5b651d964eb3bcf5d65f1c80 Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* Make volume transparency uniform regardless of viewing angleMiikka Heikkinen2014-08-201-1/+1
| | | | | Change-Id: If3acbb161b99f67d81f7af9c05ae8bcfe154e052 Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* Improve volumetric exampleMiikka Heikkinen2014-08-193-52/+249
| | | | | | | | | - Changing color table - Different texture details (generation in background) - Optional fps display Change-Id: Iad6b50ef8541084e0142de0f9cb7ae70f841dde9 Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* Show warning label in volumetric example on OpenGL ESMiikka Heikkinen2014-08-191-7/+25
| | | | | | Change-Id: I29ec58f9485a75a00cb1c60d7c57f4c06f620032 Reviewed-by: Mika Salmela <mika.salmela@digia.com> Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* Make volume shading sample once per texture layer.Miikka Heikkinen2014-08-191-3/+3
| | | | | | Change-Id: Ia3a13e2cb8d7dcf744a55dcb827f5cb436a043c4 Reviewed-by: Mika Salmela <mika.salmela@digia.com> Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* Implement volume rendering supportMiikka Heikkinen2014-08-186-1/+387
| | | | | | | | New subclass of QCustom3DItem, QCustom3DVolume is provided. The documentation for the example will be done in a separate commit. Change-Id: Idb3fdb0654c6bec7606ca012b75852a5a8412397 Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* Documentation for textured surface exampleMika Salmela2014-08-155-4/+99
| | | | | | Change-Id: I517b02a31e342dc3ae2c1c80805f811f9d9670ff Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com> Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* Image for texture surface documentationMika Salmela2014-08-132-0/+5
| | | | | | | Also theme and font size adjustment. Change-Id: I2306deceb8d45cd95fadb27e3b1ff88260f49ac9 Reviewed-by: Mika Salmela <mika.salmela@digia.com>
* Textured surface exampleMika Salmela2014-08-1215-1/+776
| | | | | | | | Documentation once the feature set is final and code looking good. Size of image files adjusted when example area is locked. Change-Id: I7ff249ec3452d412a64ce029b33f7607965ffb3a Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
* Add zooming to selection to bars exampleMiikka Heikkinen2014-08-064-0/+150
| | | | | | Task-number: QTRD-3262 Change-Id: I96de8d97813cc82707a9b608127464ed4d6be6f7 Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* Improved the visuals in slice modes.Miikka Heikkinen2014-07-041-1/+3
| | | | | | | | | | | | | | | Grid lines should no longer vanish into white background due to excessive ambient light multiplier when using high ambient with no specular. I'm still not happy with how bars slice mode colors look. The colors seem washed out compared to main view. Also, on bars, some specular is needed to make bars look 3D, but too much makes it ugly. Also fixes some misc issues in surface slice mode. Task-number: QTRD-3237 Change-Id: I4bed3d922cbc8f5191cc01ab3396849db767cae9 Reviewed-by: Mika Salmela <mika.salmela@digia.com>
* Exposed default input handlers to QMLMiikka Heikkinen2014-07-042-12/+38
| | | | | | | | | | | Also added properties to control rotation, zoom, and selection individually. Also added missing documentation about surface texture. Task-number: QTRD-3202 Change-Id: I981edb7f336aea499440559f4a2098711200206d Reviewed-by: Mika Salmela <mika.salmela@digia.com>
* Use default font in spectrogram exampleMiikka Heikkinen2014-07-041-2/+0
| | | | | Change-Id: I2b16eecfaf5ba866dd07c6593a8b101dbc2cc112 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
* Add qmlspectrogram example documentationMiikka Heikkinen2014-07-022-11/+59
| | | | | Change-Id: I5a325fa17215c486184cdce0bc26cce8d9c755da Reviewed-by: Mika Salmela <mika.salmela@digia.com>
* Added horizontal aspect ratio property for abstract graphsMiikka Heikkinen2014-07-011-0/+1
| | | | | | | | Value 0.0 indicates automatic scaling (the default). Task-number: QTRD-3192 Change-Id: I5e4cc1b7a03c0ba811e2ed3916a440906429af57 Reviewed-by: Mika Salmela <mika.salmela@digia.com>
* Adjust background margins based on angular labels and titleMiikka Heikkinen2014-06-301-16/+20
| | | | | | | | Also separated the vertical and horizontal background margins. Task-number: QTRD-3184 Change-Id: I988217d4df7749585dd85b5ea8f3f50254dca6ad Reviewed-by: Mika Salmela <mika.salmela@digia.com>
* Fix polar axis title positioningMiikka Heikkinen2014-06-271-4/+12
| | | | | | Task-number: QTRD-3184 Change-Id: I366f41b928e06931784c6ff74e9b6b8a52414e3f Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* Wrong term fixed in exampleTomi Korpipää2014-06-271-1/+1
| | | | | Change-Id: I34b5efc1253e0d9ab043568d2f64aaa806b167bb Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* Add radialLabelOffset property for graphsMiikka Heikkinen2014-06-261-9/+8
| | | | | | | | | This property indicates where radial labels of the polar chart are drawn Task-number: QTRD-3184 Change-Id: I1500e67da5e578b90d679876130c2d56c1d08039 Reviewed-by: Mika Salmela <mika.salmela@digia.com>
* Add flipHorizontalGrid property for surfaceMiikka Heikkinen2014-06-261-32/+48
| | | | | | | | | | | | This property allows drawind the horizontal grid and axis labels on top of the graph rather than on the bottom. This is useful when surface graph is used for 2D spectrograms in orthographic mode, as otherwise the grid is covered by the surface itself. Particularly relevant for polar plots of the same. Task-number: QTRD-3184 Change-Id: I9dbcdbfc754e13af52d2cf31a1d9991ef4b241f7 Reviewed-by: Mika Salmela <mika.salmela@digia.com>
* Polar graph support, phase oneMiikka Heikkinen2014-06-268-1/+1955
| | | | | | | | | | - Polar property for toggling the polar mode - Example added. Example docs will be added in another patch once all of the functionality the example needs has been implemented. - Only surface graph supports polar so far. Scatter to be added later. Change-Id: I54d36f764ac1771ac88f73a5f3a2142f2309f6e8 Reviewed-by: Mika Salmela <mika.salmela@digia.com>
* Minor examples and doc fixesMiikka Heikkinen2014-06-105-2/+12
| | | | | Change-Id: I2523091dee02c496dfd7eb52844b9f302d49a529 Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* Fix audiolevels crash when no audio devices foundMiikka Heikkinen2014-06-091-16/+34
| | | | | Change-Id: Ia5786ea399e2602cd5c36486c8a0d945bad4fb45 Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* Fix iOS qmlaxisformatter bugTomi Korpipää2014-06-051-0/+3
| | | | | Change-Id: Ib7920fe85b4a436e66e641249037b6229535226c Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
* Doc \since changes Tomi Korpipää2014-06-054-4/+4
| | | | | | | | | | Task-number: QTRD-3150 All \since -tags changed to use the same format. Change-Id: I858afd61002cef7ecb3cf56deda0dabc431c4fd5 Change-Id: I858afd61002cef7ecb3cf56deda0dabc431c4fd5 Reviewed-by: Titta Heikkala <titta.heikkala@digia.com>
* Fix surface shadows and other misc fixesMiikka Heikkinen2014-06-033-5/+2
| | | | | | | | | | | - Remove culling from surface shadows to make them look correct - Remove unnecessary metatype registration from qmloscilloscope - itemmodeltest multi-change fixed - Valgrind fixes Task-number: QTRD-3160 Change-Id: I2da8b3e024dae56c52afb6b915535f49c6c987fc Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* Misc fixes for bugs found during examples testingMiikka Heikkinen2014-06-034-30/+27
| | | | | | | | | | | | - qmlbars TableView year/month display got messed up when scrolled. - qmllegend black background on transparent item bug was back due to some changes in 5.3. Worked around the issue differently. - qmloscilloscope displayed warnings about circular property binding. - Incorrect count was used to determine amount of labels for rows in bar charts. Change-Id: Id5851019af258c256a92648561bb8ce766993b5c Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* Misc fixes found while valgrinding.Miikka Heikkinen2014-06-023-7/+22
| | | | | Change-Id: If744721eff62f07f20bff95ca815ca80ca50fee1 Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* New snapshots for changed examples Tomi Korpipää2014-06-024-0/+0
| | | | | | | Task-number: QTRD-3158 Change-Id: Ib192e8b470bdb4bad431918fc586157b787fe79f Change-Id: Ib192e8b470bdb4bad431918fc586157b787fe79f Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* Added CustomLabelItemTomi Korpipää2014-05-281-2/+38
| | | | | | Task-number: QTRD-3135 Change-Id: Ie13c7ab5cbfca2eef88ed4ca17eaf46f2aeb4788 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
* Optionally show axis titles on the graphMiikka Heikkinen2014-05-274-4/+59
| | | | | | Task-number: QTRD-2961 Change-Id: I6a344156bd29fa8fb1ede0546af4d0e67e5e2db4 Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* Fixed axis dragging example for touch devicesTomi Korpipää2014-05-232-26/+56
| | | | | | Task-number: QTRD-3139 Change-Id: If81d707618d5426d6463de17334d8a391054143d Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* Android and iOS config fix Tomi Korpipää2014-05-221-2/+3
| | | | | | | | + example tweak Change-Id: I408cd43a7af3efceccd42bd2439803e41c5272d6 Change-Id: I408cd43a7af3efceccd42bd2439803e41c5272d6 Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* Fix misc minor issuesMiikka Heikkinen2014-05-224-21/+20
| | | | | | | | | | - Rename bars background mesh more logically - Reorder ElementAxis enums logically - Change the sun in rotations example to a custom item Task-number: QTRD-3132 Change-Id: I00dacb68ebce222edc1a732cf7d14f1660934b36 Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* Fix qmlbars example table delegateMiikka Heikkinen2014-05-221-5/+8
| | | | | | | | | Order of some signals seems to have changed between 5.2.1 and 5.3.0, so delegate behavior changed. Task-number: QTRD-3125 Change-Id: I5486e2e80f51089eaeef3c2d7ae05e29a81e116a Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* QML axis label regression bug fix Tomi Korpipää2014-05-221-0/+1
| | | | | | | Task-number: QTRD-3131 Change-Id: I89d150228848f6b151f474fb6bf64f1f64dbfdc1 Change-Id: I89d150228848f6b151f474fb6bf64f1f64dbfdc1 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
* Docs for qml axis drag exampleTomi Korpipää2014-05-226-10/+142
| | | | | | Task-number: QTRD-3128 Change-Id: I731074040d51dc7dcd7aa2774c5889d5ae588191 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
* Added an example about QML axis draggingTomi Korpipää2014-05-218-1/+798
| | | | | | | | | Task-number: QTRD-3128 To be documented Change-Id: I044a890c8ef4814274b97be68cf7582c07a77247 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
* Added enablers for axis dragging to QMLTomi Korpipää2014-05-212-3/+2
| | | | | | | | | Task-number: QTRD-3003 Will add an example in a separate commit Change-Id: I7fa9eb1b504d188c77b66ef8d4b2ee44416667e2 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
* Added property for disabling shadows on custom itemsTomi Korpipää2014-05-193-0/+348
| | | | | | Task-number: QTRD-3093 Change-Id: Ia24a1bc657af1bb1a528581e1f65fb50277e6874 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
* Implement axis label autorotationMiikka Heikkinen2014-05-196-6/+23
| | | | | | Task-number: QTRD-2857 Change-Id: I158abb75272813cf7eb5d4b419e24325389d940e Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* Optimized custom item addition/removalTomi Korpipää2014-05-191-1/+2
| | | | | | Task-number: QTRD-3056 Change-Id: I653d8aeec797b76c19d9b542391b79e9370e7501 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>