QSurfaceDataItem Class

QSurfaceDataItem 클래스는 서피스 그래프에 추가할 해석된 데이터를 위한 컨테이너를 제공합니다. 더 보기...

Header: #include <QSurfaceDataItem>
CMake: find_package(Qt6 REQUIRED COMPONENTS DataVisualization)
target_link_libraries(mytarget PRIVATE Qt6::DataVisualization)
qmake: QT += datavisualization
이후: QtDataVisualization 1.0

공용 함수

QSurfaceDataItem()
QSurfaceDataItem(const QVector3D &position)
QSurfaceDataItem(const QSurfaceDataItem &other)
~QSurfaceDataItem()
QVector3D position() const
void setPosition(const QVector3D &pos)
void setX(float value)
void setY(float value)
void setZ(float value)
float x() const
float y() const
float z() const
QSurfaceDataItem &operator=(const QSurfaceDataItem &other)

상세 설명

서페이스 데이터 항목은 서페이스 그래프에서 단일 정점에 대한 데이터를 저장합니다. 서페이스 데이터 프록시는 시각화를 위해 데이터를 QSurfaceDataItem 인스턴스로 구문 분석합니다.

QSurfaceDataProxyQt Data Visualization C++ Classes.

멤버 함수 문서

QSurfaceDataItem::QSurfaceDataItem()

서피스 데이터 항목을 구성합니다.

QSurfaceDataItem::QSurfaceDataItem(const QVector3D &position)

position 위치에 서피스 데이터 항목을 만듭니다.

QSurfaceDataItem::QSurfaceDataItem(const QSurfaceDataItem &other)

other 의 복사본을 생성합니다.

[noexcept] QSurfaceDataItem::~QSurfaceDataItem()

서피스 데이터 항목을 삭제합니다.

QVector3D QSurfaceDataItem::position() const

이 데이터 항목의 위치를 반환합니다.

setPosition()도 참조하세요 .

void QSurfaceDataItem::setPosition(const QVector3D &pos)

pos 위치를 이 데이터 항목으로 설정합니다.

position()도 참조하세요 .

void QSurfaceDataItem::setX(float value)

항목 위치의 x 좌표를 value 값으로 설정합니다.

x()도 참조하세요 .

void QSurfaceDataItem::setY(float value)

항목 위치의 y 좌표를 value 값으로 설정합니다.

y()도 참조하세요 .

void QSurfaceDataItem::setZ(float value)

항목 위치의 z 좌표를 value 값으로 설정합니다.

z()도 참조하세요 .

float QSurfaceDataItem::x() const

이 데이터 항목의 위치의 x 좌표를 반환합니다.

setX()도 참조하세요 .

float QSurfaceDataItem::y() const

이 데이터 항목의 위치의 y 좌표를 반환합니다.

setY()도 참조하세요 .

float QSurfaceDataItem::z() const

이 데이터 항목의 위치의 z 좌표를 반환합니다.

setZ()도 참조하세요 .

QSurfaceDataItem &QSurfaceDataItem::operator=(const QSurfaceDataItem &other)

이 객체에 other 의 복사본을 할당합니다.

© 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.