QtVideo Namespace
Enumeraciones relacionadas con las funciones de la cámara y el vídeo. Más...
| Encabezado: | #include <qtvideo.h> |
| 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 del tipo
[since 6.7] enum class QtVideo::Rotation
El ángulo de 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. Esto significa que la dirección de rotación se ajusta a lo establecido en 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 fotograma debe girarse 90 grados en el sentido de las agujas del reloj |
QtVideo::Rotation::Clockwise180 | 180 | El fotograma debe girarse 180 grados en el sentido de las agujas del reloj |
QtVideo::Rotation::Clockwise270 | 270 | El fotograma debe girarse 270 grados en el sentido de las agujas del reloj |
Esta enumeración 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.