QSurfaceDataItem

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

Inheritance diagram of PySide6.QtDataVisualization.QSurfaceDataItem

Synopsis

Functions

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

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

PySide6.QtGui.QVector3D

Returns the position of this data item.

See also

setPosition()

PySide6.QtDataVisualization.QSurfaceDataItem.setPosition(pos)
Parameters

posPySide6.QtGui.QVector3D

Sets the position pos to this data item.

See also

position()

PySide6.QtDataVisualization.QSurfaceDataItem.setX(value)
Parameters

value – float

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

See also

x()

PySide6.QtDataVisualization.QSurfaceDataItem.setY(value)
Parameters

value – float

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

See also

y()

PySide6.QtDataVisualization.QSurfaceDataItem.setZ(value)
Parameters

value – float

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

See also

z()

PySide6.QtDataVisualization.QSurfaceDataItem.x()
Return type

float

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

See also

setX()

PySide6.QtDataVisualization.QSurfaceDataItem.y()
Return type

float

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

See also

setY()

PySide6.QtDataVisualization.QSurfaceDataItem.z()
Return type

float

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

See also

setZ()