QPickLineEvent Class

(Qt3DRender::QPickLineEvent)

The QPickLineEvent class holds information when a segment of a line is picked. More...

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

Properties

Public Functions

QPickLineEvent()
QPickLineEvent(const QPointF &position, const QVector3D &worldIntersection, const QVector3D &localIntersection, float distance, uint edgeIndex, uint vertex1Index, uint vertex2Index, Qt3DRender::QPickEvent::Buttons button, int buttons, int modifiers)
uint edgeIndex() const
uint vertex1Index() const
uint vertex2Index() const

Static Public Members

const QMetaObject staticMetaObject
  • 9 static public members inherited from QObject

Additional Inherited Members

Detailed Description

The QPickLineEvent class holds information when a segment of a line is picked.

See also QPickEvent.

Property Documentation

edgeIndex : const uint

Specifies the index of the edge that was picked

Access functions:

uint edgeIndex() const

vertex1Index : const uint

Specifies the index of the first point of the picked edge

Access functions:

uint vertex1Index() const

vertex2Index : const uint

Specifies the index of the second point of the picked edge

Access functions:

uint vertex2Index() const

Member Function Documentation

QPickLineEvent::QPickLineEvent()

Constructs a new QPickEvent.

QPickLineEvent::QPickLineEvent(const QPointF &position, const QVector3D &worldIntersection, const QVector3D &localIntersection, float distance, uint edgeIndex, uint vertex1Index, uint vertex2Index, Qt3DRender::QPickEvent::Buttons button, int buttons, int modifiers)

Default constructs an instance of QPickLineEvent.

uint QPickLineEvent::edgeIndex() const

QPickLineEvent::edgeIndex Returns the index of the picked edge

Note: Getter function for property edgeIndex.

uint QPickLineEvent::vertex1Index() const

QPickLineEvent::vertex1Index Returns the index of the first point of the picked edge

Note: Getter function for property vertex1Index.

uint QPickLineEvent::vertex2Index() const

QPickLineEvent::vertex2Index Returns the index of the second point of the picked triangle

Note: Getter function for property vertex2Index.

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5.12/qt3drender-qpicklineevent.html