QScatterDataItem Class▲
-
Header: QScatterDataItem
-
Since: QtDataVisualization 1.0
-
CMake:
find_package(Qt6 REQUIRED COMPONENTS DataVisualization)
target_link_libraries(mytarget PRIVATE Qt6::DataVisualization)
-
qmake: QT += datavisualization
Detailed Description▲
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▲
Member Function Documentation▲
QScatterDataItem::QScatterDataItem()▲
Constructs a scatter data item.
QScatterDataItem::QScatterDataItem(const QVector3D &position)▲
Constructs a scatter data item at the position position.
QScatterDataItem::QScatterDataItem(const QVector3D &position, const QQuaternion &rotation)▲
Constructs a scatter data item at the position position with the rotation rotation.
QScatterDataItem::QScatterDataItem(const QScatterDataItem &other)▲
Constructs a copy of other.
QScatterDataItem::~QScatterDataItem()▲
Deletes a scatter data item.
QVector3D QScatterDataItem::position() const▲
QQuaternion QScatterDataItem::rotation() const▲
void QScatterDataItem::setPosition(const QVector3D &pos)▲
void QScatterDataItem::setRotation(const QQuaternion &rot)▲
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▲
See also rotation()
void QScatterDataItem::setX(float value)▲
void QScatterDataItem::setY(float value)▲
void QScatterDataItem::setZ(float value)▲
float QScatterDataItem::x() const▲
float QScatterDataItem::y() const▲
float QScatterDataItem::z() const▲
QScatterDataItem &QScatterDataItem::operator=(const QScatterDataItem &other)▲
Assigns a copy of other to this object.