summaryrefslogtreecommitdiffstats
path: root/examples/datavisualization
Commit message (Collapse)AuthorAgeFilesLines
* qmlscatter example: Give a default size to the view itemCaroline Chao2015-03-111-0/+2
| | | | | | | | | On OS X the content item of the view must have a valid width or height. Change-Id: I6903671a9bd39511a4d0d649819b68930597260d Task-number: QTRD-3469 Reviewed-by: Tomi Korpipää <tomi.korpipaa@theqtcompany.com>
* Qt 5.5 fixesTomi Korpipää2015-02-234-0/+1
| | | | | Change-Id: I01260f9849340ea5cce2b5c00aa6c2c50192720c Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
* Minor tweaks to texturesurface example.Miikka Heikkinen2014-11-212-1/+2
| | | | | | | | | Change the color of untextured surface so it isn't included in the gradient. Also make it clear the gradient is for highlight only. Change-Id: I822c59b905559da10a987e4a7d616d01dccdedba Reviewed-by: Mika Salmela <mika.salmela@theqtcompany.com>
* Make customitems example actually show some custom items.Miikka Heikkinen2014-11-212-0/+5
| | | | | Change-Id: I056b71fc913e5fd68b895d6bf4b5676cbe7c6db0 Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* Fix WinRT issues.Miikka Heikkinen2014-11-1913-25/+25
| | | | | | | | | | Primary fix is to not use shared context in qml with WinRT, as that causes black screen. Also removed widget apps from build in WinRT. Change-Id: Id65ce90dbeb80442194ab838952e8cadc91135a6 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
* Fix typo in docsMiikka Heikkinen2014-11-131-1/+1
| | | | | Change-Id: Iad4d07765b9f1310baf3b43d5307906c9887bca6 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
* Change copyright headers.Miikka Heikkinen2014-11-07121-847/+847
| | | | | | Change-Id: I453438fee92f18c983c1bef04c68b24a7ff72cf9 Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com> Reviewed-by: Mika Salmela <mika.salmela@theqtcompany.com>
* Fix qmloscilloscope linking issue on some envsMiikka Heikkinen2014-11-031-1/+1
| | | | | Change-Id: Iab45f95e8ff0faacc5cf50fdf052bf2c69d7988a Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* Fix crash on qmloscilloscope in Qt 5.4Miikka Heikkinen2014-10-302-2/+2
| | | | | | | | Binding slider value to its minimum value is not correct, so just initialize it on component complete. Change-Id: Ia21ecbffdef84448b70c6b09d240ea4f854ca541 Reviewed-by: Mika Salmela <mika.salmela@theqtcompany.com>
* Support for dynamic opengl builds.Miikka Heikkinen2014-10-291-108/+120
| | | | | | Task-number: QTRD-3392 Change-Id: I786bbf5ee9252b92d43d02d6b88ed9b986b4a5eb Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* Make build check for existence of quick module.Miikka Heikkinen2014-10-241-12/+15
| | | | | Change-Id: Icd04b72bb7bdbf34c73e6f27c90674fda4fc4cc2 Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* License info for texturedsurface exampleMika Salmela2014-10-091-0/+77
| | | | | Change-Id: Iac6e8eac0da0264a586477038753c54edcd58e47 Reviewed-by: Mika Salmela <mika.salmela@digia.com>
* Fix minor issues found in testingMiikka Heikkinen2014-10-081-1/+1
| | | | | | Change-Id: If40f10043951409b3d6597776b60d7eb55c73eec Reviewed-by: Mika Salmela <mika.salmela@digia.com> Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* Texture UVs for surface to follow data dimensionMika Salmela2014-10-071-2/+3
| | | | | | | | | Change texture UVs to be generated according to data dimension. Also utilise this change on texturesurface example. Change-Id: Ideacfba409dc2e7cf579fb38d897e08c9f9a1b71 Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
* Added snapshots to examples missing them Tomi Korpipää2014-10-062-0/+0
| | | | | | Change-Id: I64a6067102f205094d7be55a9eb348b3280a7e77 Change-Id: I64a6067102f205094d7be55a9eb348b3280a7e77 Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* Fix invalid pixel in water layer corner in qmlsurfacelayers exampleMiikka Heikkinen2014-10-061-0/+0
| | | | | Change-Id: Ic1a32e2b23133ce8caa042ddfbf9566cd89d58f1 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
* Fix mac -> OS XMiikka Heikkinen2014-10-061-1/+1
| | | | | Change-Id: If0409af049a55dae152139fdb55a2eb58e5fbb51 Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* Allow setting bounds for camera zoom levelMiikka Heikkinen2014-09-262-11/+2
| | | | | | Task-number: QTRD-3337 Change-Id: I503dc4402907a2fdfa74ca86698b0e98a23b3b08 Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* Implement zooming to cursorMiikka Heikkinen2014-09-261-0/+4
| | | | | | | | | Zooming to cursor is now default operating mode of the default input handler. Task-number: QTRD-3263 Change-Id: I5699fc0ce7393059538972cd52f31f06d87e3d8d Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* Change custom labels to use label shaderMiikka Heikkinen2014-09-191-64/+74
| | | | | | | | | This fixes the problem with specular highlight making camera-facing labels unreadable. Task-number: QTRD-3276 Change-Id: If16424b07a1f3362428980353c5fb5213c33d06b Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* Documentation for volumetric exampleMiikka Heikkinen2014-09-152-8/+135
| | | | | Change-Id: Ibf613607b55e5ed0b56354d5da426870624d79ad Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* 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>