<?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>QSurface3DSeries Class | Qt Data Visualization 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="qtdatavisualization-index.html">Qt Data Visualization</a></td><td ><a href="qtdatavisualization-module.html">C++ Classes</a></td><td >QSurface3DSeries</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="#public-types">Public Types</a></li> <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="#signals">Signals</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">QSurface3DSeries Class</h1> <!-- $$$QSurface3DSeries-brief --> <p>The <a href="qsurface3dseries.html">QSurface3DSeries</a> class represents a data series in a 3D surface graph. <a href="#details">More...</a></p> <!-- @@@QSurface3DSeries --> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> <span class="preprocessor">#include <QSurface3DSeries></span> </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"> Instantiated By:</td><td class="memItemRight bottomAlign"> <a href="qml-qtdatavisualization-surface3dseries.html">Surface3DSeries</a></td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <a href="qabstract3dseries.html">QAbstract3DSeries</a></td></tr></table></div><ul> <li><a href="qsurface3dseries-members.html">List of all members, including inherited members</a></li> </ul> <a name="public-types"></a> <h2 id="public-types">Public Types</h2> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qsurface3dseries.html#DrawFlag-enum">DrawFlag</a></b> { DrawWireframe, DrawSurface, DrawSurfaceAndWireframe }</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> flags </td><td class="memItemRight bottomAlign"><b><a href="qsurface3dseries.html#DrawFlag-enum">DrawFlags</a></b></td></tr> </table></div> <a name="properties"></a> <h2 id="properties">Properties</h2> <div class="table"><table class="propsummary"> <tr><td class="topAlign"><ul> <li class="fn"><b><a href="qsurface3dseries.html#dataProxy-prop">dataProxy</a></b> : QSurfaceDataProxy*</li> <li class="fn"><b><a href="qsurface3dseries.html#drawMode-prop">drawMode</a></b> : DrawFlags</li> <li class="fn"><b><a href="qsurface3dseries.html#flatShadingEnabled-prop">flatShadingEnabled</a></b> : bool</li> <li class="fn"><b><a href="qsurface3dseries.html#flatShadingSupported-prop">flatShadingSupported</a></b> : const bool</li> </ul></td><td class="topAlign"><ul> <li class="fn"><b><a href="qsurface3dseries.html#selectedPoint-prop">selectedPoint</a></b> : QPoint</li> <li class="fn"><b><a href="qsurface3dseries.html#texture-prop">texture</a></b> : QImage</li> <li class="fn"><b><a href="qsurface3dseries.html#textureFile-prop">textureFile</a></b> : QString</li> </ul> </td></tr> </table></div> <ul> <li class="fn">17 properties inherited from <a href="qabstract3dseries.html#properties">QAbstract3DSeries</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="qsurface3dseries.html#QSurface3DSeries">QSurface3DSeries</a></b>(QObject *<i>parent</i> = nullptr)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qsurface3dseries.html#QSurface3DSeries-1">QSurface3DSeries</a></b>(QSurfaceDataProxy *<i>dataProxy</i>, QObject *<i>parent</i> = nullptr)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> virtual </td><td class="memItemRight bottomAlign"><b><a href="qsurface3dseries.html#dtor.QSurface3DSeries">~QSurface3DSeries</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> QSurfaceDataProxy *</td><td class="memItemRight bottomAlign"><b><a href="qsurface3dseries.html#dataProxy-prop">dataProxy</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> QSurface3DSeries::DrawFlags </td><td class="memItemRight bottomAlign"><b><a href="qsurface3dseries.html#drawMode-prop">drawMode</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qsurface3dseries.html#flatShadingEnabled-prop">isFlatShadingEnabled</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qsurface3dseries.html#flatShadingSupported-prop">isFlatShadingSupported</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> QPoint </td><td class="memItemRight bottomAlign"><b><a href="qsurface3dseries.html#selectedPoint-prop">selectedPoint</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qsurface3dseries.html#dataProxy-prop">setDataProxy</a></b>(QSurfaceDataProxy *<i>proxy</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qsurface3dseries.html#drawMode-prop">setDrawMode</a></b>(QSurface3DSeries::DrawFlags <i>mode</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qsurface3dseries.html#flatShadingEnabled-prop">setFlatShadingEnabled</a></b>(bool <i>enabled</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qsurface3dseries.html#setSelectedPoint">setSelectedPoint</a></b>(const QPoint &<i>position</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qsurface3dseries.html#texture-prop">setTexture</a></b>(const QImage &<i>texture</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qsurface3dseries.html#textureFile-prop">setTextureFile</a></b>(const QString &<i>filename</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> QImage </td><td class="memItemRight bottomAlign"><b><a href="qsurface3dseries.html#texture-prop">texture</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qsurface3dseries.html#textureFile-prop">textureFile</a></b>() const</td></tr> </table></div> <ul> <li class="fn">33 public functions inherited from <a href="qabstract3dseries.html#public-functions">QAbstract3DSeries</a></li> </ul> <a name="signals"></a> <h2 id="signals">Signals</h2> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qsurface3dseries.html#dataProxy-prop">dataProxyChanged</a></b>(QSurfaceDataProxy *<i>proxy</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qsurface3dseries.html#drawMode-prop">drawModeChanged</a></b>(QSurface3DSeries::DrawFlags <i>mode</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qsurface3dseries.html#flatShadingEnabled-prop">flatShadingEnabledChanged</a></b>(bool <i>enable</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qsurface3dseries.html#flatShadingSupported-prop">flatShadingSupportedChanged</a></b>(bool <i>enable</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qsurface3dseries.html#selectedPoint-prop">selectedPointChanged</a></b>(const QPoint &<i>position</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qsurface3dseries.html#texture-prop">textureChanged</a></b>(const QImage &<i>image</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qsurface3dseries.html#textureFile-prop">textureFileChanged</a></b>(const QString &<i>filename</i>)</td></tr> </table></div> <ul> <li class="fn">16 signals inherited from <a href="qabstract3dseries.html#signals">QAbstract3DSeries</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"> QPoint </td><td class="memItemRight bottomAlign"><b><a href="qsurface3dseries.html#invalidSelectionPosition">invalidSelectionPosition</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> const QMetaObject </td><td class="memItemRight bottomAlign"><b><a href="qsurface3dseries.html#staticMetaObject-var">staticMetaObject</a></b></td></tr> </table></div> <a name="details"></a> <!-- $$$QSurface3DSeries-description --> <div class="descr"> <h2 id="details">Detailed Description</h2> <p>The <a href="qsurface3dseries.html">QSurface3DSeries</a> class represents a data series in a 3D surface graph.</p> <p>This class manages the series specific visual elements, as well as the series data (via a data proxy).</p> <p>If no data proxy is set explicitly for the series, the series creates a default proxy. Setting another proxy will destroy the existing proxy and all data added to it.</p> <p>The object mesh set via the <a href="qabstract3dseries.html#mesh-prop">QAbstract3DSeries::mesh</a> property defines the selection pointer shape in a surface series.</p> <p><a href="qsurface3dseries.html">QSurface3DSeries</a> supports the following format tags for <a href="qabstract3dseries.html#itemLabelFormat-prop">QAbstract3DSeries::setItemLabelFormat</a>():</p> <div class="table"><table class="generic"> <tr valign="top" class="odd"><td >@xTitle</td><td >Title from x-axis</td></tr> <tr valign="top" class="even"><td >@yTitle</td><td >Title from y-axis</td></tr> <tr valign="top" class="odd"><td >@zTitle</td><td >Title from z-axis</td></tr> <tr valign="top" class="even"><td >@xLabel</td><td >Item value formatted using the format of the x-axis. For more information, see <a href="qvalue3daxis.html#labelFormat-prop">QValue3DAxis::setLabelFormat</a>().</td></tr> <tr valign="top" class="odd"><td >@yLabel</td><td >Item value formatted using the format of the y-axis. For more information, see <a href="qvalue3daxis.html#labelFormat-prop">QValue3DAxis::setLabelFormat</a>().</td></tr> <tr valign="top" class="even"><td >@zLabel</td><td >Item value formatted using the format of the z-axis. For more information, see <a href="qvalue3daxis.html#labelFormat-prop">QValue3DAxis::setLabelFormat</a>().</td></tr> <tr valign="top" class="odd"><td >@seriesName</td><td >Name of the series</td></tr> </table></div> <p>For example:</p> <pre class="cpp"> proxy<span class="operator">-</span><span class="operator">></span>setItemLabelFormat(<span class="type">QStringLiteral</span>(<span class="string">"@valueTitle for (@rowLabel, @colLabel): %.1f"</span>)); </pre> </div> <p><b>See also </b><a href="qtdatavisualization-data-handling.html">Qt Data Visualization Data Handling</a>.</p> <!-- @@@QSurface3DSeries --> <div class="types"> <h2>Member Type Documentation</h2> <!-- $$$DrawFlag$$$DrawWireframe$$$DrawSurface$$$DrawSurfaceAndWireframe --> <h3 class="flags" id="DrawFlag-enum"><a name="DrawFlag-enum"></a>enum QSurface3DSeries::<span class="name">DrawFlag</span><br/>flags QSurface3DSeries::<span class="name">DrawFlags</span></h3> <p>The drawing mode of the surface. Values of this enumeration can be combined with the OR operator.</p> <div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr> <tr><td class="topAlign"><code>QSurface3DSeries::DrawWireframe</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">Only the grid is drawn.</td></tr> <tr><td class="topAlign"><code>QSurface3DSeries::DrawSurface</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign">Only the surface is drawn.</td></tr> <tr><td class="topAlign"><code>QSurface3DSeries::DrawSurfaceAndWireframe</code></td><td class="topAlign tblval"><code>DrawWireframe | DrawSurface</code></td><td class="topAlign">Both the surface and grid are drawn.</td></tr> </table></div> <p>The DrawFlags type is a typedef for <a href="">QFlags</a><DrawFlag>. It stores an OR combination of DrawFlag values.</p> <!-- @@@DrawFlag --> </div> <div class="prop"> <h2>Property Documentation</h2> <!-- $$$dataProxy-prop$$$dataProxy$$$setDataProxyQSurfaceDataProxy*$$$dataProxyChangedQSurfaceDataProxy* --> <h3 class="fn" id="dataProxy-prop"><a name="dataProxy-prop"></a><span class="name">dataProxy</span> : <span class="type"><a href="qsurfacedataproxy.html">QSurfaceDataProxy</a></span>*</h3> <p>This property holds the active data proxy.</p> <p>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> <p><b>Access functions:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> QSurfaceDataProxy *</td><td class="memItemRight bottomAlign"><span class="name"><b>dataProxy</b></span>() const</td></tr> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setDataProxy</b></span>(QSurfaceDataProxy *<i>proxy</i>)</td></tr> </table></div> <p><b>Notifier signal:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>dataProxyChanged</b></span>(QSurfaceDataProxy *<i>proxy</i>)</td></tr> </table></div> <!-- @@@dataProxy --> <!-- $$$drawMode-prop$$$drawMode$$$setDrawModeQSurface3DSeries::DrawFlags$$$drawModeChangedQSurface3DSeries::DrawFlags --> <h3 class="fn" id="drawMode-prop"><a name="drawMode-prop"></a><span class="name">drawMode</span> : <span class="type"><a href="qsurface3dseries.html#DrawFlag-enum">DrawFlags</a></span></h3> <p>The drawing mode.</p> <p>Possible values are the values of <a href="qsurface3dseries.html#DrawFlag-enum">DrawFlag</a>. Clearing all flags is not allowed.</p> <p><b>Access functions:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> QSurface3DSeries::DrawFlags </td><td class="memItemRight bottomAlign"><span class="name"><b>drawMode</b></span>() const</td></tr> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setDrawMode</b></span>(QSurface3DSeries::DrawFlags <i>mode</i>)</td></tr> </table></div> <p><b>Notifier signal:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>drawModeChanged</b></span>(QSurface3DSeries::DrawFlags <i>mode</i>)</td></tr> </table></div> <!-- @@@drawMode --> <!-- $$$flatShadingEnabled-prop$$$isFlatShadingEnabled$$$setFlatShadingEnabledbool$$$flatShadingEnabledChangedbool --> <h3 class="fn" id="flatShadingEnabled-prop"><a name="flatShadingEnabled-prop"></a><span class="name">flatShadingEnabled</span> : <span class="type">bool</span></h3> <p>This property holds whether surface flat shading is enabled.</p> <p>Preset to <code>true</code> by default.</p> <p>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="qsurface3dseries.html#flatShadingSupported-prop">flatShadingSupported</a> property indicates whether flat shading is supported at runtime.</p><p><b>Access functions:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> bool </td><td class="memItemRight bottomAlign"><span class="name"><b>isFlatShadingEnabled</b></span>() const</td></tr> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setFlatShadingEnabled</b></span>(bool <i>enabled</i>)</td></tr> </table></div> <p><b>Notifier signal:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>flatShadingEnabledChanged</b></span>(bool <i>enable</i>)</td></tr> </table></div> <!-- @@@flatShadingEnabled --> <!-- $$$flatShadingSupported-prop$$$isFlatShadingSupported$$$flatShadingSupportedChangedbool --> <h3 class="fn" id="flatShadingSupported-prop"><a name="flatShadingSupported-prop"></a><span class="name">flatShadingSupported</span> : const <span class="type">bool</span></h3> <p>This property holds whether surface flat shading is supported by the current system.</p> <p>Flat shading for surfaces requires at least GLSL version 1.2 with GL_EXT_gpu_shader4 extension. If <code>true</code>, flat shading for surfaces is supported.</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><p><b>Access functions:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> bool </td><td class="memItemRight bottomAlign"><span class="name"><b>isFlatShadingSupported</b></span>() const</td></tr> </table></div> <p><b>Notifier signal:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>flatShadingSupportedChanged</b></span>(bool <i>enable</i>)</td></tr> </table></div> <!-- @@@flatShadingSupported --> <!-- $$$selectedPoint-prop$$$selectedPoint$$$setSelectedPointconstQPoint&$$$selectedPointChangedconstQPoint& --> <h3 class="fn" id="selectedPoint-prop"><a name="selectedPoint-prop"></a><span class="name">selectedPoint</span> : <span class="type">QPoint</span></h3> <p>This property holds the surface grid point that is selected in the series.</p> <p><b>Access functions:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> QPoint </td><td class="memItemRight bottomAlign"><span class="name"><b>selectedPoint</b></span>() const</td></tr> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qsurface3dseries.html#setSelectedPoint">setSelectedPoint</a></b></span>(const QPoint &<i>position</i>)</td></tr> </table></div> <p><b>Notifier signal:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>selectedPointChanged</b></span>(const QPoint &<i>position</i>)</td></tr> </table></div> <!-- @@@selectedPoint --> <!-- $$$texture-prop$$$texture$$$setTextureconstQImage&$$$textureChangedconstQImage& --> <h3 class="fn" id="texture-prop"><a name="texture-prop"></a><span class="name">texture</span> : <span class="type">QImage</span></h3> <p>This property holds the texture for the surface as a QImage.</p> <p>Setting an empty QImage clears the texture.</p> <p><b>Access functions:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> QImage </td><td class="memItemRight bottomAlign"><span class="name"><b>texture</b></span>() const</td></tr> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setTexture</b></span>(const QImage &<i>texture</i>)</td></tr> </table></div> <p><b>Notifier signal:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>textureChanged</b></span>(const QImage &<i>image</i>)</td></tr> </table></div> <!-- @@@texture --> <!-- $$$textureFile-prop$$$textureFile$$$setTextureFileconstQString&$$$textureFileChangedconstQString& --> <h3 class="fn" id="textureFile-prop"><a name="textureFile-prop"></a><span class="name">textureFile</span> : <span class="type">QString</span></h3> <p>This property holds the texture for the surface as a file.</p> <p>Setting an empty file name clears the texture.</p> <p><b>Access functions:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> QString </td><td class="memItemRight bottomAlign"><span class="name"><b>textureFile</b></span>() const</td></tr> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setTextureFile</b></span>(const QString &<i>filename</i>)</td></tr> </table></div> <p><b>Notifier signal:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>textureFileChanged</b></span>(const QString &<i>filename</i>)</td></tr> </table></div> <!-- @@@textureFile --> </div> <div class="func"> <h2>Member Function Documentation</h2> <!-- $$$QSurface3DSeries[overload1]$$$QSurface3DSeriesQObject* --> <h3 class="fn" id="QSurface3DSeries"><a name="QSurface3DSeries"></a>QSurface3DSeries::<span class="name">QSurface3DSeries</span>(<span class="type">QObject</span> *<i>parent</i> = nullptr)</h3> <p>Constructs a surface 3D series with the parent <i>parent</i>.</p> <!-- @@@QSurface3DSeries --> <!-- $$$QSurface3DSeries$$$QSurface3DSeriesQSurfaceDataProxy*QObject* --> <h3 class="fn" id="QSurface3DSeries-1"><a name="QSurface3DSeries-1"></a>QSurface3DSeries::<span class="name">QSurface3DSeries</span>(<span class="type"><a href="qsurfacedataproxy.html">QSurfaceDataProxy</a></span> *<i>dataProxy</i>, <span class="type">QObject</span> *<i>parent</i> = nullptr)</h3> <p>Constructs a surface 3D series with the data proxy <i>dataProxy</i> and the parent <i>parent</i>.</p> <!-- @@@QSurface3DSeries --> <!-- $$$~QSurface3DSeries[overload1]$$$~QSurface3DSeries --> <h3 class="fn" id="dtor.QSurface3DSeries"><a name="dtor.QSurface3DSeries"></a><code>[virtual] </code>QSurface3DSeries::<span class="name">~QSurface3DSeries</span>()</h3> <p>Deletes the surface 3D series.</p> <!-- @@@~QSurface3DSeries --> <!-- $$$invalidSelectionPosition[overload1]$$$invalidSelectionPosition --> <h3 class="fn" id="invalidSelectionPosition"><a name="invalidSelectionPosition"></a><code>[static] </code><span class="type">QPoint</span> QSurface3DSeries::<span class="name">invalidSelectionPosition</span>()</h3> <p>Returns the QPoint signifying an invalid selection position. This is set to the <a href="qsurface3dseries.html#selectedPoint-prop">selectedPoint</a> property to clear the selection from this series.</p> <p><b>See also </b><a href="qabstract3dgraph.html#clearSelection">QAbstract3DGraph::clearSelection</a>().</p> <!-- @@@invalidSelectionPosition --> <!-- $$$setSelectedPoint --> <h3 class="fn" id="setSelectedPoint"><a name="setSelectedPoint"></a><span class="type">void</span> QSurface3DSeries::<span class="name">setSelectedPoint</span>(const <span class="type">QPoint</span> &<i>position</i>)</h3> <p>Selects a surface grid point at the position <i>position</i> in the data array of the series specified by a row and a column.</p> <p>Only one point can be selected at a time.</p> <p>To clear selection from this series, <a href="qsurface3dseries.html#invalidSelectionPosition">invalidSelectionPosition</a>() is set as <i>position</i>. 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>Note:</b> Setter function for property <a href="qsurface3dseries.html#selectedPoint-prop">selectedPoint</a>. </p><p><b>See also </b><a href="qsurface3dseries.html#selectedPoint-prop">selectedPoint</a>() and <a href="qabstract3dgraph.html#clearSelection">QAbstract3DGraph::clearSelection</a>().</p> <!-- @@@setSelectedPoint --> </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>