이 페이지에서

Qt3DExtras::QConeGeometryView Class

class Qt3DExtras::QConeGeometryView

원뿔형 메쉬. 더 보기...

헤더: #include <Qt3DExtras/QConeGeometryView>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3dextras)
target_link_libraries(mytarget PRIVATE Qt6::3dextras)
qmake: QT += 3dextras
QML에서: ConeGeometryView
상속: Qt3DCore::QGeometryView
상태: 사용 중단됨

이 클래스는 더 이상 사용되지 않습니다. 새로운 코드에서는 이 클래스를 사용하지 않는 것이 좋습니다.

속성

공개 함수

float bottomRadius() const
bool hasBottomEndcap() const
bool hasTopEndcap() const
float length() const
int rings() const
int slices() const
float topRadius() const

공개 슬롯

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)

신호

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)

상세 설명

* * * * * * *

속성 설명서

bottomRadius : float

원뿔의 밑면 반지름을 저장합니다.

액세스 함수:

float bottomRadius() const
void setBottomRadius(float bottomRadius)

알림 신호:

void bottomRadiusChanged(float bottomRadius)

hasBottomEndcap : bool

원뿔 바닥이 막혀 있는지, 아니면 열려 있는지 확인합니다.

액세스 기능:

bool hasBottomEndcap() const
void setHasBottomEndcap(bool hasBottomEndcap)

알림 신호:

void hasBottomEndcapChanged(bool hasBottomEndcap)

hasTopEndcap : bool

원뿔 상단이 막혀 있는지, 아니면 열려 있는지 확인합니다.

액세스 기능:

bool hasTopEndcap() const
void setHasTopEndcap(bool hasTopEndcap)

알림 신호:

void hasTopEndcapChanged(bool hasTopEndcap)

length : float

원뿔의 길이를 저장합니다.

액세스 기능:

float length() const
void setLength(float length)

알림 신호:

void lengthChanged(float length)

rings : int

메쉬의 링 수를 저장합니다.

액세스 함수:

int rings() const
void setRings(int rings)

알림 신호:

void ringsChanged(int rings)

slices : int

메쉬의 슬라이스 수를 저장합니다.

액세스 함수:

int slices() const
void setSlices(int slices)

알림 신호:

void slicesChanged(int slices)

topRadius : float

원뿔의 상단 반지름을 저장합니다.

액세스 함수:

float topRadius() const
void setTopRadius(float topRadius)

알림 신호:

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.