The QSurfaceDataItem class provides a container for resolved data to be added to surface graphs. More...
Header: | #include <QSurfaceDataItem> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS DataVisualization) target_link_libraries(mytarget PRIVATE Qt6::DataVisualization) |
qmake: | QT += datavisualization |
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().
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: