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 .