The QSurfaceDataItem class provides a container for resolved data to be added to surface graphs. 更多...
头: | #include <QSurfaceDataItem> |
qmake: | QT += datavisualization |
Since: | QtDataVisualization 1.0 |
该类在 QtDataVisualization 1.0 引入。
QSurfaceDataItem (const QSurfaceDataItem & other ) | |
QSurfaceDataItem (const QVector3D & position ) | |
QSurfaceDataItem () | |
QSurfaceDataItem & | operator= (const QSurfaceDataItem & other ) |
~QSurfaceDataItem () | |
QVector3D | position () const |
void | setPosition (const QVector3D & pos ) |
void | setX (float value ) |
void | setY (float value ) |
void | setZ (float value ) |
float | x () const |
float | y () const |
float | z () const |
A surface data item holds the data for a single vertex in a surface graph. Surface data proxies parse data into QSurfaceDataItem instances for visualization.
另请参阅 QSurfaceDataProxy and Qt Data Visualization C++ 类 .
构造副本为 other .
Constructs a surface data item at the position position .
Constructs a surface data item.
赋值副本为 other 到此对象。
Deletes a surface data item.
Returns the position of this data item.
另请参阅 setPosition ().
Sets the position pos to this data item.
另请参阅 position ().
Sets the x-coordinate of the item position to the value value .
另请参阅 x ().
Sets the y-coordinate of the item position to the value value .
另请参阅 y ().
Sets the z-coordinate of the item position to the value value .
另请参阅 z ().
Returns the x-coordinate of the position of this data item.
另请参阅 setX ().
Returns the y-coordinate of the position of this data item.
另请参阅 setY ().
Returns the z-coordinate of the position of this data item.
另请参阅 setZ ().