<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- qsurface3dseries.cpp --> <title>Surface3DSeries QML Type | Qt Data Visualization 5.12.2</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="qtdatavisualization-index.html">Qt Data Visualization</a></td><td ><a href="qtdatavisualization-qmlmodule.html">QML Types</a></td><td >Surface3DSeries QML Type</td></tr></table><table class="buildversion"><tr> <td id="buildversion" width="100%" align="right"><a href="qtdatavisualization-index.html">Qt Data Visualization | Commercial or GPLv3</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="#details">Detailed Description</a></li> </ul> </div> <div class="sidebar-content" id="sidebar-content"></div></div> <h1 class="title">Surface3DSeries QML Type</h1> <span class="subtitle"></span> <!-- $$$Surface3DSeries-brief --> <p>Represents a data series in a 3D surface graph. <a href="#details">More...</a></p> <!-- @@@Surface3DSeries --> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import QtDataVisualization 1.2</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Since:</td><td class="memItemRight bottomAlign"> QtDataVisualization 1.0</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Instantiates:</td><td class="memItemRight bottomAlign"> <a href="qml-qtdatavisualization-surface3dseries.html"><a href="qsurface3dseries.html">QSurface3DSeries</a></td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <p><a href="qml-qtdatavisualization-abstract3dseries.html">Abstract3DSeries</a></p> </td></tr></table></div><ul> <li><a href="qml-qtdatavisualization-surface3dseries-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><b><a href="qml-qtdatavisualization-surface3dseries.html#dataProxy-prop">dataProxy</a></b></b> : SurfaceDataProxy</li> <li class="fn"><b><b><a href="qml-qtdatavisualization-surface3dseries.html#drawMode-prop">drawMode</a></b></b> : DrawFlag</li> <li class="fn"><b><b><a href="qml-qtdatavisualization-surface3dseries.html#flatShadingEnabled-prop">flatShadingEnabled</a></b></b> : bool</li> <li class="fn"><b><b><a href="qml-qtdatavisualization-surface3dseries.html#flatShadingSupported-prop">flatShadingSupported</a></b></b> : bool</li> <li class="fn"><b><b><a href="qml-qtdatavisualization-surface3dseries.html#invalidSelectionPosition-prop">invalidSelectionPosition</a></b></b> : point</li> <li class="fn"><b><b><a href="qml-qtdatavisualization-surface3dseries.html#selectedPoint-prop">selectedPoint</a></b></b> : point</li> <li class="fn"><b><b><a href="qml-qtdatavisualization-surface3dseries.html#textureFile-prop">textureFile</a></b></b> : string</li> </ul> <!-- $$$Surface3DSeries-description --> <a name="details"></a> <h2 id="details">Detailed Description</h2> <p>This type manages the series specific visual elements, as well as the series data (via a data proxy).</p> <p>For a more complete description, see <a href="qsurface3dseries.html">QSurface3DSeries</a>.</p> <p><b>See also </b><a href="qtdatavisualization-data-handling.html">Qt Data Visualization Data Handling</a>.</p> <!-- @@@Surface3DSeries --> <h2>Property Documentation</h2> <!-- $$$dataProxy --> <div class="qmlitem"><div class="qmlproto"> <div class="table"><table class="qmlname"> <tr valign="top" class="odd" id="dataProxy-prop"> <td class="tblQmlPropNode"><p> <a name="dataProxy-prop"></a><span class="name">dataProxy</span> : <span class="type"><a href="qml-qtdatavisualization-surfacedataproxy.html">SurfaceDataProxy</a></span></p></td></tr> </table></div> </div><div class="qmldoc"><p>The active data proxy. The series assumes ownership of any proxy set to it and deletes any previously set proxy when a new one is added. The proxy cannot be null or set to another series.</p> </div></div><!-- @@@dataProxy --> <br/> <!-- $$$drawMode --> <div class="qmlitem"><div class="qmlproto"> <div class="table"><table class="qmlname"> <tr valign="top" class="odd" id="drawMode-prop"> <td class="tblQmlPropNode"><p> <a name="drawMode-prop"></a><span class="name">drawMode</span> : <span class="type">DrawFlag</span></p></td></tr> </table></div> </div><div class="qmldoc"><p>Sets the drawing mode to one of <a href="qsurface3dseries.html#DrawFlag-enum">Surface3DSeries.DrawFlag</a>. Clearing all flags is not allowed.</p> </div></div><!-- @@@drawMode --> <br/> <!-- $$$flatShadingEnabled --> <div class="qmlitem"><div class="qmlproto"> <div class="table"><table class="qmlname"> <tr valign="top" class="odd" id="flatShadingEnabled-prop"> <td class="tblQmlPropNode"><p> <a name="flatShadingEnabled-prop"></a><span class="name">flatShadingEnabled</span> : <span class="type">bool</span></p></td></tr> </table></div> </div><div class="qmldoc"><p>Sets surface flat shading to enabled. It is preset to <code>true</code> by default. When disabled, the normals on the surface are interpolated making the edges look round. When enabled, the normals are kept the same on a triangle making the color of the triangle solid. This makes the data more readable from the model.</p> <p><b>Note: </b>Flat shaded surfaces require at least GLSL version 1.2 with GL_EXT_gpu_shader4 extension. The value of the <a href="qml-qtdatavisualization-surface3dseries.html#flatShadingSupported-prop">flatShadingSupported</a> property indicates whether flat shading is supported at runtime.</p></div></div><!-- @@@flatShadingEnabled --> <br/> <!-- $$$flatShadingSupported --> <div class="qmlitem"><div class="qmlproto"> <div class="table"><table class="qmlname"> <tr valign="top" class="odd" id="flatShadingSupported-prop"> <td class="tblQmlPropNode"><p> <a name="flatShadingSupported-prop"></a><span class="name">flatShadingSupported</span> : <span class="type">bool</span></p></td></tr> </table></div> </div><div class="qmldoc"><p>Indicates whether flat shading for surfaces is supported by the current system. It requires at least GLSL version 1.2 with GL_EXT_gpu_shader4 extension.</p> <p><b>Note: </b>This read-only property is set to its correct value after the first render pass. Until then it is always <code>true</code>.</p></div></div><!-- @@@flatShadingSupported --> <br/> <!-- $$$invalidSelectionPosition --> <div class="qmlitem"><div class="qmlproto"> <div class="table"><table class="qmlname"> <tr valign="top" class="odd" id="invalidSelectionPosition-prop"> <td class="tblQmlPropNode"><p> <a name="invalidSelectionPosition-prop"></a><span class="name">invalidSelectionPosition</span> : <span class="type">point</span></p></td></tr> </table></div> </div><div class="qmldoc"><p>A constant property providing an invalid selection position. This position is set to the <a href="qml-qtdatavisualization-surface3dseries.html#selectedPoint-prop">selectedPoint</a> property to clear the selection from this series.</p> <p><b>See also </b><a href="qml-qtdatavisualization-abstractgraph3d.html#clearSelection-method">AbstractGraph3D::clearSelection()</a>.</p> </div></div><!-- @@@invalidSelectionPosition --> <br/> <!-- $$$selectedPoint --> <div class="qmlitem"><div class="qmlproto"> <div class="table"><table class="qmlname"> <tr valign="top" class="odd" id="selectedPoint-prop"> <td class="tblQmlPropNode"><p> <a name="selectedPoint-prop"></a><span class="name">selectedPoint</span> : <span class="type">point</span></p></td></tr> </table></div> </div><div class="qmldoc"><p>Sets the surface grid point in the position specified by a row and a column in the data array of the series as selected. Only one point can be selected at a time.</p> <p>To clear selection from this series, <a href="qml-qtdatavisualization-surface3dseries.html#invalidSelectionPosition-prop">invalidSelectionPosition</a> is set as the position. If this series is added to a graph, the graph can adjust the selection according to user interaction or if it becomes invalid.</p> <p>Removing rows from or inserting rows to the series before the row of the selected point will adjust the selection so that the same point will stay selected.</p> <p><b>See also </b><a href="qml-qtdatavisualization-abstractgraph3d.html#clearSelection-method">AbstractGraph3D::clearSelection()</a>.</p> </div></div><!-- @@@selectedPoint --> <br/> <!-- $$$textureFile --> <div class="qmlitem"><div class="qmlproto"> <div class="table"><table class="qmlname"> <tr valign="top" class="odd" id="textureFile-prop"> <td class="tblQmlPropNode"><p> <a name="textureFile-prop"></a><span class="name">textureFile</span> : <span class="type">string</span></p></td></tr> </table></div> </div><div class="qmldoc"><p>The texture file name for the surface texture. To clear the texture, an empty file name is set.</p> </div></div><!-- @@@textureFile --> <br/> </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>