Qt3DExtras::QConeGeometryView Class
class Qt3DExtras::QConeGeometryViewUna rete conica. Per saperne di più...
| Intestazione: | #include <Qt3DExtras/QConeGeometryView> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3dextras) target_link_libraries(mytarget PRIVATE Qt6::3dextras) |
| qmake: | QT += 3dextras |
| In QML: | ConeGeometryView |
| Eredita da: | Qt3DCore::QGeometryView |
| Stato: | Obsoleto |
Questa classe è deprecata. Si sconsiglia vivamente di utilizzarla nel nuovo codice.
Proprietà
|
Funzioni pubbliche
| float | bottomRadius() const |
| bool | hasBottomEndcap() const |
| bool | hasTopEndcap() const |
| float | length() const |
| int | rings() const |
| int | slices() const |
| float | topRadius() const |
Slot pubblici
| void | setBottomRadius(float bottomRadius) |
| void | setHasBottomEndcap(bool hasBottomEndcap) |
| void | setHasTopEndcap(bool hasTopEndcap) |
| void | setLength(float length) |
| void | setRings(int rings) |
| void | setSlices(int slices) |
| void | setTopRadius(float topRadius) |
Segnali
| void | bottomRadiusChanged(float bottomRadius) |
| void | hasBottomEndcapChanged(bool hasBottomEndcap) |
| void | hasTopEndcapChanged(bool hasTopEndcap) |
| void | lengthChanged(float length) |
| void | ringsChanged(int rings) |
| void | slicesChanged(int slices) |
| void | topRadiusChanged(float topRadius) |
Documentazione delle proprietà
bottomRadius : float
Contiene il raggio inferiore del cono.
Funzioni di accesso:
| float | bottomRadius() const |
| void | setBottomRadius(float bottomRadius) |
Segnale di notifica:
| void | bottomRadiusChanged(float bottomRadius) |
hasBottomEndcap : bool
Determina se la base del cono è chiusa o aperta.
Funzioni di accesso:
| bool | hasBottomEndcap() const |
| void | setHasBottomEndcap(bool hasBottomEndcap) |
Segnale di notifica:
| void | hasBottomEndcapChanged(bool hasBottomEndcap) |
hasTopEndcap : bool
Determina se la sommità del cono è chiusa o aperta.
Funzioni di accesso:
| bool | hasTopEndcap() const |
| void | setHasTopEndcap(bool hasTopEndcap) |
Segnale di notifica:
| void | hasTopEndcapChanged(bool hasTopEndcap) |
length : float
Contiene la lunghezza del cono.
Funzioni di accesso:
| float | length() const |
| void | setLength(float length) |
Segnale di notifica:
| void | lengthChanged(float length) |
rings : int
Contiene il numero di anelli presenti nella maglia.
Funzioni di accesso:
| int | rings() const |
| void | setRings(int rings) |
Segnale di notifica:
| void | ringsChanged(int rings) |
slices : int
Contiene il numero di segmenti della mesh.
Funzioni di accesso:
| int | slices() const |
| void | setSlices(int slices) |
Segnale di notifica:
| void | slicesChanged(int slices) |
topRadius : float
Contiene il raggio superiore del cono.
Funzioni di accesso:
| float | topRadius() const |
| void | setTopRadius(float topRadius) |
Segnale di notifica:
| void | topRadiusChanged(float topRadius) |
© 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.