<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- qpicklineevent.cpp --> <title>QPickLineEvent Class | Qt 3D 5.12.6</title> <link rel="stylesheet" type="text/css" href="style/offline-simple.css" /> <script type="text/javascript"> document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css"); // loading style sheet breaks anchors that were jumped to before // so force jumping to anchor again setTimeout(function() { var anchor = location.hash; // need to jump to different anchor first (e.g. none) location.hash = "#"; setTimeout(function() { location.hash = anchor; }, 0); }, 0); </script> </head> <body> <div class="header" id="qtdocheader"> <div class="main"> <div class="main-rounded"> <div class="navigationbar"> <table><tr> <td >Qt 5.12</td><td ><a href="qt3d-index.html">Qt 3D</a></td><td ><a href="qt3d-cpp.html">C++ Classes</a></td><td >QPickLineEvent</td></tr></table><table class="buildversion"><tr> <td id="buildversion" width="100%" align="right"><a href="qt3d-index.html">Qt 5.12.6 Reference Documentation</a></td> </tr></table> </div> </div> <div class="content"> <div class="line"> <div class="content mainContent"> <div class="sidebar"> <div class="toc"> <h3><a name="toc">Contents</a></h3> <ul> <li class="level1"><a href="#properties">Properties</a></li> <li class="level1"><a href="#public-functions">Public Functions</a></li> <li class="level1"><a href="#static-public-members">Static Public Members</a></li> <li class="level1"><a href="#details">Detailed Description</a></li> </ul> </div> <div class="sidebar-content" id="sidebar-content"></div></div> <h1 class="title">QPickLineEvent Class</h1> <span class="small-subtitle">(<a href="qt3drender-qpicklineevent.html">Qt3DRender::QPickLineEvent</a>)<br/></span> <!-- $$$QPickLineEvent-brief --> <p>The <a href="qt3drender-qpicklineevent.html">QPickLineEvent</a> class holds information when a segment of a line is picked. <a href="#details">More...</a></p> <!-- @@@QPickLineEvent --> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> <span class="preprocessor">#include <QPickLineEvent></span> </td></tr><tr><td class="memItemLeft rightAlign topAlign"> qmake:</td><td class="memItemRight bottomAlign"> QT += 3drender</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Since:</td><td class="memItemRight bottomAlign"> Qt 5.10</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Instantiated By:</td><td class="memItemRight bottomAlign"> <a href="qml-qt3d-render-picklineevent.html">PickLineEvent</a></td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <a href="qt3drender-qpickevent.html">Qt3DRender::QPickEvent</a></td></tr></table></div><ul> <li><a href="qt3drender-qpicklineevent-members.html">List of all members, including inherited members</a></li> </ul> <a name="properties"></a> <h2 id="properties">Properties</h2> <ul> <li class="fn"><b><a href="qt3drender-qpicklineevent.html#edgeIndex-prop">edgeIndex</a></b> : const uint</li> <li class="fn"><b><a href="qt3drender-qpicklineevent.html#vertex1Index-prop">vertex1Index</a></b> : const uint</li> <li class="fn"><b><a href="qt3drender-qpicklineevent.html#vertex2Index-prop">vertex2Index</a></b> : const uint</li> </ul> <ul> <li class="fn">8 properties inherited from <a href="qt3drender-qpickevent.html#properties">Qt3DRender::QPickEvent</a></li> </ul> <a name="public-functions"></a> <h2 id="public-functions">Public Functions</h2> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qpicklineevent.html#QPickLineEvent">QPickLineEvent</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qpicklineevent.html#QPickLineEvent-1">QPickLineEvent</a></b>(const QPointF &<i>position</i>, const QVector3D &<i>worldIntersection</i>, const QVector3D &<i>localIntersection</i>, float <i>distance</i>, uint <i>edgeIndex</i>, uint <i>vertex1Index</i>, uint <i>vertex2Index</i>, Qt3DRender::QPickEvent::Buttons <i>button</i>, int <i>buttons</i>, int <i>modifiers</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> uint </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qpicklineevent.html#edgeIndex">edgeIndex</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> uint </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qpicklineevent.html#vertex1Index">vertex1Index</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> uint </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qpicklineevent.html#vertex2Index">vertex2Index</a></b>() const</td></tr> </table></div> <ul> <li class="fn">8 public functions inherited from <a href="qt3drender-qpickevent.html#public-functions">Qt3DRender::QPickEvent</a></li> </ul> <a name="static-public-members"></a> <h2 id="static-public-members">Static Public Members</h2> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> const QMetaObject </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qpicklineevent.html#staticMetaObject-var">staticMetaObject</a></b></td></tr> </table></div> <h3>Additional Inherited Members</h3> <ul> <li class="fn">1 public slot inherited from <a href="qt3drender-qpickevent.html#public-slots">Qt3DRender::QPickEvent</a></li> <li class="fn">1 signal inherited from <a href="qt3drender-qpickevent.html#signals">Qt3DRender::QPickEvent</a></li> </ul> <a name="details"></a> <!-- $$$QPickLineEvent-description --> <div class="descr"> <h2 id="details">Detailed Description</h2> <p>The <a href="qt3drender-qpicklineevent.html">QPickLineEvent</a> class holds information when a segment of a line is picked.</p> </div> <p><b>See also </b><a href="qt3drender-qpickevent.html">QPickEvent</a>.</p> <!-- @@@QPickLineEvent --> <div class="prop"> <h2>Property Documentation</h2> <!-- $$$edgeIndex-prop$$$edgeIndex --> <h3 class="fn" id="edgeIndex-prop"><a name="edgeIndex-prop"></a><span class="name">edgeIndex</span> : const <span class="type">uint</span></h3> <p>Specifies the index of the edge that was picked</p> <p><b>Access functions:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> uint </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qt3drender-qpicklineevent.html#edgeIndex">edgeIndex</a></b></span>() const</td></tr> </table></div> <!-- @@@edgeIndex --> <!-- $$$vertex1Index-prop$$$vertex1Index --> <h3 class="fn" id="vertex1Index-prop"><a name="vertex1Index-prop"></a><span class="name">vertex1Index</span> : const <span class="type">uint</span></h3> <p>Specifies the index of the first point of the picked edge</p> <p><b>Access functions:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> uint </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qt3drender-qpicklineevent.html#vertex1Index">vertex1Index</a></b></span>() const</td></tr> </table></div> <!-- @@@vertex1Index --> <!-- $$$vertex2Index-prop$$$vertex2Index --> <h3 class="fn" id="vertex2Index-prop"><a name="vertex2Index-prop"></a><span class="name">vertex2Index</span> : const <span class="type">uint</span></h3> <p>Specifies the index of the second point of the picked edge</p> <p><b>Access functions:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> uint </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qt3drender-qpicklineevent.html#vertex2Index">vertex2Index</a></b></span>() const</td></tr> </table></div> <!-- @@@vertex2Index --> </div> <div class="func"> <h2>Member Function Documentation</h2> <!-- $$$QPickLineEvent[overload1]$$$QPickLineEvent --> <h3 class="fn" id="QPickLineEvent"><a name="QPickLineEvent"></a>QPickLineEvent::<span class="name">QPickLineEvent</span>()</h3> <p>Constructs a new <a href="qt3drender-qpickevent.html">QPickEvent</a>.</p> <!-- @@@QPickLineEvent --> <!-- $$$QPickLineEvent$$$QPickLineEventconstQPointF&constQVector3D&constQVector3D&floatuintuintuintQt3DRender::QPickEvent::Buttonsintint --> <h3 class="fn" id="QPickLineEvent-1"><a name="QPickLineEvent-1"></a>QPickLineEvent::<span class="name">QPickLineEvent</span>(const <span class="type">QPointF</span> &<i>position</i>, const <span class="type">QVector3D</span> &<i>worldIntersection</i>, const <span class="type">QVector3D</span> &<i>localIntersection</i>, <span class="type">float</span> <i>distance</i>, <span class="type">uint</span> <i>edgeIndex</i>, <span class="type">uint</span> <i>vertex1Index</i>, <span class="type">uint</span> <i>vertex2Index</i>, <span class="type"><a href="qt3drender-qpickevent.html#Buttons-enum">Qt3DRender::QPickEvent::Buttons</a></span> <i>button</i>, <span class="type">int</span> <i>buttons</i>, <span class="type">int</span> <i>modifiers</i>)</h3> <p>Default constructs an instance of QPickLineEvent.</p><!-- @@@QPickLineEvent --> <!-- $$$edgeIndex --> <h3 class="fn" id="edgeIndex"><a name="edgeIndex"></a><span class="type">uint</span> QPickLineEvent::<span class="name">edgeIndex</span>() const</h3> <p><a href="qt3drender-qpicklineevent.html#edgeIndex-prop">QPickLineEvent::edgeIndex</a> Returns the index of the picked edge</p> <p><b>Note:</b> Getter function for property <a href="qt3drender-qpicklineevent.html#edgeIndex-prop">edgeIndex</a>. </p><!-- @@@edgeIndex --> <!-- $$$vertex1Index --> <h3 class="fn" id="vertex1Index"><a name="vertex1Index"></a><span class="type">uint</span> QPickLineEvent::<span class="name">vertex1Index</span>() const</h3> <p><a href="qt3drender-qpicklineevent.html#vertex1Index-prop">QPickLineEvent::vertex1Index</a> Returns the index of the first point of the picked edge</p> <p><b>Note:</b> Getter function for property <a href="qt3drender-qpicklineevent.html#vertex1Index-prop">vertex1Index</a>. </p><!-- @@@vertex1Index --> <!-- $$$vertex2Index --> <h3 class="fn" id="vertex2Index"><a name="vertex2Index"></a><span class="type">uint</span> QPickLineEvent::<span class="name">vertex2Index</span>() const</h3> <p><a href="qt3drender-qpicklineevent.html#vertex2Index-prop">QPickLineEvent::vertex2Index</a> Returns the index of the second point of the picked triangle</p> <p><b>Note:</b> Getter function for property <a href="qt3drender-qpicklineevent.html#vertex2Index-prop">vertex2Index</a>. </p><!-- @@@vertex2Index --> </div> </div> </div> </div> </div> </div> <div class="footer"> <p> <acronym title="Copyright">©</acronym> 2019 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners.<br/> The documentation provided herein is licensed under the terms of the <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation License version 1.3</a> as published by the Free Software Foundation.<br/> 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. </p> </div> </body> </html>