QSpline3DSeries Class
QSpline3DSeries 클래스는 데이터 시계를 스플라인 형태로 표현합니다. 더 보기...
| 헤더: | #include <QSpline3DSeries> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Graphs) target_link_libraries(mytarget PRIVATE Qt6::Graphs) |
| qmake: | QT += graphs |
| 다음부터: | Qt 6.9부터 |
| QML에서: | Spline3DSeries |
| 상속: | QScatter3DSeries |
- 상속된 멤버를 포함한 모든 멤버 목록
- QSpline3DSeries는 3D용Qt Graphs C++ 클래스의 일부입니다.
속성
|
|
공개 함수
| QSpline3DSeries(QObject *parent = nullptr) | |
| QSpline3DSeries(QScatterDataProxy *dataProxy, QObject *parent = nullptr) | |
| virtual | ~QSpline3DSeries() override |
| bool | isSplineLooping() const |
| bool | isSplineVisible() const |
| void | setSplineColor(QColor color) |
| void | setSplineKnotting(qreal knotting) |
| void | setSplineLooping(bool looping) |
| void | setSplineResolution(int resolution) |
| void | setSplineTension(qreal tension) |
| void | setSplineVisible(bool draw) |
| QColor | splineColor() const |
| qreal | splineKnotting() const |
| int | splineResolution() const |
| qreal | splineTension() const |
신호
| void | splineColorChanged(QColor color) |
| void | splineKnottingChanged(qreal knotting) |
| void | splineLoopingChanged(bool looping) |
| void | splineResolutionChanged(int resolution) |
| void | splineTensionChanged(qreal tension) |
| void | splineVisibilityChanged(bool visible) |
상세 설명
스플라인 그래프는 곡선 또는 직선 형태의 캣뮬-롬(Catmull-Rom) 스플라인으로 연결된 일련의 데이터 포인트 형태로 정보를 표시하는 데 사용됩니다.
이 클래스는 스플라인 고유의 시각적 요소를 관리합니다.
Spline3DSeries Scatter3DSeries API를 확장합니다.
속성 문서
splineColor : QColor
이 속성은 스플라인의 색상을 지정합니다.
액세스 함수:
| QColor | splineColor() const |
| void | setSplineColor(QColor color) |
알림 신호:
| void | splineColorChanged(QColor color) |
splineKnotting : qreal
이 속성은 스플라인의 매듭 매개변수화를 저장합니다.
이 매개변수는 곡선의 프로파일을 변경할 수 있습니다. 스플라인은 0.0 값일 때 균일한 Catmull-Rom 스플라인, 0.5 값일 때 구심성 Catmull-Rom 스플라인, 1.0 값일 때 현형 Catmull-Rom 스플라인으로 분류됩니다.
값은 0.0 과 1.0 사이여야 합니다. 기본값은 0.5 입니다.
액세스 함수:
| qreal | splineKnotting() const |
| void | setSplineKnotting(qreal knotting) |
알림 신호:
| void | splineKnottingChanged(qreal knotting) |
splineLooping : bool
스플라인이 순환하는지 여부를 결정합니다.
이 옵션은 스플라인을 루프로 연결하여, 시퀀스의 첫 번째 점과 마지막 점 사이에 스플라인 세그먼트를 추가합니다.
기본값은 false
액세스 함수:
| bool | isSplineLooping() const |
| void | setSplineLooping(bool looping) |
알림 신호:
| void | splineLoopingChanged(bool looping) |
splineResolution : int
이 속성은 스플라인 세그먼트의 해상도를 나타냅니다.
두 점 사이의 구간으로 정의되는 스플라인 세그먼트당 정점의 수입니다.
2 보다 큰 값이어야 합니다. 기본값은 10 입니다.
액세스 함수:
| int | splineResolution() const |
| void | setSplineResolution(int resolution) |
알림 신호:
| void | splineResolutionChanged(int resolution) |
splineTension : qreal
이 속성은 스플라인의 장력을 결정합니다.
스플라인은 값이 0.0 일 때 세그먼트에 최대 곡률을 적용합니다. 값이 1.0 일 때 세그먼트는 완전히 직선이 됩니다. 값은 0.0 과 1.0 사이여야 합니다. 기본값은 0.0
액세스 함수:
| qreal | splineTension() const |
| void | setSplineTension(qreal tension) |
알림 신호:
| void | splineTensionChanged(qreal tension) |
splineVisible : bool
스플라인의 표시 여부.
스플라인의 표시 여부. 기본값은 ' true'입니다.
액세스 함수:
| bool | isSplineVisible() const |
| void | setSplineVisible(bool draw) |
알림 신호:
| void | splineVisibilityChanged(bool visible) |
멤버 함수 문서
[explicit] QSpline3DSeries::QSpline3DSeries(QObject *parent = nullptr)
parent 을 부모 노드로 하는 스플라인 3D 시리즈를 생성합니다.
[explicit] QSpline3DSeries::QSpline3DSeries(QScatterDataProxy *dataProxy, QObject *parent = nullptr)
데이터 프록시 dataProxy 와 부모 노드 parent 를 사용하여 스플라인 3D 시리즈를 생성합니다.
[override virtual noexcept] QSpline3DSeries::~QSpline3DSeries()
스플라인 3D 시리즈를 삭제합니다.
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.