PySide6.QtGraphs.QSpline3DSeries

class QSpline3DSeries

The QSpline3DSeries class represents a data series as a spline. More

Inheritance diagram of PySide6.QtGraphs.QSpline3DSeries

Added in version 6.9.

Synopsis

Properties

Methods

Signals

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

Spline graphs are used to show information as a series of data points connected by a curved or straight Catmull-Rom spline.

This class manages the spline specific visual elements.

Spline3DSeries extends the Scatter3DSeries API.

Note

Properties can be used directly when from __feature__ import true_property is used or via accessor functions otherwise.

property splineColorᅟ: QColor

This property holds The color of the spline..

Access functions:
property splineKnottingᅟ: float

This property holds The knot parametrization of the spline..

This parameter can change the profile of the curve. The spline is classified as a uniform Catmull-Rom spline at a value of 0.0, a centripetal Catmull-Rom spline at a value of 0.5, and a chordal Catmull-Rom spline at a value of 1.0.

The value must be between 0.0 and 1.0. The default value is 0.5.

Access functions:
property splineLoopingᅟ: bool

This property Determines whether the spline loops..

This adds a spline segment between the first and last points of the series connecting the spline into a loop.

The default value is false

Access functions:
property splineResolutionᅟ: int

This property holds The resolution of the segments spline..

The number of vertices per spline segment, which is defined as the part between two points.

Must be a value above 2. The default value is 10.

Access functions:
property splineTensionᅟ: float

This property holds The tension of the spline..

The spline uses maximum curvature for segments at a value of 0.0 Segments are completely straight at a value of 1.0 Must be between 0.0 and 1.0 The default value is 0.0

Access functions:
property splineVisibleᅟ: bool

This property holds Visibility of the spline..

Visibility of the spline. The default value is true.

Access functions:
__init__([parent=None])
Parameters:

parentQObject

Constructs a spline 3D series with the parent parent.

__init__(dataProxy[, parent=None])
Parameters:

Constructs a spline 3D series with the data proxy dataProxy and the parent parent.

isSplineLooping()
Return type:

bool

Getter of property splineLoopingᅟ .

isSplineVisible()
Return type:

bool

Getter of property splineVisibleᅟ .

setSplineColor(color)
Parameters:

colorQColor

See also

splineColor()

Setter of property splineColorᅟ .

setSplineKnotting(knotting)
Parameters:

knotting – float

See also

splineKnotting()

Setter of property splineKnottingᅟ .

setSplineLooping(looping)
Parameters:

looping – bool

Setter of property splineLoopingᅟ .

setSplineResolution(resolution)
Parameters:

resolution – int

Setter of property splineResolutionᅟ .

setSplineTension(tension)
Parameters:

tension – float

See also

splineTension()

Setter of property splineTensionᅟ .

setSplineVisible(draw)
Parameters:

draw – bool

Setter of property splineVisibleᅟ .

splineColor()
Return type:

QColor

See also

setSplineColor()

Getter of property splineColorᅟ .

splineColorChanged(color)
Parameters:

colorQColor

Notification signal of property splineColorᅟ .

splineKnotting()
Return type:

float

Getter of property splineKnottingᅟ .

splineKnottingChanged(knotting)
Parameters:

knotting – float

Notification signal of property splineKnottingᅟ .

splineLoopingChanged(looping)
Parameters:

looping – bool

Notification signal of property splineLoopingᅟ .

splineResolution()
Return type:

int

Getter of property splineResolutionᅟ .

splineResolutionChanged(resolution)
Parameters:

resolution – int

Notification signal of property splineResolutionᅟ .

splineTension()
Return type:

float

Getter of property splineTensionᅟ .

splineTensionChanged(tension)
Parameters:

tension – float

Notification signal of property splineTensionᅟ .

splineVisibilityChanged(visible)
Parameters:

visible – bool

Notification signal of property splineVisibleᅟ .