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
()
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