QtVideo Namespace
カメラおよび動画機能の列挙。詳細...
| ヘッダー: | #include <qtvideo.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Multimedia) target_link_libraries(mytarget PRIVATE Qt6::Multimedia) |
| qmake: | QT += multimedia |
| 以下のように: | Qt 6.7 |
タイプ
(since 6.7) enum class | Rotation { None, Clockwise90, Clockwise180, Clockwise270 } |
型のドキュメント
[since 6.7] enum class QtVideo::Rotation
表示前にビデオフレームに適用すべき、時計回りの回転角度です。回転はビデオ座標系で行われ、この座標系ではY軸がディスプレイ上で下向きになっています。つまり、回転方向はQTransform::rotate に準拠しています。
| 定数 | 値 | 説明 |
|---|---|---|
QtVideo::Rotation::None | 0 | 回転は不要。フレームの向きは正しい。 |
QtVideo::Rotation::Clockwise90 | 90 | フレームを時計回りに90度回転させる必要があります |
QtVideo::Rotation::Clockwise180 | 180 | フレームを時計回りに180度回転させる必要があります |
QtVideo::Rotation::Clockwise270 | 270 | フレームを時計回りに270度回転させる必要があります |
この列挙型は Qt 6.7 で導入されました。
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.