The QSurfaceDataItem class provides a container for resolved data to be added to surface graphs. More...
Header: | #include <QSurfaceDataItem> |
Since: | QtDataVisualization 1.0 |
QSurfaceDataItem(const QSurfaceDataItem &other) | |
QSurfaceDataItem(const QVector3D &position) | |
QSurfaceDataItem() | |
QSurfaceDataItem & | operator=(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 |
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 QSurfaceDataProxy and Qt Data Visualization C++ Classes.
Constructs a copy of other.
Constructs a surface data item at the position position.
Constructs a surface data item.
Assigns a copy of other to this object.
Deletes a surface data item.
Returns the position of this data item.
See also setPosition().
Sets the position pos to this data item.
See also position().
Sets the x-coordinate of the item position to the value value.
See also x().
Sets the y-coordinate of the item position to the value value.
See also y().
Sets the z-coordinate of the item position to the value value.
See also z().
Returns the x-coordinate of the position of this data item.
See also setX().
Returns the y-coordinate of the position of this data item.
See also setY().
Returns the z-coordinate of the position of this data item.
See also setZ().
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.2/qsurfacedataitem.html