QPickPointEvent Class

( Qt3DRender::QPickPointEvent )

The QPickPointEvent class holds information when a segment of a point cloud is picked. 更多...

头: #include <QPickPointEvent>
qmake: QT += 3drender
Since: Qt 5.10
实例化: PickPointEvent
继承: Qt3DRender::QPickEvent

特性

公共函数

QPickPointEvent ()
QPickPointEvent (const QPointF & position , const QVector3D & worldIntersection , const QVector3D & localIntersection , float distance , uint pointIndex , Qt3DRender::QPickEvent::Buttons button , int buttons , int modifiers )
uint pointIndex () const

静态公共成员

const QMetaObject staticMetaObject

额外继承成员

详细描述

The QPickPointEvent class holds information when a segment of a point cloud is picked.

另请参阅 QPickEvent .

特性文档编制

pointIndex : const uint

Specifies the index of the point that was picked

访问函数:

uint pointIndex () const

成员函数文档编制

QPickPointEvent:: QPickPointEvent ()

构造新的 QPickPointEvent .

QPickPointEvent:: QPickPointEvent (const QPointF & position , const QVector3D & worldIntersection , const QVector3D & localIntersection , float distance , uint pointIndex , Qt3DRender::QPickEvent::Buttons button , int buttons , int modifiers )

Default constructs an instance of QPickPointEvent.

uint QPickPointEvent:: pointIndex () const

QPickPointEvent::pointIndex Returns the index of the picked point

注意: getter 函数对于特性 pointIndex .