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 |
This class was introduced in Qt 5.10.
Properties
- edgeIndex : const uint
- vertex1Index : const uint
- vertex2Index : const uint
- 8 properties inherited from Qt3DRender::QPickEvent
- 1 property inherited from QObject
Public Functions
QPickLineEvent() | |
uint | edgeIndex() const |
uint | vertex1Index() const |
uint | vertex2Index() const |
- 8 public functions inherited from Qt3DRender::QPickEvent
- 30 public functions inherited from QObject
Related Non-Members
typedef | QObjectList |
QList<T> | qFindChildren(const QObject *obj, const QRegExp ®Exp) |
T | qobject_cast(QObject *object) |
T | qobject_cast(const QObject *object) |
Macros
QT_NO_NARROWING_CONVERSIONS_IN_CONNECT | |
Q_CLASSINFO(Name, Value) | |
Q_DISABLE_COPY(Class) | |
Q_DISABLE_COPY_MOVE(Class) | |
Q_DISABLE_MOVE(Class) | |
Q_EMIT | |
Q_ENUM(...) | |
Q_ENUM_NS(...) | |
Q_FLAG(...) | |
Q_FLAG_NS(...) | |
Q_GADGET | |
Q_INTERFACES(...) | |
Q_INVOKABLE | |
Q_NAMESPACE | |
Q_OBJECT | |
Q_PROPERTY(...) | |
Q_REVISION | |
Q_SET_OBJECT_NAME(Object) | |
Q_SIGNAL | |
Q_SIGNALS | |
Q_SLOT | |
Q_SLOTS |
Additional Inherited Members
- 1 public slot inherited from Qt3DRender::QPickEvent
- 1 public slot inherited from QObject
- 1 signal inherited from Qt3DRender::QPickEvent
- 2 signals inherited from QObject
- 9 static public members inherited from QObject
- 9 protected functions inherited from QObject
Detailed Description
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.
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.