QSurfaceDataItem Class
QSurfaceDataItem 클래스는 서피스 그래프에 추가할 해석된 데이터를 위한 컨테이너를 제공합니다. 더 보기...
Header: | #include <QSurfaceDataItem> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Graphs) target_link_libraries(mytarget PRIVATE Qt6::Graphs) |
qmake: | QT += graphs |
- 상속된 멤버를 포함한 모든 멤버의 목록
- QSurfaceDataItem은 Qt Graphs 3D용 C++ 클래스의 일부입니다.
공용 함수
QSurfaceDataItem() | |
QSurfaceDataItem(QVector3D position) | |
QSurfaceDataItem(float x, float y, float z) | |
QVector3D | position() const |
void | setPosition(QVector3D pos) |
void | setX(float value) |
void | setY(float value) |
void | setZ(float value) |
float | x() const |
float | y() const |
float | z() const |
상세 설명
서페이스 데이터 항목은 서페이스 그래프에서 단일 버텍스에 대한 데이터를 보유합니다. 서피스 데이터 프록시는 데이터를 서피스 그래프에 대한 QSurfaceDataItem 인스턴스로 구문 분석합니다.
QSurfaceDataProxy 및 Qt Graphs 3D용 C++ 클래스를참조하십시오 .
멤버 함수 문서
[constexpr noexcept]
QSurfaceDataItem::QSurfaceDataItem()
서피스 데이터 항목을 구성합니다.
[explicit constexpr noexcept]
QSurfaceDataItem::QSurfaceDataItem(QVector3D position)
position 위치에 서피스 데이터 항목을 만듭니다.
[constexpr noexcept]
QSurfaceDataItem::QSurfaceDataItem(float x, float y, float z)
x, y, z 에서 지정한 위치에 서피스 데이터 항목을 구성합니다.
[constexpr noexcept]
QVector3D QSurfaceDataItem::position() const
이 데이터 항목의 위치를 반환합니다.
setPosition()도 참조하세요 .
[constexpr noexcept]
void QSurfaceDataItem::setPosition(QVector3D pos)
pos 위치를 이 데이터 항목으로 설정합니다.
position()도 참조하세요 .
[constexpr noexcept]
void QSurfaceDataItem::setX(float value)
항목 위치의 x 좌표를 value 값으로 설정합니다.
x()도 참조하세요 .
[constexpr noexcept]
void QSurfaceDataItem::setY(float value)
항목 위치의 y 좌표를 value 값으로 설정합니다.
y()도 참조하세요 .
[constexpr noexcept]
void QSurfaceDataItem::setZ(float value)
항목 위치의 z 좌표를 value 값으로 설정합니다.
z()도 참조하세요 .
[constexpr noexcept]
float QSurfaceDataItem::x() const
이 데이터 항목의 위치의 x 좌표를 반환합니다.
setX()도 참조하세요 .
[constexpr noexcept]
float QSurfaceDataItem::y() const
이 데이터 항목의 위치의 y 좌표를 반환합니다.
setY()도 참조하세요 .
[constexpr noexcept]
float QSurfaceDataItem::z() const
이 데이터 항목의 위치의 z 좌표를 반환합니다.
setZ()도 참조하세요 .
© 2025 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.