QtVideo Namespace
Enumeraciones para la funcionalidad de cámara y vídeo. Más...
| Cabecera: | #include <QtVideo> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Multimedia)target_link_libraries(mytarget PRIVATE Qt6::Multimedia) |
| qmake: | QT += multimedia |
| Desde: | Qt 6.7 |
Tipos
(since 6.7) enum class | Rotation { None, Clockwise90, Clockwise180, Clockwise270 } |
Documentación de tipos
[since 6.7] enum class QtVideo::Rotation
El ángulo de la rotación en el sentido de las agujas del reloj que debe aplicarse a un fotograma de vídeo antes de mostrarlo. La rotación se realiza en coordenadas de vídeo, donde el eje Y apunta hacia abajo en la pantalla. Significa que la dirección de rotación cumple con QTransform::rotate.
| Constante | Valor | Descripción |
|---|---|---|
QtVideo::Rotation::None | 0 | No se requiere rotación, el fotograma tiene la orientación correcta |
QtVideo::Rotation::Clockwise90 | 90 | El marco debe girarse 90 grados en el sentido de las agujas del reloj |
QtVideo::Rotation::Clockwise180 | 180 | El cuadro debe girarse 180 grados en el sentido de las agujas del reloj |
QtVideo::Rotation::Clockwise270 | 270 | El marco debe girarse 270 grados en el sentido de las agujas del reloj |
Este enum se introdujo en 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.