QCamera Class
(Qt3D::QCamera)Public Types
| enum | CameraTranslationOption { TranslateViewCenter, DontTranslateViewCenter } |
Properties
|
|
- 1 property inherited from Qt3D::QNode
- 1 property inherited from QObject
Public Functions
| QCamera(QNode * parent = 0) | |
| ~QCamera() | |
| float | aspectRatio() const |
| float | bottom() const |
| float | farPlane() const |
| float | fieldOfView() const |
| float | left() const |
| QCameraLens * | lens() const |
| QLookAtTransform * | lookAt() const |
| QMatrix4x4 | matrix() const |
| float | nearPlane() const |
| void | pan(const float & angle) |
| void | panAboutViewCenter(const float & angle) |
| QQuaternion | panRotation(float angle) const |
| QVector3D | position() const |
| QMatrix4x4 | projectionMatrix() const |
| QCameraLens::ProjectionType | projectionType() const |
| float | right() const |
| void | roll(const float & angle) |
| void | rollAboutViewCenter(const float & angle) |
| QQuaternion | rollRotation(float angle) const |
| void | rotate(const QQuaternion & q) |
| void | rotateAboutViewCenter(const QQuaternion & q) |
| void | setAspectRatio(float aspectRatio) |
| void | setBottom(float bottom) |
| void | setFarPlane(float farPlane) |
| void | setFieldOfView(float fieldOfView) |
| void | setLeft(float left) |
| void | setNearPlane(float nearPlane) |
| void | setPosition(const QVector3D & position) |
| void | setProjectionType(QCameraLens::ProjectionType type) |
| void | setRight(float right) |
| void | setTop(float top) |
| void | setUpVector(const QVector3D & upVector) |
| void | setViewCenter(const QVector3D & viewCenter) |
| void | tilt(const float & angle) |
| void | tiltAboutViewCenter(const float & angle) |
| QQuaternion | tiltRotation(float angle) const |
| float | top() const |
| QTransform * | transform() const |
| void | translate(const QVector3D & vLocal, CameraTranslationOption option = TranslateViewCenter) |
| void | translateWorld(const QVector3D & vWorld, CameraTranslationOption option = TranslateViewCenter) |
| QVector3D | upVector() const |
| QVector3D | viewCenter() const |
- 6 public functions inherited from Qt3D::QEntity
- 6 public functions inherited from Qt3D::QNode
- 31 public functions inherited from QObject
Signals
| void | aspectRatioChanged() |
| void | bottomChanged() |
| void | farPlaneChanged() |
| void | fieldOfViewChanged() |
| void | leftChanged() |
| void | matrixChanged() |
| void | nearPlaneChanged() |
| void | positionChanged() |
| void | projectionMatrixChanged() |
| void | projectionTypeChanged() |
| void | rightChanged() |
| void | topChanged() |
| void | upVectorChanged() |
| void | viewCenterChanged() |
- 1 signal inherited from Qt3D::QNode
- 2 signals inherited from QObject
Additional Inherited Members
- 1 public slot inherited from QObject
- 1 public variable inherited from QObject
- 10 static public members inherited from QObject
- 1 protected function inherited from Qt3D::QEntity
- 3 protected functions inherited from Qt3D::QNode
- 9 protected functions inherited from QObject
- 2 protected variables inherited from QObject
- 1 static protected member inherited from Qt3D::QNode
Property Documentation
aspectRatio : float
Access functions:
| float | aspectRatio() const |
| void | setAspectRatio(float aspectRatio) |
Notifier signal:
| void | aspectRatioChanged() |
bottom : float
Access functions:
| float | bottom() const |
| void | setBottom(float bottom) |
Notifier signal:
| void | bottomChanged() |
farPlane : float
Access functions:
| float | farPlane() const |
| void | setFarPlane(float farPlane) |
Notifier signal:
| void | farPlaneChanged() |
fieldOfView : float
Access functions:
| float | fieldOfView() const |
| void | setFieldOfView(float fieldOfView) |
Notifier signal:
| void | fieldOfViewChanged() |
left : float
Access functions:
| float | left() const |
| void | setLeft(float left) |
Notifier signal:
| void | leftChanged() |
matrix : const QMatrix4x4
Access functions:
| QMatrix4x4 | matrix() const |
Notifier signal:
| void | matrixChanged() |
nearPlane : float
Access functions:
| float | nearPlane() const |
| void | setNearPlane(float nearPlane) |
Notifier signal:
| void | nearPlaneChanged() |
position : QVector3D
Access functions:
| QVector3D | position() const |
| void | setPosition(const QVector3D & position) |
Notifier signal:
| void | positionChanged() |
projectionMatrix : const QMatrix4x4
Access functions:
| QMatrix4x4 | projectionMatrix() const |
Notifier signal:
| void | projectionMatrixChanged() |
projectionType : Qt3D::QCameraLens::ProjectionType
Access functions:
| QCameraLens::ProjectionType | projectionType() const |
| void | setProjectionType(QCameraLens::ProjectionType type) |
Notifier signal:
| void | projectionTypeChanged() |
right : float
Access functions:
| float | right() const |
| void | setRight(float right) |
Notifier signal:
| void | rightChanged() |
top : float
Access functions:
| float | top() const |
| void | setTop(float top) |
Notifier signal:
| void | topChanged() |
upVector : QVector3D
Access functions:
| QVector3D | upVector() const |
| void | setUpVector(const QVector3D & upVector) |
Notifier signal:
| void | upVectorChanged() |
viewCenter : QVector3D
Access functions:
| QVector3D | viewCenter() const |
| void | setViewCenter(const QVector3D & viewCenter) |
Notifier signal:
| void | viewCenterChanged() |