PySide6.QtGraphs.QSpline3DSeries¶
- class QSpline3DSeries¶
- The - QSpline3DSeriesclass represents a data series as a spline.- Details- 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. - Added in version 6.9. - Synopsis¶- Properties¶- splineColorᅟ- Color of the spline
- splineKnottingᅟ- Knot parametrization of the spline
- splineLoopingᅟ- Determines whether the spline loops
- splineResolutionᅟ- Resolution of the segments spline
- splineTensionᅟ- Tension of the spline
- splineVisibleᅟ- Visibility of the spline
 - Methods¶- def - __init__()
- def - setSplineColor()
- def - splineColor()
- def - splineKnotting()
- def - splineTension()
 - 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 - Note - Properties can be used directly when - from __feature__ import true_propertyis used or via accessor functions otherwise.- 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.0and- 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.0Segments are completely straight at a value of- 1.0Must be between- 0.0and- 1.0The 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:
 - Constructs a spline 3D series with the parent - parent.- __init__(dataProxy[, parent=None])
- Parameters:
- dataProxy – - QScatterDataProxy
- parent – - QObject
 
 
 - Constructs a spline 3D series with the data proxy - dataProxyand the parent- parent.- isSplineLooping()¶
- Return type:
- bool 
 
 - Getter of property - splineLoopingᅟ.- isSplineVisible()¶
- Return type:
- bool 
 
 - Getter of property - splineVisibleᅟ.- Setter of property - splineColorᅟ.- setSplineKnotting(knotting)¶
- Parameters:
- knotting – float 
 - See also 
 - Setter of property - splineKnottingᅟ.- setSplineLooping(looping)¶
- Parameters:
- looping – bool 
 - See also 
 - Setter of property - splineLoopingᅟ.- setSplineResolution(resolution)¶
- Parameters:
- resolution – int 
 - See also 
 - Setter of property - splineResolutionᅟ.- setSplineTension(tension)¶
- Parameters:
- tension – float 
 - See also 
 - Setter of property - splineTensionᅟ.- setSplineVisible(draw)¶
- Parameters:
- draw – bool 
 - See also 
 - Setter of property - splineVisibleᅟ.- splineColor()¶
- Return type:
 - See also 
 - Getter of property - splineColorᅟ.- Notification signal of property - splineColorᅟ.- splineKnotting()¶
- Return type:
- float 
 - See also 
 - 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 
 - See also 
 - Getter of property - splineResolutionᅟ.- splineResolutionChanged(resolution)¶
- Parameters:
- resolution – int 
 
 - Notification signal of property - splineResolutionᅟ.- splineTension()¶
- Return type:
- float 
 - See also 
 - Getter of property - splineTensionᅟ.- splineTensionChanged(tension)¶
- Parameters:
- tension – float 
 
 - Notification signal of property - splineTensionᅟ.- splineVisibilityChanged(visible)¶
- Parameters:
- visible – bool 
 
 - Notification signal of property - splineVisibleᅟ.