QSurfaceDataItem#
The QSurfaceDataItem class provides a container for resolved data to be added to surface graphs. More…
Synopsis#
Functions#
def
createExtraData()def
position()def
setPosition(pos)def
setX(value)def
setY(value)def
setZ(value)def
x()def
y()def
z()
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
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 visualization.
- class PySide6.QtDataVisualization.QSurfaceDataItem#
PySide6.QtDataVisualization.QSurfaceDataItem(other)
PySide6.QtDataVisualization.QSurfaceDataItem(position)
- Parameters:
position –
PySide6.QtGui.QVector3D
Constructs a surface data item.
Constructs a copy of other.
Constructs a surface data item at the position position.
- PySide6.QtDataVisualization.QSurfaceDataItem.createExtraData()#
- PySide6.QtDataVisualization.QSurfaceDataItem.position()#
- Return type:
Returns the position of this data item.
See also
- PySide6.QtDataVisualization.QSurfaceDataItem.setPosition(pos)#
- Parameters:
pos –
PySide6.QtGui.QVector3D
Sets the position pos to this data item.
See also
- PySide6.QtDataVisualization.QSurfaceDataItem.setX(value)#
- Parameters:
value – float
Sets the x-coordinate of the item position to the value value.
See also
- PySide6.QtDataVisualization.QSurfaceDataItem.setY(value)#
- Parameters:
value – float
Sets the y-coordinate of the item position to the value value.
See also
- PySide6.QtDataVisualization.QSurfaceDataItem.setZ(value)#
- Parameters:
value – float
Sets the z-coordinate of the item position to the value value.
See also
- PySide6.QtDataVisualization.QSurfaceDataItem.x()#
- Return type:
float
Returns the x-coordinate of the position of this data item.
See also
- PySide6.QtDataVisualization.QSurfaceDataItem.y()#
- Return type:
float
Returns the y-coordinate of the position of this data item.
See also
- PySide6.QtDataVisualization.QSurfaceDataItem.z()#
- Return type:
float
Returns the z-coordinate of the position of this data item.
See also