1 | // Copyright (C) 2023 The Qt Company Ltd. |
2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only |
3 | |
4 | /*! |
5 | * \class QSurfaceDataItem |
6 | * \inmodule QtGraphs |
7 | * \ingroup graphs_3D |
8 | * \brief The QSurfaceDataItem class provides a container for resolved data to |
9 | * be added to surface graphs. |
10 | * |
11 | * A surface data item holds the data for a single vertex in a surface graph. |
12 | * Surface data proxies parse data into QSurfaceDataItem instances for |
13 | * surface graphs. |
14 | * |
15 | * \sa QSurfaceDataProxy, {Qt Graphs C++ Classes for 3D} |
16 | */ |
17 | |
18 | /*! |
19 | * \fn constexpr QSurfaceDataItem::QSurfaceDataItem() noexcept |
20 | * Constructs a surface data item. |
21 | */ |
22 | |
23 | /*! |
24 | * \fn explicit constexpr QSurfaceDataItem::QSurfaceDataItem(QVector3D position) noexcept |
25 | * Constructs a surface data item at the position \a position. |
26 | */ |
27 | |
28 | /*! |
29 | * \fn constexpr QSurfaceDataItem::QSurfaceDataItem(float x, float y, float z) noexcept |
30 | * Constructs a surface data item at the position specified by \a x, \a y, and \a z. |
31 | */ |
32 | |
33 | /*! |
34 | * \fn void QSurfaceDataItem::setPosition(QVector3D pos) |
35 | * Sets the position \a pos to this data item. |
36 | */ |
37 | |
38 | /*! |
39 | * \fn QVector3D QSurfaceDataItem::position() const |
40 | * Returns the position of this data item. |
41 | */ |
42 | |
43 | /*! |
44 | * \fn void QSurfaceDataItem::setX(float value) |
45 | * Sets the x-coordinate of the item position to the value \a value. |
46 | */ |
47 | |
48 | /*! |
49 | * \fn void QSurfaceDataItem::setY(float value) |
50 | * Sets the y-coordinate of the item position to the value \a value. |
51 | */ |
52 | |
53 | /*! |
54 | * \fn void QSurfaceDataItem::setZ(float value) |
55 | * Sets the z-coordinate of the item position to the value \a value. |
56 | */ |
57 | |
58 | /*! |
59 | * \fn float QSurfaceDataItem::x() const |
60 | * Returns the x-coordinate of the position of this data item. |
61 | */ |
62 | |
63 | /*! |
64 | * \fn float QSurfaceDataItem::y() const |
65 | * Returns the y-coordinate of the position of this data item. |
66 | */ |
67 | |
68 | /*! |
69 | * \fn float QSurfaceDataItem::z() const |
70 | * Returns the z-coordinate of the position of this data item. |
71 | */ |
72 | |