QPickPointEvent Class

(Qt3DRender::QPickPointEvent)

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

Header: #include <QPickPointEvent>
qmake: QT += 3drender
Since: Qt 5.10
Instantiated By: PickPointEvent
Inherits: Qt3DRender::QPickEvent

Properties

Public Functions

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

Additional Inherited Members

Detailed Description

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

See also QPickEvent.

Property Documentation

pointIndex : const uint

Specifies the index of the point that was picked

Access functions:

uint pointIndex() const

Member Function Documentation

QPickPointEvent::QPickPointEvent()

Constructs a new 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

Note: Getter function for property pointIndex.

© 2018 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.