Qt3DRender::QPickPointEvent Class
class Qt3DRender::QPickPointEventQPickPointEvent 类用于存储点云中某一段被选中时的相关信息。更多内容...
| 头文件: | #include <qpickpointevent.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3drender) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
| qmake: | QT += 3drender |
| 在 QML 中: | PickPointEvent |
| 继承自: | Qt3DRender::QPickEvent |
| 状态: | 已弃用 |
该类已弃用。我们强烈建议不要在新代码中使用它。
属性
- pointIndex : const uint
公共函数
| QPickPointEvent() | |
| uint | pointIndex() const |
另请参阅 QPickEvent 。
成员函数文档
QPickPointEvent::QPickPointEvent()
创建一个新的 QPickPointEvent。
uint QPickPointEvent::pointIndex() const
QPickPointEvent::pointIndex 返回所选点的索引
注: 这是属性 pointIndex 的获取 函数。
© 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.