summaryrefslogtreecommitdiffstats
path: root/src/core/core-components/qcamera.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Move QCamera/QCameraLens to Qt3DRenderPaul Lemire2016-01-161-486/+0
| | | | | | | | Also get rid of Qt3DRender::QWindow and of the hard codes camera controller. Change-Id: I307735d01caf97b7a690b28de8dc99fc9866c35f Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Added parameters to signals and made setters Q_SLOTSTomi Korpipää2015-12-091-27/+27
| | | | | | Change-Id: Icec2f9f207221e35ffdeeb594bb9b4dc6ef890f1 Task-number: QTBUG-49797 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Fix QCamera projectionTypeChanged signal connectionMiikka Heikkinen2015-12-071-2/+2
| | | | | | | The signal was incorrectly connected to projectionMatrixChanged signal. Change-Id: I4f28be927d53263da2a1f8954b7295258f53a0db Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Remove transforms property of QTransformSean Harmer2015-11-171-47/+44
| | | | | | | | Compound transformations are now built up using QMatrix4x4 in both QML and C++. Updating examples accordingly. Change-Id: I03c9abf1f6cdd1b56226dc0e16a7ad5ce84516dd Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Rename orthogonal projection to orthographic projectionSean Harmer2015-11-161-1/+1
| | | | | | | | Helps to use the correct name for things. Change-Id: I8354283ee0fedcc17f019b538f13d7c4aa396c4b Reviewed-by: Sean Harmer <sean.harmer@kdab.com> Reviewed-by: Andy Nichols <andy.nichols@theqtcompany.com>
* Doc: Documentation clean upVenugopal Shivashankar2015-11-061-1/+1
| | | | | | | | | | - Changed 'Qt3D' references to 'Qt 3D'. - Fixed incorrect \inqmlmodule instances. - Fixed broken \printuntil instances in the example docs. - Updated the namespace qualifier for a few class references. Change-Id: I250afe6843b10ed520f9ce5d7465203cc5c212c1 Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
* Add first person camera controller mode and make it the defaultSean Harmer2015-10-251-0/+17
| | | | | | | | | | | | | | For most scenes this is what people want in preference to the free-look mode. Keeping a consistent up vector is more natural for most people. This is a temporary hack until we get the InputManager completed and we have a proper abstraction for controllers. After all, who says the inputs should control the camera. They should be able to control any Entity with a Transform. This also requires the Transform refactoring to be completed before we can tie both sides together. Change-Id: If8f02c66febcdee31c13ee46b6651a0e923e8d09 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* QCamera: clean up and make useful method Q_INVOKABLEPaul Lemire2015-10-141-29/+29
| | | | | | | | | | - remove const float & - correct coding style - register the CameraTranslateOptions enum - make all translate/rotate methods Q_INVOKABLE Change-Id: I4f145a32aff9571c54c5eb63e76b237a0ff0ce35 Reviewed-by: Andy Nichols <andy.nichols@theqtcompany.com>
* Move Qt3DCore into Qt3DCore namespaceSean Harmer2015-10-131-17/+17
| | | | | | | Update other aspects, tests and examples accordingly. Change-Id: Ib1bcf0bdf4f5aec4422dc0c80bfc32b27fb1a317 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Fix for shadow passTomi Korpipää2015-06-251-0/+11
| | | | | | Change-Id: Ie7452c66a196ecdf348ed9cf9ca5b7cce7984d7c Task-number: QTBUG-44988 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* QNode parent changesPaul Lemire2015-06-111-0/+5
| | | | | | | | | | | | | | | - introduce QNode::setParent(QNode *) - QNode created with explicit parent now invoke QNodePrivate::_q_addChild - QNode::cleanup introduces, need to be added to the dtor of every QT3D_CLONABLE QNode subclass. Handles proper destruction. - QNode::cleanup added to all classes that should have it. - Updated unit tests of Nodes, Entity, Scene Change-Id: Id2c2784122a78edaae5580fe5976d88be5a1921c Task-number: QTBUG-45947 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Do not pass `this` to Private c-torKonstantin Ritt2015-05-201-3/+3
| | | | | | | For classes derived from QNodePrivate, it is not used anymore. Change-Id: I9573042500c2c7533687d251e72bac14cb793525 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Doc: Add Qt3D QML module and QML type documentation skeletonv5.5.0-beta1Topi Reinio2015-04-291-0/+66
| | | | | | | | | | | Add documentation structure and comment blocks containing \qmltype, \qmlproperty, etc. commands for Qt3D QML module. The actual documentation (descriptions) are still missing, but this allows the QML type documentation to be generated. Change-Id: Id0e1afc89c13d963c950c142a3407aa70702562f Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Doc: Fix multiple C++ documentation issuesTopi Reinio2015-04-141-0/+5
| | | | | | | | | | | | | | | | | | | - Remove multiple \namespace commands for namespace Qt3D. QDoc in 5.5 is now able to collate namespace members from multiple modules. - Mark 'Q...Private' classes and functions taking private arguments as \internal - Use correct \qtvariable for Qt 3D Core and Render - Add src/plugins directory to Qt 3D Core documentation build to correctly generate Assimp-related documentation. - Ensure documentation for C++ properties is visible by using the \property command instead of documenting the setter/getter functions. - Add export and logging macros to qdoc ignore directives - Remove unnecessary use of \fn command - Language and styling fixes Change-Id: I2481fa30ad2f6869b85c038c20ff1730b8522d46 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* [QCamera] Minor refactoring & clean-upKonstantin Ritt2015-03-121-51/+25
| | | | | | | | This is a preparation step for dropping QLookAtTransform. Also get rid of unused viewVector and matrix properties. Change-Id: I48e2be2c63f8eb6f7fafc63ea470721ac14d14f9 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Mark it constSergio Martins2015-02-181-1/+1
| | | | | Change-Id: Ia2620f1d15400ab4490357f322050846d0deb705 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Copyright header change.Mika Salmela2015-02-091-19/+14
| | | | | | | | As for preparation for Qt5.5 release the copyright header is updated to correspond the current license requirements. Change-Id: I36632918b66f455539453b42c369689fb11298ec Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* QCamera refactoredPaul Lemire2014-10-301-70/+228
| | | | | | | | All examples updated to work with the modifications. Change-Id: I51a3036fa750ca297a2180c488747d0878b940a4 Task-number: QTBUG-41543 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Camera orbit fixPaul Lemire2014-10-031-1/+1
| | | | | Change-Id: I1e17f821b49350c6c90c50807d81e94bcd4780e8 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* QCamera fixed d-pointerPaul Lemire2014-07-091-2/+14
| | | | | Change-Id: I9e159cfffc44a5ee43eb311afdfb9b3f464c68b3 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Renamed Camera to QCameraPaul Lemire2014-07-091-0/+246
Change-Id: I8a37bd9d2f24d77c4f4a3aec41028df0b292d7c6 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>