<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- qtdatavisualization.qdoc --> <title>QtDataVisualization Namespace | 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 >QtDataVisualization Namespace</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="#functions">Functions</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">QtDataVisualization Namespace</h1> <!-- $$$QtDataVisualization-brief --> <p>Contains the classes and enumerations in the Qt Data Visualization module. <a href="#details">More...</a></p> <!-- @@@QtDataVisualization --> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> <span class="preprocessor">#include <QtDataVisualization></span> </td></tr></table></div><ul> </ul> <a name="functions"></a> <h2 id="functions">Functions</h2> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> QSurfaceFormat </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#qDefaultSurfaceFormat">qDefaultSurfaceFormat</a></b>(bool <i>antialias</i>)</td></tr> </table></div> <a name="details"></a> <!-- $$$QtDataVisualization-description --> <div class="descr"> <h2 id="details">Detailed Description</h2> <p>Contains the classes and enumerations in the Qt Data Visualization module.</p> <div class="table"><table class="annotated"> <tr class="odd topAlign"><td class="tblName"><p><a href="q3dbars.html">Q3DBars</a></p></td><td class="tblDescr"><p>Methods for rendering 3D bar graphs</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="q3dcamera.html">Q3DCamera</a></p></td><td class="tblDescr"><p>Representation of a camera in 3D space</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="q3dinputhandler.html">Q3DInputHandler</a></p></td><td class="tblDescr"><p>Basic wheel mouse based input handler</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="q3dlight.html">Q3DLight</a></p></td><td class="tblDescr"><p>Representation of a light source in 3D space</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="q3dobject.html">Q3DObject</a></p></td><td class="tblDescr"><p>Simple base class for all the objects in a 3D scene</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="q3dscatter.html">Q3DScatter</a></p></td><td class="tblDescr"><p>Methods for rendering 3D scatter graphs</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="q3dscene.html">Q3DScene</a></p></td><td class="tblDescr"><p>Description of the 3D scene being visualized</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="q3dsurface.html">Q3DSurface</a></p></td><td class="tblDescr"><p>Methods for rendering 3D surface plots</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="q3dtheme.html">Q3DTheme</a></p></td><td class="tblDescr"><p>Visual style for graphs</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qabstract3daxis.html">QAbstract3DAxis</a></p></td><td class="tblDescr"><p>Base class for the axes of a graph</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qabstract3dgraph.html">QAbstract3DGraph</a></p></td><td class="tblDescr"><p>Window and render loop for graphs</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qabstract3dinputhandler.html">QAbstract3DInputHandler</a></p></td><td class="tblDescr"><p>Base class for implementations of input handlers</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qabstract3dseries.html">QAbstract3DSeries</a></p></td><td class="tblDescr"><p>Base class for all data series</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qabstractdataproxy.html">QAbstractDataProxy</a></p></td><td class="tblDescr"><p>Base class for all data visualization data proxies</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qbar3dseries.html">QBar3DSeries</a></p></td><td class="tblDescr"><p>Represents a data series in a 3D bar graph</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qbardataitem.html">QBarDataItem</a></p></td><td class="tblDescr"><p>Container for resolved data to be added to bar graphs</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qbardataproxy.html">QBarDataProxy</a></p></td><td class="tblDescr"><p>The data proxy for a 3D bars graph</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qcategory3daxis.html">QCategory3DAxis</a></p></td><td class="tblDescr"><p>Manipulates an axis of a graph</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qcustom3ditem.html">QCustom3DItem</a></p></td><td class="tblDescr"><p>Adds a custom item to a graph</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qcustom3dlabel.html">QCustom3DLabel</a></p></td><td class="tblDescr"><p>Adds a custom label to a graph</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qcustom3dvolume.html">QCustom3DVolume</a></p></td><td class="tblDescr"><p>Adds a volume rendered object to a graph</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qheightmapsurfacedataproxy.html">QHeightMapSurfaceDataProxy</a></p></td><td class="tblDescr"><p>Base proxy class for Q3DSurface</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qitemmodelbardataproxy.html">QItemModelBarDataProxy</a></p></td><td class="tblDescr"><p>Proxy class for presenting data in item models with Q3DBars</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qitemmodelscatterdataproxy.html">QItemModelScatterDataProxy</a></p></td><td class="tblDescr"><p>Proxy class for presenting data in item models with Q3DScatter</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qitemmodelsurfacedataproxy.html">QItemModelSurfaceDataProxy</a></p></td><td class="tblDescr"><p>Proxy class for presenting data in item models with Q3DSurface</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qlogvalue3daxisformatter.html">QLogValue3DAxisFormatter</a></p></td><td class="tblDescr"><p>Formatting rules for a logarithmic value axis</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qscatter3dseries.html">QScatter3DSeries</a></p></td><td class="tblDescr"><p>Represents a data series in a 3D scatter graph</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qscatterdataitem.html">QScatterDataItem</a></p></td><td class="tblDescr"><p>Container for resolved data to be added to scatter graphs</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qscatterdataproxy.html">QScatterDataProxy</a></p></td><td class="tblDescr"><p>The data proxy for 3D scatter graphs</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qsurface3dseries.html">QSurface3DSeries</a></p></td><td class="tblDescr"><p>Represents a data series in a 3D surface graph</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qsurfacedataitem.html">QSurfaceDataItem</a></p></td><td class="tblDescr"><p>Container for resolved data to be added to surface graphs</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qsurfacedataproxy.html">QSurfaceDataProxy</a></p></td><td class="tblDescr"><p>The data proxy for a 3D surface graph</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qtouch3dinputhandler.html">QTouch3DInputHandler</a></p></td><td class="tblDescr"><p>Basic touch display based input handler</p></td></tr> <tr class="even topAlign"><td class="tblName"><p><a href="qvalue3daxis.html">QValue3DAxis</a></p></td><td class="tblDescr"><p>Manipulates an axis of a graph</p></td></tr> <tr class="odd topAlign"><td class="tblName"><p><a href="qvalue3daxisformatter.html">QValue3DAxisFormatter</a></p></td><td class="tblDescr"><p>Base class for value axis formatters</p></td></tr> </table></div> </div> <!-- @@@QtDataVisualization --> <div class="func"> <h2>Function Documentation</h2> <!-- $$$qDefaultSurfaceFormat[overload1]$$$qDefaultSurfaceFormatbool --> <h3 class="fn" id="qDefaultSurfaceFormat"><a name="qDefaultSurfaceFormat"></a><span class="type">QSurfaceFormat</span> QtDataVisualization::<span class="name">qDefaultSurfaceFormat</span>(<span class="type">bool</span> <i>antialias</i>)</h3> <p>This convenience function can be used to create a custom surface format suitable for use by Qt Data Visualization graphs.</p> <p>The <i>antialias</i> parameter specifies whether or not antialiasing is activated.</p> <p>Give the surface format returned by this function to the graph constructor (C++) or set it as the window format for QQuickView (QML) before calling <code>show()</code> on it.</p> <p>For example, disable antialiasing on C++ application:</p> <pre class="cpp"> <span class="preprocessor">#include <QtDataVisualization/qutils.h></span> <span class="comment">// ...</span> <span class="type"><a href="q3dbars.html">Q3DBars</a></span> <span class="operator">*</span>graph <span class="operator">=</span> <span class="keyword">new</span> <span class="type"><a href="q3dbars.html">Q3DBars</a></span>(<span class="type">QtDataVisualization</span><span class="operator">::</span>qDefaultSurfaceFormat(<span class="keyword">false</span>)); </pre> <p>For example, enable antialiasing for direct rendering modes on QML application:</p> <pre class="cpp"> <span class="preprocessor">#include <QtDataVisualization/qutils.h></span> <span class="comment">// ...</span> <span class="type">QQuickView</span> viewer; viewer<span class="operator">.</span>setFormat(<span class="type">QtDataVisualization</span><span class="operator">::</span>qDefaultSurfaceFormat()); </pre> <p><b>Note: </b>Antialiasing is not supported in OpenGL ES2 environments.</p><!-- @@@qDefaultSurfaceFormat --> </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>