Qt3DExtras::QTorusGeometryView Class
class Qt3DExtras::QTorusGeometryViewUn maillage toroïdal. En savoir plus...
| En-tête : | #include <Qt3DExtras/QTorusGeometryView> |
| CMake : | find_package(Qt6 REQUIRED COMPONENTS 3dextras) target_link_libraries(mytarget PRIVATE Qt6::3dextras) |
| qmake : | QT += 3dextras |
| En QML : | TorusGeometryView |
| Hérite de : | Qt3DCore::QGeometryView |
| Statut : | Obsolète |
Cette classe est obsolète. Nous déconseillons fortement de l'utiliser dans du nouveau code.
Propriétés
- minorRadius : float
- radius : float
- rings : int
- slices : int
Fonctions publiques
| QTorusGeometryView(Qt3DCore::QNode *parent = nullptr) | |
| float | minorRadius() const |
| float | radius() const |
| int | rings() const |
| int | slices() const |
Emplacements publics
| void | setMinorRadius(float minorRadius) |
| void | setRadius(float radius) |
| void | setRings(int rings) |
| void | setSlices(int slices) |
Signaux
| void | minorRadiusChanged(float minorRadius) |
| void | radiusChanged(float radius) |
| void | ringsChanged(int rings) |
| void | slicesChanged(int slices) |
Documentation sur les propriétés
minorRadius : float
Contient le rayon intérieur du tore.
Fonctions d'accès :
| float | minorRadius() const |
| void | setMinorRadius(float minorRadius) |
Signal de notification :
| void | minorRadiusChanged(float minorRadius) |
radius : float
Contient le rayon extérieur du tore.
Fonctions d'accès :
| float | radius() const |
| void | setRadius(float radius) |
Signal de notification :
| void | radiusChanged(float radius) |
rings : int
Contient le nombre d'anneaux de la maille.
Fonctions d'accès :
| int | rings() const |
| void | setRings(int rings) |
Signal de notification :
| void | ringsChanged(int rings) |
slices : int
Contient le nombre de tranches du maillage.
Fonctions d'accès :
| int | slices() const |
| void | setSlices(int slices) |
Signal de notification :
| void | slicesChanged(int slices) |
Documentation des fonctions membres
[explicit] QTorusGeometryView::QTorusGeometryView(Qt3DCore::QNode *parent = nullptr)
Crée un nouvel objet `QTorusGeometryView` avec ` parent`.
© 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.