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

QSurfaceDataItem Class

The QSurfaceDataItem class provides a container for resolved data to be added to surface graphs.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

QSurfaceDataItem Class

  • Header: QSurfaceDataItem

  • CMake:

    find_package(Qt6 REQUIRED COMPONENTS Graphs)

    target_link_libraries(mytarget PRIVATE Qt6::Graphs)

  • qmake: QT += graphs

  • Group: QSurfaceDataItem is part of Qt Graphs C++ Classes for 3D

Detailed Description

A surface data item holds the data for a single vertex in a surface graph. Surface data proxies parse data into QSurfaceDataItem instances for surface graphs.

See Also

Member Function Documentation

 

[constexpr] QSurfaceDataItem::QSurfaceDataItem()

Constructs a surface data item.

[explicit constexpr] QSurfaceDataItem::QSurfaceDataItem(const QVector3D &position)

Constructs a surface data item at the position position.

[constexpr] QSurfaceDataItem::QSurfaceDataItem(float x, float y, float z)

Constructs a surface data item at the position specified by x, y, and z.

[constexpr] QVector3D QSurfaceDataItem::position() const

Returns the position of this data item.

See Also

See also setPosition()

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

Sets the position pos to this data item.

See Also

See also position()

[constexpr] void QSurfaceDataItem::setX(float value)

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

See Also

See also x()

[constexpr] void QSurfaceDataItem::setY(float value)

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

See Also

See also y()

[constexpr] void QSurfaceDataItem::setZ(float value)

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

See Also

See also z()

[constexpr] float QSurfaceDataItem::x() const

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

See Also

See also setX()

[constexpr] float QSurfaceDataItem::y() const

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

See Also

See also setY()

[constexpr] float QSurfaceDataItem::z() const

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

See Also

See also setZ()

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