QSurfaceDataItem Class▲
-
Header: QSurfaceDataItem
-
Since: QtDataVisualization 1.0
-
CMake:
find_package(Qt6 REQUIRED COMPONENTS DataVisualization)
target_link_libraries(mytarget PRIVATE Qt6::DataVisualization)
-
qmake: QT += datavisualization
Detailed Description▲
A surface data item holds the data for a single vertex in a surface graph. Surface data proxies parse data into QSurfaceDataItem instances for visualization.
See Also▲
Member Function Documentation▲
QSurfaceDataItem::QSurfaceDataItem()▲
Constructs a surface data item.
QSurfaceDataItem::QSurfaceDataItem(const QVector3D &position)▲
Constructs a surface data item at the position position.
QSurfaceDataItem::QSurfaceDataItem(const QSurfaceDataItem &other)▲
Constructs a copy of other.
QSurfaceDataItem::~QSurfaceDataItem()▲
Deletes a surface data item.
QVector3D QSurfaceDataItem::position() const▲
void QSurfaceDataItem::setPosition(const QVector3D &pos)▲
void QSurfaceDataItem::setX(float value)▲
void QSurfaceDataItem::setY(float value)▲
void QSurfaceDataItem::setZ(float value)▲
float QSurfaceDataItem::x() const▲
float QSurfaceDataItem::y() const▲
float QSurfaceDataItem::z() const▲
QSurfaceDataItem &QSurfaceDataItem::operator=(const QSurfaceDataItem &other)▲
Assigns a copy of other to this object.