The QScatterDataItem class provides a container for resolved data to be added to scatter graphs. More...
Header: | #include <QScatterDataItem> |
Since: | QtDataVisualization 1.0 |
QScatterDataItem(const QScatterDataItem &other) | |
QScatterDataItem(const QVector3D &position, const QQuaternion &rotation) | |
QScatterDataItem(const QVector3D &position) | |
QScatterDataItem() | |
QScatterDataItem & | operator=(const QScatterDataItem &other) |
~QScatterDataItem() | |
QVector3D | position() const |
QQuaternion | rotation() const |
void | setPosition(const QVector3D &pos) |
void | setRotation(const QQuaternion &rot) |
void | setX(float value) |
void | setY(float value) |
void | setZ(float value) |
float | x() const |
float | y() const |
float | z() const |
A scatter data item holds the data for a single rendered item in a scatter graph. Scatter data proxies parse data into QScatterDataItem instances for visualization.
See also QScatterDataProxy and Qt Data Visualization C++ Classes.
Constructs a copy of other.
Constructs a scatter data item at the position position with the rotation rotation.
Constructs a scatter data item at the position position.
Constructs a scatter data item.
Assigns a copy of other to this object.
Deletes a scatter data item.
Returns the position of this data item.
See also setPosition().
Returns the rotation of this data item.
See also setRotation().
Sets the position pos for this data item.
See also position().
Sets the rotation rot for this data item. The value of rot should be a normalized QQuaternion. If the series also has rotation, item rotation is multiplied by it. Defaults to no rotation.
See also rotation().
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/qscatterdataitem.html