QSpline3DSeries Class
QSpline3DSeries 클래스는 데이터 계열을 스플라인으로 나타냅니다. 더 보기...
Header: | #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는 Qt Graphs 3D용 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) |
상세 설명
스플라인 그래프는 곡선 또는 직선 캣멀롬 스플라인으로 연결된 일련의 데이터 포인트로 정보를 표시하는 데 사용됩니다.
이 클래스는 스플라인 관련 시각적 요소를 관리합니다.
Spline3DSeries Scatter3DSeries API를 확장합니다.
속성 문서
splineColor : QColor
이 프로퍼티에는 스플라인의 색이 저장됩니다.
함수에 액세스합니다:
QColor | splineColor() const |
void | setSplineColor(QColor color) |
알림 신호:
void | splineColorChanged(QColor color) |
splineKnotting : qreal
이 프로퍼티는 스플라인의 매듭점 파라미터화를 유지합니다.
이 파라미터는 커브의 프로파일을 변경할 수 있습니다. 스플라인은 값이 0.0
인 경우 균일 캣멀롬 스플라인, 값이 0.5
인 경우 구심 캣멀롬 스플라인, 값이 1.0
인 경우 코드 캣멀롬 스플라인으로 분류됩니다.
값은 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 계열을 삭제합니다.
© 2025 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.