summaryrefslogtreecommitdiffstats
path: root/src/render/picking
Commit message (Collapse)AuthorAgeFilesLines
* Unify license header usageAntti Kokko2016-01-268-88/+112
| | | | | | | Update old header.LGPL3 to header.LGPL Change-Id: I8eac0cd6bbc276a56df487249cc459c0d4fab165 Reviewed-by: Jani Heikkinen <jani.heikkinen@theqtcompany.com>
* Refactor picking to use one thread per entityMike Krus2016-01-252-2/+44
| | | | | | | | | | | | | | Added triangle visitor by refactor the triangle volume extractor Added ability to do a ray intersection with a single volume without using a thread Added entity collector Use one thread for each entity Ignore entities that don’t have a pick object Removed list of triangle volumes stored on each entity Use triangle visitor to test each triangle by creating a single volume on the stack Added triangle and 3 vertex index to the pick event Change-Id: Id3fd53549bf3ea07805426ef868df174f30e176b Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Expose picking details to front endMike Krus2016-01-256-15/+67
| | | | | | | | Intersection (world and local) and distance added to pick event Modified test so that it includes the event Change-Id: I8631d626e5108d2e044374ee3425625f5588c38c Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Added parameters to signals and made setters Q_SLOTSTomi Korpipää2015-12-094-9/+13
| | | | | | Change-Id: Icec2f9f207221e35ffdeeb594bb9b4dc6ef890f1 Task-number: QTBUG-49797 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Doc: Fix QDoc warnings and do further cleanupTopi Reinio2015-11-231-7/+5
| | | | | | | | | Fix the documentation issues that still remained broken after renaming the namespaces/QML modules. Do further cleanup and minor doc editing. Change-Id: Iff38c8c1b99e7f712dc3f9ad07ecd37a747b3a26 Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com>
* PickBoundingVolumeJob: few fixesPaul Lemire2015-11-161-0/+1
| | | | | | | | | | - properly handle click events - fix hover events when using multiple viewports - handle picking on parent Entities that have no geometry Change-Id: Ie44cc4278a4dacf36f2ad6e4f77aea0eb2977d51 Reviewed-by: Paul Lemire <paul.lemire@kdab.com> Reviewed-by: Andy Nichols <andy.nichols@theqtcompany.com>
* Remove anything related to pick attribute in QObjectPickerPaul Lemire2015-11-164-47/+1
| | | | | | Change-Id: I5a25c97841854bd231af0600ecfe08ff4c056de1 Reviewed-by: Paul Lemire <paul.lemire@kdab.com> Reviewed-by: Andy Nichols <andy.nichols@theqtcompany.com>
* QObjectPicker: Use namespaced names in Q_SIGNALS declerationsAndy Nichols2015-10-261-3/+3
| | | | | Change-Id: I7f9e742ceaedbd68d622d5dec2a5320608cb0b1e Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Remove some unreferenced variable warningsSean Harmer2015-10-251-0/+1
| | | | | Change-Id: I628d14c5be557aaf1ff50a86ac5020e600bc6311 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Move picking into its own directorySean Harmer2015-10-259-0/+1024
Change-Id: I4982f08d18c855a57f621af28b13cc876f20eb16 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>