| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Change-Id: I9ce68e849e45e85c6dc84a73c8836efa8e94c499
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since Qt 5.11, QDoc uses Clang to parse C++ documentation. Clang
requires a module header, as well as proper include paths, to
build a precompiled header and process the sources.
To do this, add a custom module header that pulls in all Qt 3D modules
- this way, we can continue using a single documentation project to
covers all of Qt 3D.
Fix all documentation warnings are caused by missing namespaces, QML
module/type names and typos, as well as a number of linking problems
and other minor issues.
After this change, the remaining documentation issues consist of
'No documentation for ...' warnings.
Task-number: QTBUG-67790
Change-Id: I38b91163c475a00cc1893e793240470c5409eb57
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change fixes multiple QDoc warnings for Qt 3D Render that are
related to how Clang parses the source code and the \fn QDoc
commands. A number of changes are related to preventing documentation
for private classes from generating warnings.
We still have a number of 'No documentation for ...' warnings left -
those are not addressed in this change.
Change-Id: Ic92a729496a81e7869060811ed7dd23408cff833
Reviewed-by: Martin Smith <martin.smith@qt.io>
|
|
|
|
|
|
|
| |
for debugging and streaming
Change-Id: Id9924fa9a99c6412069e6907473d0dfe083e3107
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
src/animation/doc/src/qt3danimation-module.qdoc
src/render/backend/abstractrenderer_p.h
src/render/backend/buffervisitor_p.h
src/render/backend/renderer.cpp
src/render/backend/renderer_p.h
src/render/backend/triangleboundingvolume_p.h
src/render/backend/trianglesextractor_p.h
src/render/frontend/sphere_p.h
src/render/jobs/calcboundingvolumejob.cpp
src/render/jobs/job_common_p.h
src/render/jobs/pickboundingvolumejob.cpp
src/render/jobs/pickboundingvolumejob_p.h
src/render/jobs/pickboundingvolumeutils.cpp
src/render/jobs/renderviewjobutils_p.h
tests/auto/render/boundingsphere/tst_boundingsphere.cpp
tests/auto/render/commons/testrenderer.h
tests/auto/render/raycasting/tst_raycasting.cpp
tests/auto/render/render.pro
tests/auto/render/renderer/tst_renderer.cpp
Change-Id: I76633bc5a5a065e5f9ea62cc16563377e5c693a3
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
.qmake.conf
src/render/backend/trianglesvisitor.cpp
src/render/backend/uniform.cpp
src/render/jobs/calcboundingvolumejob.cpp
src/render/jobs/pickboundingvolumejob.cpp
src/render/jobs/pickboundingvolumeutils.cpp
Change-Id: Ib8305011c51710a3538c0b29f7022388f5244a38
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This fixes issues with picking when having multiple viewports and/or
multiple windows.
Now check that the mouse event actually hits inside the viewport extents.
Also track the source of events and check that the surface matches the
source of the event.
Remaining issue is overlapping viewports within the same window
Task-number: QTBUG-59567
Change-Id: I76a4ee2bec7300d893fef6040d89bf81f2109795
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I19b3b2f8fcb06eb2bc600ebe370465dd15a8eabc
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|/ /
| |
| |
| |
| | |
Change-Id: I92c955068e233c50043ad7d06a32300dd386c24d
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PickingSettings can ask to get line as well as triangle picks.
Introduces a radius value to compensate for numerical precision
in ray-segment intersections.
Introduces QPickLineEvent with the details about the picking.
Job will perform line picking if appropriate. Hit encode the
type of picking and this is used to generate the right type of
event.
Task-number: QTBUG-58071
Change-Id: I834e6cc08044a8cfb28bba7443034e05267aedbf
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
| |
Change-Id: I0bc49e1b391c610a8f8f649a45391b31f9283302
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
src/quick3d/imports/render/qt3dquick3drenderplugin.cpp
src/render/backend/triangleboundingvolume.cpp
src/render/backend/triangleboundingvolume_p.h
src/render/frontend/qrenderaspect.cpp
src/render/frontend/sphere.cpp
src/render/frontend/sphere_p.h
src/render/jobs/pickboundingvolumejob.cpp
src/render/jobs/pickboundingvolumejob_p.h
src/render/picking/objectpicker.cpp
src/render/raycasting/qcollisionqueryresult_p.h
src/render/render.pro
src/src.pro
tests/auto/render/objectpicker/tst_objectpicker.cpp
tests/auto/render/render.pro
Change-Id: I95717c7855887850d5c90e7ad8f19f1ffb37a545
|
| |
| |
| |
| |
| |
| |
| |
| | |
The uvw can be used to interpolate coordinates on the intersection point.
Change-Id: I725ef572a78ad7766000270622f3ac85edd11071
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|/
|
|
|
|
|
|
|
|
| |
Main usage to namespace QBoundingVolume, QBoundingSphere
for future use.
Renamed QBoundingSphere to BoundingSphere to avoid
clashes in file names.
Change-Id: I0adcb3c3a5f1b8134653773a8e21490ecf61bae4
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a combination of 60 commits.
qlockableobserverinterface_p.h: add LCOV exclusion comments
qobserverinterface_p.h: add LCOV exclusion comments
qpostman_p.h: add LCOV exclusion comments
qsceneobserverinterface_p.h: add LCOV exclusion comments
qscene_p.h: add LCOV exclusion comments
qnodeid.h: add LCOV exclusion comments
quick3dshaderdataarray_p.h: add LCOV exclusion comments
quick3dshaderdata_p.h: add LCOV exclusion comments
qquaternionanimation_p.h: add LCOV exclusion comments
qabstractphysicaldeviceproxy_p.h: add LCOV exclusion comments
qmouseevent.h: add LCOV exclusion comments
qmousedevice.h: add LCOV exclusion comments
qaxisaccumulator.h: add LCOV exclusion comments
qtextureimagedatagenerator.h: add LCOV exclusion comments
qtexturewrapmode.h: add LCOV exclusion comments
qabstracttexture.h: add LCOV exclusion comments
qtextureimage.h: add LCOV exclusion comments
texture_p.h: add LCOV exclusion comments
qtexturegenerator.h: add LCOV exclusion comments
qsortpolicy.h: add LCOV exclusion comments
qrendertargetselector.h: add LCOV exclusion comments
qsortcriterion.h: add LCOV exclusion comments
qclearbuffers.h: add LCOV exclusion comments
qrendercapture_p.h: add LCOV exclusion comments
uniform_p.h: add LCOV exclusion comments
triangleboundingvolume_p.h: add LCOV exclusion comments
qgeometryfactory.h: add LCOV exclusion comments
qbuffer_p.h: add LCOV exclusion comments
qbuffer.h: add LCOV exclusion comments
qgeometryrenderer.h: add LCOV exclusion comments
qbufferdatagenerator.h: add LCOV exclusion comments
qattribute.h: add LCOV exclusion comments
qsceneiohandler_p.h: add LCOV exclusion comments
qsceneloader.h: add LCOV exclusion comments
qrendersettings.h: add LCOV exclusion comments
qcamera.h: add LCOV exclusion comments
qcameralens.h: add LCOV exclusion comments
sphere_p.h: add LCOV exclusion comments
shaderdata_p.h: add LCOV exclusion comments
qshaderdata.h: add LCOV exclusion comments
qgraphicsapifilter.h: add LCOV exclusion comments
qshaderprogram.h: add LCOV exclusion comments
qpointsize.h: add LCOV exclusion comments
qblendequation.h: add LCOV exclusion comments
qstenciltestarguments.h: add LCOV exclusion comments
qalphatest.h: add LCOV exclusion comments
qstenciloperationarguments.h: add LCOV exclusion comments
qdepthtest.h: add LCOV exclusion comments
qblendequationarguments.h: add LCOV exclusion comments
qfrontface.h: add LCOV exclusion comments
qcullface.h: add LCOV exclusion comments
qray3d_p.h: add LCOV exclusion comments
qboundingvolume_p.h: add LCOV exclusion comments
qabstractcollisionqueryservice_p.h: add LCOV exclusion comments
qpickevent.h: add LCOV exclusion comments
qabstractlight.h: add LCOV exclusion comments
light_p.h: add LCOV exclusion comments
qt3dquickwindow.h: add LCOV exclusion comments
scene3ditem_p.h: add LCOV exclusion comments
qgraphicsapifilter_p.h: add LCOV exclusion comments
Change-Id: I3af0e2a4d85685c919dbfaa8b3f384777f026542
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Text size savings on optimized GCC 6.0 Linux AMD64 builds:
Core: 192B
Logic: 128B
Input: 872B
Render: 4936B
Change-Id: Id9de0e49a24a2f056d2543c60b10fde7a8ca989b
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
... by replacing them with C++11 range-for loops. To
avoid detaches of these mutable Qt containers, wrap
the container in qAsConst(), where needed.
This is the batch with low-risk changes. They operate
on local containers or the loop body clearly does not
cause the container to change.
Saves ~3.8KiB in text size on optimized GCC 6.0 Linux
AMD64 builds.
Change-Id: I9c9669dd89f44d371d7a9cd4fc83a7930a06ce17
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The QtCore macros aren't really suited to a namespaced library
like Qt3D. In particular, the use of Q_DECLARE_SHARED is wrong,
because it places the free swap() function in the Qt's namespace
when it should be in the same (inner) namespace the type is in.
Q_DECLARE_TYPEINFO, otoh, is just inconvenient to use because it
requires exiting and later re-entering of the Qt3D namespace(s).
The new macros do this implicitly.
Change-Id: Ic91f447656f08ed59c118ce09cb5ac90ad212955
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
| |
Task-number: QTBUG-52736
Change-Id: I58f9cbcdf018e7b672d33dd865067485412b79fe
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
|
|
|
|
|
|
| |
... iterate over the container itself instead. Avoids
creation of a temporary QList.
Saves almost 1.5KiB in text size on optimized GCC 6.0
Linux AMD64 builds.
Change-Id: I771383f9848999bdbdd96e52f7956d44d5b3b15a
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
|
|
|
| |
- Move triangle details to derived class, QPickTriangleEvent
- Honor QPickingSetting::PickMethod and QPickingSetting::PickResultMode
Task-Id: QTBUG-51444
Change-Id: Ie0057dcc244de3ae65a607949e27ff282919facc
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
| |
Change-Id: I30f328e1d71d1c27b6647b63cbf480ea0937dd68
Task-Id: QTBUG-51500
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
| |
Change-Id: Ia672918cbae3b950e20e68bfbfd6982676a5981e
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
|
|
|
|
|
| |
Update old header.LGPL3 to header.LGPL
Change-Id: I8eac0cd6bbc276a56df487249cc459c0d4fab165
Reviewed-by: Jani Heikkinen <jani.heikkinen@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: I9da605c77c5489b9bef4f07079e05f8babb9559f
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|
|
Change-Id: I871cbc57166493f30ea307305d8664e2f8a8873f
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
|