IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

QScatterDataItem Class

The QScatterDataItem class provides a container for resolved data to be added to scatter graphs.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

QScatterDataItem Class▲

  • Header: QScatterDataItem

  • CMake:

    find_package(Qt6 REQUIRED COMPONENTS Graphs)

    target_link_libraries(mytarget PRIVATE Qt6::Graphs)

  • qmake: QT += graphs

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 scatter graphs.

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.

[constexpr] QVector3D QScatterDataItem::position() const▲

Returns the position of this data item.

See Also▲

See also setPosition()

QQuaternion QScatterDataItem::rotation() const▲

Returns the rotation of this data item.

See Also▲

See also setRotation()

[constexpr] void QScatterDataItem::setPosition(const QVector3D &pos)▲

Sets the position pos for this data item.

See Also▲

See also position()

[constexpr] 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()

[constexpr] void QScatterDataItem::setX(float value)▲

Sets the x-coordinate of the item position to the value value.

See Also▲

See also x()

[constexpr] void QScatterDataItem::setY(float value)▲

Sets the y-coordinate of the item position to the value value.

See Also▲

See also y()

[constexpr] void QScatterDataItem::setZ(float value)▲

Sets the z-coordinate of the item position to the value value.

See Also▲

See also z()

[constexpr] float QScatterDataItem::x() const▲

Returns the x-coordinate of the position of this data item.

See Also▲

See also setX()

[constexpr] float QScatterDataItem::y() const▲

Returns the y-coordinate of the position of this data item.

See Also▲

See also setY()

[constexpr] float QScatterDataItem::z() const▲

Returns the z-coordinate of the position of this data item.

See Also▲

See also setZ()

QScatterDataItem &QScatterDataItem::operator=(const QScatterDataItem &other)▲

Assigns a copy of other to this object.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+