Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-updates > by-pkgid > 845e36bb3ecce380666d628d88446962 > files > 89

qtdatavis3d5-doc-5.12.6-1.mga7.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qabstract3dgraph.cpp -->
  <title>QAbstract3DGraph 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 >QAbstract3DGraph</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="#related-non-members">Related Non-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">QAbstract3DGraph Class</h1>
<!-- $$$QAbstract3DGraph-brief -->
<p>The <a href="qabstract3dgraph.html">QAbstract3DGraph</a> class provides a window and render loop for graphs. <a href="#details">More...</a></p>
<!-- @@@QAbstract3DGraph -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign">   <span class="preprocessor">#include &lt;QAbstract3DGraph&gt;</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"> Inherited By:</td><td class="memItemRight bottomAlign"> <p><a href="q3dbars.html">Q3DBars</a>, <a href="q3dscatter.html">Q3DScatter</a>, and <a href="q3dsurface.html">Q3DSurface</a></p>
</td></tr></table></div><ul>
<li><a href="qabstract3dgraph-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="qabstract3dgraph.html#ElementType-enum">ElementType</a></b> { ElementNone, ElementSeries, ElementAxisXLabel, ElementAxisYLabel, ElementAxisZLabel, ElementCustomItem }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#OptimizationHint-enum">OptimizationHint</a></b> { OptimizationDefault, OptimizationStatic }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> flags </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#OptimizationHint-enum">OptimizationHints</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#SelectionFlag-enum">SelectionFlag</a></b> { SelectionNone, SelectionItem, SelectionRow, SelectionItemAndRow, ..., SelectionMultiSeries }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> flags </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#SelectionFlag-enum">SelectionFlags</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#ShadowQuality-enum">ShadowQuality</a></b> { ShadowQualityNone, ShadowQualityLow, ShadowQualityMedium, ShadowQualityHigh, ..., ShadowQualitySoftHigh }</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="qabstract3dgraph.html#activeInputHandler-prop">activeInputHandler</a></b> : QAbstract3DInputHandler*</li>
<li class="fn"><b><a href="qabstract3dgraph.html#activeTheme-prop">activeTheme</a></b> : Q3DTheme*</li>
<li class="fn"><b><a href="qabstract3dgraph.html#aspectRatio-prop">aspectRatio</a></b> : qreal</li>
<li class="fn"><b><a href="qabstract3dgraph.html#currentFps-prop">currentFps</a></b> : const qreal</li>
<li class="fn"><b><a href="qabstract3dgraph.html#horizontalAspectRatio-prop">horizontalAspectRatio</a></b> : qreal</li>
<li class="fn"><b><a href="qabstract3dgraph.html#locale-prop">locale</a></b> : QLocale</li>
<li class="fn"><b><a href="qabstract3dgraph.html#margin-prop">margin</a></b> : qreal</li>
<li class="fn"><b><a href="qabstract3dgraph.html#measureFps-prop">measureFps</a></b> : bool</li>
<li class="fn"><b><a href="qabstract3dgraph.html#optimizationHints-prop">optimizationHints</a></b> : OptimizationHints</li>
<li class="fn"><b><a href="qabstract3dgraph.html#orthoProjection-prop">orthoProjection</a></b> : bool</li>
</ul></td><td class="topAlign"><ul>
<li class="fn"><b><a href="qabstract3dgraph.html#polar-prop">polar</a></b> : bool</li>
<li class="fn"><b><a href="qabstract3dgraph.html#queriedGraphPosition-prop">queriedGraphPosition</a></b> : const QVector3D</li>
<li class="fn"><b><a href="qabstract3dgraph.html#radialLabelOffset-prop">radialLabelOffset</a></b> : float</li>
<li class="fn"><b><a href="qabstract3dgraph.html#reflection-prop">reflection</a></b> : bool</li>
<li class="fn"><b><a href="qabstract3dgraph.html#reflectivity-prop">reflectivity</a></b> : qreal</li>
<li class="fn"><b><a href="qabstract3dgraph.html#scene-prop">scene</a></b> : Q3DScene* const</li>
<li class="fn"><b><a href="qabstract3dgraph.html#selectedElement-prop">selectedElement</a></b> : const ElementType</li>
<li class="fn"><b><a href="qabstract3dgraph.html#selectionMode-prop">selectionMode</a></b> : SelectionFlags</li>
<li class="fn"><b><a href="qabstract3dgraph.html#shadowQuality-prop">shadowQuality</a></b> : ShadowQuality</li>
</ul>
</td></tr>
</table></div>
<a name="public-functions"></a>
<h2 id="public-functions">Public Functions</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> virtual </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#dtor.QAbstract3DGraph">~QAbstract3DGraph</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QAbstract3DInputHandler *</td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#activeInputHandler-prop">activeInputHandler</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> Q3DTheme *</td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#activeTheme-prop">activeTheme</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#addCustomItem">addCustomItem</a></b>(QCustom3DItem *<i>item</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#addInputHandler">addInputHandler</a></b>(QAbstract3DInputHandler *<i>inputHandler</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#addTheme">addTheme</a></b>(Q3DTheme *<i>theme</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> qreal </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#aspectRatio-prop">aspectRatio</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#clearSelection">clearSelection</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> qreal </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#currentFps-prop">currentFps</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QList&lt;QCustom3DItem *&gt; </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#customItems">customItems</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#hasContext">hasContext</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> qreal </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#horizontalAspectRatio-prop">horizontalAspectRatio</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QList&lt;QAbstract3DInputHandler *&gt; </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#inputHandlers">inputHandlers</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#orthoProjection-prop">isOrthoProjection</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#polar-prop">isPolar</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#reflection-prop">isReflection</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QLocale </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#locale-prop">locale</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> qreal </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#margin-prop">margin</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#measureFps-prop">measureFps</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QAbstract3DGraph::OptimizationHints </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#optimizationHints-prop">optimizationHints</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QVector3D </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#queriedGraphPosition-prop">queriedGraphPosition</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> float </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#radialLabelOffset-prop">radialLabelOffset</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> qreal </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#reflectivity-prop">reflectivity</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#releaseCustomItem">releaseCustomItem</a></b>(QCustom3DItem *<i>item</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#releaseInputHandler">releaseInputHandler</a></b>(QAbstract3DInputHandler *<i>inputHandler</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#releaseTheme">releaseTheme</a></b>(Q3DTheme *<i>theme</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#removeCustomItem">removeCustomItem</a></b>(QCustom3DItem *<i>item</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#removeCustomItemAt">removeCustomItemAt</a></b>(const QVector3D &amp;<i>position</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#removeCustomItems">removeCustomItems</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QImage </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#renderToImage">renderToImage</a></b>(int <i>msaaSamples</i> = 0, const QSize &amp;<i>imageSize</i> = QSize())</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> Q3DScene *</td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#scene-prop">scene</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QAbstract3DAxis *</td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#selectedAxis">selectedAxis</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QCustom3DItem *</td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#selectedCustomItem">selectedCustomItem</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#selectedCustomItemIndex">selectedCustomItemIndex</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QAbstract3DGraph::ElementType </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#selectedElement-prop">selectedElement</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#selectedLabelIndex">selectedLabelIndex</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QAbstract3DGraph::SelectionFlags </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#selectionMode-prop">selectionMode</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#setActiveInputHandler">setActiveInputHandler</a></b>(QAbstract3DInputHandler *<i>inputHandler</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#setActiveTheme">setActiveTheme</a></b>(Q3DTheme *<i>theme</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#aspectRatio-prop">setAspectRatio</a></b>(qreal <i>ratio</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#horizontalAspectRatio-prop">setHorizontalAspectRatio</a></b>(qreal <i>ratio</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#locale-prop">setLocale</a></b>(const QLocale &amp;<i>locale</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#margin-prop">setMargin</a></b>(qreal <i>margin</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#measureFps-prop">setMeasureFps</a></b>(bool <i>enable</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#optimizationHints-prop">setOptimizationHints</a></b>(QAbstract3DGraph::OptimizationHints <i>hints</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#orthoProjection-prop">setOrthoProjection</a></b>(bool <i>enable</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#polar-prop">setPolar</a></b>(bool <i>enable</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#radialLabelOffset-prop">setRadialLabelOffset</a></b>(float <i>offset</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#reflection-prop">setReflection</a></b>(bool <i>enable</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#reflectivity-prop">setReflectivity</a></b>(qreal <i>reflectivity</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#selectionMode-prop">setSelectionMode</a></b>(QAbstract3DGraph::SelectionFlags <i>mode</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#shadowQuality-prop">setShadowQuality</a></b>(QAbstract3DGraph::ShadowQuality <i>quality</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QAbstract3DGraph::ShadowQuality </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#shadowQuality-prop">shadowQuality</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual bool </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#shadowsSupported">shadowsSupported</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QList&lt;Q3DTheme *&gt; </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#themes">themes</a></b>() const</td></tr>
</table></div>
<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="qabstract3dgraph.html#activeInputHandler-prop">activeInputHandlerChanged</a></b>(QAbstract3DInputHandler *<i>inputHandler</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#activeTheme-prop">activeThemeChanged</a></b>(Q3DTheme *<i>theme</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#aspectRatio-prop">aspectRatioChanged</a></b>(qreal <i>ratio</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#currentFps-prop">currentFpsChanged</a></b>(qreal <i>fps</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#horizontalAspectRatio-prop">horizontalAspectRatioChanged</a></b>(qreal <i>ratio</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#locale-prop">localeChanged</a></b>(const QLocale &amp;<i>locale</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#margin-prop">marginChanged</a></b>(qreal <i>margin</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#measureFps-prop">measureFpsChanged</a></b>(bool <i>enabled</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#optimizationHints-prop">optimizationHintsChanged</a></b>(QAbstract3DGraph::OptimizationHints <i>hints</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#orthoProjection-prop">orthoProjectionChanged</a></b>(bool <i>enabled</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#polar-prop">polarChanged</a></b>(bool <i>enabled</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#queriedGraphPosition-prop">queriedGraphPositionChanged</a></b>(const QVector3D &amp;<i>data</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#radialLabelOffset-prop">radialLabelOffsetChanged</a></b>(float <i>offset</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#reflection-prop">reflectionChanged</a></b>(bool <i>enabled</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#reflectivity-prop">reflectivityChanged</a></b>(qreal <i>reflectivity</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#selectedElement-prop">selectedElementChanged</a></b>(QAbstract3DGraph::ElementType <i>type</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#selectionMode-prop">selectionModeChanged</a></b>(QAbstract3DGraph::SelectionFlags <i>mode</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qabstract3dgraph.html#shadowQuality-prop">shadowQualityChanged</a></b>(QAbstract3DGraph::ShadowQuality <i>quality</i>)</td></tr>
</table></div>
<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="qabstract3dgraph.html#staticMetaObject-var">staticMetaObject</a></b></td></tr>
</table></div>
<a name="related-non-members"></a>
<h2 id="related-non-members">Related Non-Members</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>
<!-- $$$QAbstract3DGraph-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
<p>The <a href="qabstract3dgraph.html">QAbstract3DGraph</a> class provides a window and render loop for graphs.</p>
<p>This class subclasses a QWindow and provides render loop for graphs inheriting it.</p>
<p>You should not need to use this class directly, but one of its subclasses instead.</p>
<p>Anti-aliasing is turned on by default on C++, except in OpenGL ES2 environments, where anti-aliasing is not supported by Qt Data Visualization. To specify non-default anti-aliasing for a graph, give a custom surface format as a constructor parameter. You can use the convenience function <code>QtDataVisualization::qDefaultSurfaceFormat()</code> to create the surface format object.</p>
<p><b>Note: </b><a href="qabstract3dgraph.html">QAbstract3DGraph</a> sets window flag <code>Qt::FramelessWindowHint</code> on by default. If you want to display graph windows as standalone windows with regular window frame, clear this flag after constructing the graph. For example:</p><pre class="cpp">

  <span class="type"><a href="q3dbars.html">Q3DBars</a></span> <span class="operator">*</span>graphWindow <span class="operator">=</span> <span class="keyword">new</span> <span class="type"><a href="q3dbars.html">Q3DBars</a></span>;
  graphWindow<span class="operator">-</span><span class="operator">&gt;</span>setFlags(graphWindow<span class="operator">-</span><span class="operator">&gt;</span>flags() <span class="operator">^</span> <span class="type">Qt</span><span class="operator">::</span>FramelessWindowHint);

</pre>
</div>
<p><b>See also </b><a href="q3dbars.html">Q3DBars</a>, <a href="q3dscatter.html">Q3DScatter</a>, <a href="q3dsurface.html">Q3DSurface</a>, and <a href="qtdatavisualization-module.html">Qt Data Visualization C++ Classes</a>.</p>
<!-- @@@QAbstract3DGraph -->
<div class="types">
<h2>Member Type Documentation</h2>
<!-- $$$ElementType$$$ElementNone$$$ElementSeries$$$ElementAxisXLabel$$$ElementAxisYLabel$$$ElementAxisZLabel$$$ElementCustomItem -->
<h3 class="fn" id="ElementType-enum"><a name="ElementType-enum"></a>enum QAbstract3DGraph::<span class="name">ElementType</span></h3>
<p>Type of an element in the graph.</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>QAbstract3DGraph::ElementNone</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">No defined element.</td></tr>
<tr><td class="topAlign"><code>QAbstract3DGraph::ElementSeries</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">A series (that is, an item in a series).</td></tr>
<tr><td class="topAlign"><code>QAbstract3DGraph::ElementAxisXLabel</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign">The x-axis label.</td></tr>
<tr><td class="topAlign"><code>QAbstract3DGraph::ElementAxisYLabel</code></td><td class="topAlign tblval"><code>3</code></td><td class="topAlign">The y-axis label.</td></tr>
<tr><td class="topAlign"><code>QAbstract3DGraph::ElementAxisZLabel</code></td><td class="topAlign tblval"><code>4</code></td><td class="topAlign">The z-axis label.</td></tr>
<tr><td class="topAlign"><code>QAbstract3DGraph::ElementCustomItem</code></td><td class="topAlign tblval"><code>5</code></td><td class="topAlign">A custom item.</td></tr>
</table></div>
<p>This enum was introduced or modified in  QtDataVisualization 1.1.</p>
<!-- @@@ElementType -->
<!-- $$$OptimizationHint$$$OptimizationDefault$$$OptimizationStatic -->
<h3 class="flags" id="OptimizationHint-enum"><a name="OptimizationHint-enum"></a>enum QAbstract3DGraph::<span class="name">OptimizationHint</span><br/>flags QAbstract3DGraph::<span class="name">OptimizationHints</span></h3>
<p>The optimization hint for rendering.</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>QAbstract3DGraph::OptimizationDefault</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">Provides the full feature set at a reasonable performance.</td></tr>
<tr><td class="topAlign"><code>QAbstract3DGraph::OptimizationStatic</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">Optimizes the rendering of static data sets at the expense of some features.</td></tr>
</table></div>
<p>This enum was introduced or modified in  Qt Data Visualization 1.1.</p>
<p>The OptimizationHints type is a typedef for <a href="">QFlags</a>&lt;OptimizationHint&gt;. It stores an OR combination of OptimizationHint values.</p>
<!-- @@@OptimizationHint -->
<!-- $$$SelectionFlag$$$SelectionNone$$$SelectionItem$$$SelectionRow$$$SelectionItemAndRow$$$SelectionColumn$$$SelectionItemAndColumn$$$SelectionRowAndColumn$$$SelectionItemRowAndColumn$$$SelectionSlice$$$SelectionMultiSeries -->
<h3 class="flags" id="SelectionFlag-enum"><a name="SelectionFlag-enum"></a>enum QAbstract3DGraph::<span class="name">SelectionFlag</span><br/>flags QAbstract3DGraph::<span class="name">SelectionFlags</span></h3>
<p>Item selection modes. Values of this enumeration can be combined with 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>QAbstract3DGraph::SelectionNone</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">Selection mode disabled.</td></tr>
<tr><td class="topAlign"><code>QAbstract3DGraph::SelectionItem</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">Selection highlights a single item.</td></tr>
<tr><td class="topAlign"><code>QAbstract3DGraph::SelectionRow</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign">Selection highlights a single row.</td></tr>
<tr><td class="topAlign"><code>QAbstract3DGraph::SelectionItemAndRow</code></td><td class="topAlign tblval"><code>SelectionItem | SelectionRow</code></td><td class="topAlign">Combination flag for highlighting both item and row with different colors.</td></tr>
<tr><td class="topAlign"><code>QAbstract3DGraph::SelectionColumn</code></td><td class="topAlign tblval"><code>4</code></td><td class="topAlign">Selection highlights a single column.</td></tr>
<tr><td class="topAlign"><code>QAbstract3DGraph::SelectionItemAndColumn</code></td><td class="topAlign tblval"><code>SelectionItem | SelectionColumn</code></td><td class="topAlign">Combination flag for highlighting both item and column with different colors.</td></tr>
<tr><td class="topAlign"><code>QAbstract3DGraph::SelectionRowAndColumn</code></td><td class="topAlign tblval"><code>SelectionRow | SelectionColumn</code></td><td class="topAlign">Combination flag for highlighting both row and column.</td></tr>
<tr><td class="topAlign"><code>QAbstract3DGraph::SelectionItemRowAndColumn</code></td><td class="topAlign tblval"><code>SelectionItem | SelectionRow | SelectionColumn</code></td><td class="topAlign">Combination flag for highlighting item, row, and column.</td></tr>
<tr><td class="topAlign"><code>QAbstract3DGraph::SelectionSlice</code></td><td class="topAlign tblval"><code>8</code></td><td class="topAlign">Setting this mode flag indicates that the graph should take care of the slice view handling automatically. If you wish to control the slice view yourself via <a href="q3dscene.html">Q3DScene</a>, do not set this flag. When setting this mode flag, either <code>SelectionRow</code> or <code>SelectionColumn</code> must also be set, but not both. Slicing is supported by <a href="q3dbars.html">Q3DBars</a> and <a href="q3dsurface.html">Q3DSurface</a> only. When this flag is set, slice mode is entered in the following situations:<ul>
<li>When selection is changed explicitly via series API to a visible item</li>
<li>When selection is changed by clicking on the graph</li>
<li>When the selection mode changes and the selected item is visible</li>
</ul>
</td></tr>
<tr><td class="topAlign"><code>QAbstract3DGraph::SelectionMultiSeries</code></td><td class="topAlign tblval"><code>16</code></td><td class="topAlign">Setting this mode means that items for all series at same position are highlighted, instead of just the selected item. The actual selection in the other series doesn't change. Multi-series selection is not supported for <a href="q3dscatter.html">Q3DScatter</a>.</td></tr>
</table></div>
<p>The SelectionFlags type is a typedef for <a href="">QFlags</a>&lt;SelectionFlag&gt;. It stores an OR combination of SelectionFlag values.</p>
<!-- @@@SelectionFlag -->
<!-- $$$ShadowQuality$$$ShadowQualityNone$$$ShadowQualityLow$$$ShadowQualityMedium$$$ShadowQualityHigh$$$ShadowQualitySoftLow$$$ShadowQualitySoftMedium$$$ShadowQualitySoftHigh -->
<h3 class="fn" id="ShadowQuality-enum"><a name="ShadowQuality-enum"></a>enum QAbstract3DGraph::<span class="name">ShadowQuality</span></h3>
<p>Quality of shadows.</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>QAbstract3DGraph::ShadowQualityNone</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">Shadows are disabled.</td></tr>
<tr><td class="topAlign"><code>QAbstract3DGraph::ShadowQualityLow</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">Shadows are rendered in low quality.</td></tr>
<tr><td class="topAlign"><code>QAbstract3DGraph::ShadowQualityMedium</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign">Shadows are rendered in medium quality.</td></tr>
<tr><td class="topAlign"><code>QAbstract3DGraph::ShadowQualityHigh</code></td><td class="topAlign tblval"><code>3</code></td><td class="topAlign">Shadows are rendered in high quality.</td></tr>
<tr><td class="topAlign"><code>QAbstract3DGraph::ShadowQualitySoftLow</code></td><td class="topAlign tblval"><code>4</code></td><td class="topAlign">Shadows are rendered in low quality with softened edges.</td></tr>
<tr><td class="topAlign"><code>QAbstract3DGraph::ShadowQualitySoftMedium</code></td><td class="topAlign tblval"><code>5</code></td><td class="topAlign">Shadows are rendered in medium quality with softened edges.</td></tr>
<tr><td class="topAlign"><code>QAbstract3DGraph::ShadowQualitySoftHigh</code></td><td class="topAlign tblval"><code>6</code></td><td class="topAlign">Shadows are rendered in high quality with softened edges.</td></tr>
</table></div>
<!-- @@@ShadowQuality -->
</div>
<div class="prop">
<h2>Property Documentation</h2>
<!-- $$$activeInputHandler-prop$$$activeInputHandler$$$setActiveInputHandlerQAbstract3DInputHandler*$$$activeInputHandlerChangedQAbstract3DInputHandler* -->
<h3 class="fn" id="activeInputHandler-prop"><a name="activeInputHandler-prop"></a><span class="name">activeInputHandler</span> : <span class="type"><a href="qabstract3dinputhandler.html">QAbstract3DInputHandler</a></span>*</h3>
<p>This property holds the active input handler used in the graph.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QAbstract3DInputHandler *</td><td class="memItemRight bottomAlign"><span class="name"><b>activeInputHandler</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qabstract3dgraph.html#setActiveInputHandler">setActiveInputHandler</a></b></span>(QAbstract3DInputHandler *<i>inputHandler</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>activeInputHandlerChanged</b></span>(QAbstract3DInputHandler *<i>inputHandler</i>)</td></tr>
</table></div>
<!-- @@@activeInputHandler -->
<!-- $$$activeTheme-prop$$$activeTheme$$$setActiveThemeQ3DTheme*$$$activeThemeChangedQ3DTheme* -->
<h3 class="fn" id="activeTheme-prop"><a name="activeTheme-prop"></a><span class="name">activeTheme</span> : <span class="type"><a href="q3dtheme.html">Q3DTheme</a></span>*</h3>
<p>This property holds the active theme of the graph.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> Q3DTheme *</td><td class="memItemRight bottomAlign"><span class="name"><b>activeTheme</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qabstract3dgraph.html#setActiveTheme">setActiveTheme</a></b></span>(Q3DTheme *<i>theme</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>activeThemeChanged</b></span>(Q3DTheme *<i>theme</i>)</td></tr>
</table></div>
<!-- @@@activeTheme -->
<!-- $$$aspectRatio-prop$$$aspectRatio$$$setAspectRatioqreal$$$aspectRatioChangedqreal -->
<h3 class="fn" id="aspectRatio-prop"><a name="aspectRatio-prop"></a><span class="name">aspectRatio</span> : <span class="type">qreal</span></h3>
<p>This property holds the ratio of the graph scaling between the longest axis on the horizontal plane and the y-axis.</p>
<p>Defaults to <code>2.0</code>.</p>
<p><b>Note: </b>Has no effect on <a href="q3dbars.html">Q3DBars</a>.</p><p>This property was introduced in  QtDataVisualization 1.1.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> qreal </td><td class="memItemRight bottomAlign"><span class="name"><b>aspectRatio</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setAspectRatio</b></span>(qreal <i>ratio</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>aspectRatioChanged</b></span>(qreal <i>ratio</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="qabstract3dgraph.html#horizontalAspectRatio-prop">horizontalAspectRatio</a>.</p>
<!-- @@@aspectRatio -->
<!-- $$$currentFps-prop$$$currentFps$$$currentFpsChangedqreal -->
<h3 class="fn" id="currentFps-prop"><a name="currentFps-prop"></a><span class="name">currentFps</span> : const <span class="type">qreal</span></h3>
<p>This property holds the rendering results for the last second.</p>
<p>The results are stored in this read-only property when FPS measuring is enabled. It takes at least a second before this value is updated after measuring is activated.</p>
<p>This property was introduced in  QtDataVisualization 1.1.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> qreal </td><td class="memItemRight bottomAlign"><span class="name"><b>currentFps</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>currentFpsChanged</b></span>(qreal <i>fps</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="qabstract3dgraph.html#measureFps-prop">measureFps</a>.</p>
<!-- @@@currentFps -->
<!-- $$$horizontalAspectRatio-prop$$$horizontalAspectRatio$$$setHorizontalAspectRatioqreal$$$horizontalAspectRatioChangedqreal -->
<h3 class="fn" id="horizontalAspectRatio-prop"><a name="horizontalAspectRatio-prop"></a><span class="name">horizontalAspectRatio</span> : <span class="type">qreal</span></h3>
<p>This property holds the ratio of the graph scaling between the x-axis and z-axis.</p>
<p>The value of <code>0.0</code> indicates automatic scaling according to axis ranges. Defaults to <code>0.0</code>.</p>
<p>Has no effect on <a href="q3dbars.html">Q3DBars</a>, which handles scaling on the horizontal plane via the <a href="q3dbars.html#barThickness-prop">barThickness</a> and <a href="q3dbars.html#barSpacing-prop">barSpacing</a> properties. Polar graphs also ignore this property.</p>
<p>This property was introduced in  QtDataVisualization 1.2.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> qreal </td><td class="memItemRight bottomAlign"><span class="name"><b>horizontalAspectRatio</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setHorizontalAspectRatio</b></span>(qreal <i>ratio</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>horizontalAspectRatioChanged</b></span>(qreal <i>ratio</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="qabstract3dgraph.html#aspectRatio-prop">aspectRatio</a>, <a href="qabstract3dgraph.html#polar-prop">polar</a>, <a href="q3dbars.html#barThickness-prop">Q3DBars::barThickness</a>, and <a href="q3dbars.html#barSpacing-prop">Q3DBars::barSpacing</a>.</p>
<!-- @@@horizontalAspectRatio -->
<!-- $$$locale-prop$$$locale$$$setLocaleconstQLocale&$$$localeChangedconstQLocale& -->
<h3 class="fn" id="locale-prop"><a name="locale-prop"></a><span class="name">locale</span> : <span class="type">QLocale</span></h3>
<p>This property holds the locale used for formatting various numeric labels.</p>
<p>Defaults to the <code>&quot;C&quot;</code> locale.</p>
<p>This property was introduced in  QtDataVisualization 1.2.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QLocale </td><td class="memItemRight bottomAlign"><span class="name"><b>locale</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setLocale</b></span>(const QLocale &amp;<i>locale</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>localeChanged</b></span>(const QLocale &amp;<i>locale</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="qvalue3daxis.html#labelFormat-prop">QValue3DAxis::labelFormat</a>.</p>
<!-- @@@locale -->
<!-- $$$margin-prop$$$margin$$$setMarginqreal$$$marginChangedqreal -->
<h3 class="fn" id="margin-prop"><a name="margin-prop"></a><span class="name">margin</span> : <span class="type">qreal</span></h3>
<p>This property holds the absolute value used for the space left between the edge of the plottable graph area and the edge of the graph background.</p>
<p>If the margin value is negative, the margins are determined automatically and can vary according to the size of the items in the series and the type of the graph. The value is interpreted as a fraction of the y-axis range if the graph aspect ratios have not beed changed from the default values. Defaults to <code>-1.0</code>.</p>
<p><b>Note: </b>Setting a smaller margin for a scatter graph than the automatically determined margin can cause the scatter items at the edges of the graph to overlap with the graph background.</p><p><b>Note: </b>On scatter and surface graphs, if the margin is small in comparison to the axis label size, the positions of the edge labels of the axes are adjusted to avoid overlap with the edge labels of the neighboring axes.</p><p>This property was introduced in  QtDataVisualization 1.2.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> qreal </td><td class="memItemRight bottomAlign"><span class="name"><b>margin</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setMargin</b></span>(qreal <i>margin</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>marginChanged</b></span>(qreal <i>margin</i>)</td></tr>
</table></div>
<!-- @@@margin -->
<!-- $$$measureFps-prop$$$measureFps$$$setMeasureFpsbool$$$measureFpsChangedbool -->
<h3 class="fn" id="measureFps-prop"><a name="measureFps-prop"></a><span class="name">measureFps</span> : <span class="type">bool</span></h3>
<p>This property holds whether rendering is done continuously instead of on demand.</p>
<p>If <code>true</code>, rendering is continuous and the value of the <a href="qabstract3dgraph.html#currentFps-prop">currentFps</a> property is updated. Defaults to <code>false</code>.</p>
<p>This property was introduced in  QtDataVisualization 1.1.</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>measureFps</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setMeasureFps</b></span>(bool <i>enable</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>measureFpsChanged</b></span>(bool <i>enabled</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="qabstract3dgraph.html#currentFps-prop">currentFps</a>.</p>
<!-- @@@measureFps -->
<!-- $$$optimizationHints-prop$$$optimizationHints$$$setOptimizationHintsQAbstract3DGraph::OptimizationHints$$$optimizationHintsChangedQAbstract3DGraph::OptimizationHints -->
<h3 class="fn" id="optimizationHints-prop"><a name="optimizationHints-prop"></a><span class="name">optimizationHints</span> : <span class="type"><a href="qabstract3dgraph.html#OptimizationHint-enum">OptimizationHints</a></span></h3>
<p>This property holds whether the default or static mode is used for rendering optimization.</p>
<p>The default mode provides the full feature set at a reasonable level of performance. The static mode optimizes graph rendering and is ideal for large non-changing data sets. It is slower with dynamic data changes and item rotations. Selection is not optimized, so using the static mode with massive data sets is not advisable. Static optimization works only on scatter graphs. Defaults to <a href="qabstract3dgraph.html#OptimizationHint-enum">OptimizationDefault</a>.</p>
<p><b>Note: </b>On some environments, large graphs using static optimization may not render, because all of the items are rendered using a single draw call, and different graphics drivers support different maximum vertice counts per call. This is mostly an issue on 32bit and OpenGL ES2 platforms. To work around this issue, choose an item mesh with a low vertex count or use the point mesh.</p><p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QAbstract3DGraph::OptimizationHints </td><td class="memItemRight bottomAlign"><span class="name"><b>optimizationHints</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setOptimizationHints</b></span>(QAbstract3DGraph::OptimizationHints <i>hints</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>optimizationHintsChanged</b></span>(QAbstract3DGraph::OptimizationHints <i>hints</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="qabstract3dseries.html#mesh-prop">QAbstract3DSeries::mesh</a>.</p>
<!-- @@@optimizationHints -->
<!-- $$$orthoProjection-prop$$$isOrthoProjection$$$setOrthoProjectionbool$$$orthoProjectionChangedbool -->
<h3 class="fn" id="orthoProjection-prop"><a name="orthoProjection-prop"></a><span class="name">orthoProjection</span> : <span class="type">bool</span></h3>
<p>This property holds whether orthographic projection is used for displaying the graph.</p>
<p>If <code>true</code>, ortographic projection is used to create 2D graphs by replacing the default input handler with one that does not allow rotating the graph and by setting the camera to view the graph directly from the side or from the top. Also, axis labels typically need to be rotated when viewing the graph from the sides. Defaults to <code>false</code>.</p>
<p><b>Note: </b>Shadows will be disabled when set to <code>true</code>.</p><p>This property was introduced in  QtDataVisualization 1.1.</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>isOrthoProjection</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setOrthoProjection</b></span>(bool <i>enable</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>orthoProjectionChanged</b></span>(bool <i>enabled</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="qabstract3daxis.html#labelAutoRotation-prop">QAbstract3DAxis::labelAutoRotation</a> and <a href="q3dcamera.html#cameraPreset-prop">Q3DCamera::cameraPreset</a>.</p>
<!-- @@@orthoProjection -->
<!-- $$$polar-prop$$$isPolar$$$setPolarbool$$$polarChangedbool -->
<h3 class="fn" id="polar-prop"><a name="polar-prop"></a><span class="name">polar</span> : <span class="type">bool</span></h3>
<p>This property holds whether horizontal axes are changed into polar axes.</p>
<p>If <code>true</code>, the x-axis becomes the angular axis and the z-axis becomes the radial axis. Polar mode is not available for bar graphs.</p>
<p>Defaults to <code>false</code>.</p>
<p>This property was introduced in  QtDataVisualization 1.2.</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>isPolar</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setPolar</b></span>(bool <i>enable</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>polarChanged</b></span>(bool <i>enabled</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="qabstract3dgraph.html#orthoProjection-prop">orthoProjection</a> and <a href="qabstract3dgraph.html#radialLabelOffset-prop">radialLabelOffset</a>.</p>
<!-- @@@polar -->
<!-- $$$queriedGraphPosition-prop$$$queriedGraphPosition$$$queriedGraphPositionChangedconstQVector3D& -->
<h3 class="fn" id="queriedGraphPosition-prop"><a name="queriedGraphPosition-prop"></a><span class="name">queriedGraphPosition</span> : const <span class="type">QVector3D</span></h3>
<p>This property holds the latest queried graph position values along each axis.</p>
<p>This read-only property contains the results from <a href="q3dscene.html#graphPositionQuery-prop">Q3DScene::graphPositionQuery</a>. The values are normalized to the range <code>[-1, 1]</code>. If the queried position was outside the graph bounds, the values will not reflect the real position, but will instead indicate an undefined position outside the range <code>[-1, 1]</code>. The value will be undefined until a query is made.</p>
<p>There is no single correct 3D coordinate to match a particular screen position, so to be consistent, the queries are always done against the inner sides of an invisible box surrounding the graph.</p>
<p><b>Note: </b>Bar graphs only allow querying graph position at the graph floor level, so the y-value is always zero for bar graphs and the valid queries can be only made at screen positions that contain the floor of the graph.</p><p>This property was introduced in  QtDataVisualization 1.2.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QVector3D </td><td class="memItemRight bottomAlign"><span class="name"><b>queriedGraphPosition</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>queriedGraphPositionChanged</b></span>(const QVector3D &amp;<i>data</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="q3dscene.html#graphPositionQuery-prop">Q3DScene::graphPositionQuery</a>.</p>
<!-- @@@queriedGraphPosition -->
<!-- $$$radialLabelOffset-prop$$$radialLabelOffset$$$setRadialLabelOffsetfloat$$$radialLabelOffsetChangedfloat -->
<h3 class="fn" id="radialLabelOffset-prop"><a name="radialLabelOffset-prop"></a><span class="name">radialLabelOffset</span> : <span class="type">float</span></h3>
<p>This property holds the normalized horizontal offset for the axis labels of the radial polar axis.</p>
<p>The value <code>0.0</code> indicates that the labels should be drawn next to the 0-angle angular axis grid line. The value <code>1.0</code> indicates that the labels are drawn in their usual place at the edge of the graph background. Defaults to <code>1.0</code>.</p>
<p>This property is ignored if the <a href="qabstract3dgraph.html#polar-prop">polar</a> property value is <code>false</code>.</p>
<p>This property was introduced in  QtDataVisualization 1.2.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> float </td><td class="memItemRight bottomAlign"><span class="name"><b>radialLabelOffset</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setRadialLabelOffset</b></span>(float <i>offset</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>radialLabelOffsetChanged</b></span>(float <i>offset</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="qabstract3dgraph.html#polar-prop">polar</a>.</p>
<!-- @@@radialLabelOffset -->
<!-- $$$reflection-prop$$$isReflection$$$setReflectionbool$$$reflectionChangedbool -->
<h3 class="fn" id="reflection-prop"><a name="reflection-prop"></a><span class="name">reflection</span> : <span class="type">bool</span></h3>
<p>This property holds whether floor reflections are on or off.</p>
<p>Defaults to <code>false</code>.</p>
<p>Affects only <a href="q3dbars.html">Q3DBars</a>. However, in <a href="q3dbars.html">Q3DBars</a> graphs holding both positive and negative values, reflections are not supported for custom items that intersect the floor plane. In that case, reflections should be turned off to avoid incorrect rendering.</p>
<p>If using a custom surface format, the stencil buffer needs to be defined (QSurfaceFormat::setStencilBufferSize()) for reflections to work.</p>
<p>This property was introduced in  QtDataVisualization 1.2.</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>isReflection</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setReflection</b></span>(bool <i>enable</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>reflectionChanged</b></span>(bool <i>enabled</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="qabstract3dgraph.html#reflectivity-prop">reflectivity</a>.</p>
<!-- @@@reflection -->
<!-- $$$reflectivity-prop$$$reflectivity$$$setReflectivityqreal$$$reflectivityChangedqreal -->
<h3 class="fn" id="reflectivity-prop"><a name="reflectivity-prop"></a><span class="name">reflectivity</span> : <span class="type">qreal</span></h3>
<p>Floor reflectivity.</p>
<p>Larger numbers make the floor more reflective. The valid range is <code>[0..&#x2e;1]</code>. Defaults to <code>0.5</code>.</p>
<p><b>Note: </b>Affects only <a href="q3dbars.html">Q3DBars</a>.</p><p>This property was introduced in  QtDataVisualization 1.2.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> qreal </td><td class="memItemRight bottomAlign"><span class="name"><b>reflectivity</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setReflectivity</b></span>(qreal <i>reflectivity</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>reflectivityChanged</b></span>(qreal <i>reflectivity</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="qabstract3dgraph.html#reflection-prop">reflection</a>.</p>
<!-- @@@reflectivity -->
<!-- $$$scene-prop$$$scene -->
<h3 class="fn" id="scene-prop"><a name="scene-prop"></a><span class="name">scene</span> : <span class="type"><a href="q3dscene.html">Q3DScene</a></span>* const</h3>
<p>This property holds the <a href="q3dscene.html">Q3DScene</a> pointer that can be used to manipulate the scene and access the scene elements, such as the active camera.</p>
<p>This property is read-only.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> Q3DScene *</td><td class="memItemRight bottomAlign"><span class="name"><b>scene</b></span>() const</td></tr>
</table></div>
<!-- @@@scene -->
<!-- $$$selectedElement-prop$$$selectedElement$$$selectedElementChangedQAbstract3DGraph::ElementType -->
<h3 class="fn" id="selectedElement-prop"><a name="selectedElement-prop"></a><span class="name">selectedElement</span> : const <span class="type"><a href="qabstract3dgraph.html#ElementType-enum">ElementType</a></span></h3>
<p>This property holds the element selected in the graph.</p>
<p>This property can be used to query the selected element type. The type is valid until a new selection is made in the graph and the <code>selectedElementChanged</code> signal is emitted.</p>
<p>The signal can be used for example for implementing custom input handlers, as demonstrated by the <a href="qtdatavisualization-draggableaxes-example.html">Axis Range Dragging With Labels Example</a>.</p>
<p>This property was introduced in  QtDataVisualization 1.1.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QAbstract3DGraph::ElementType </td><td class="memItemRight bottomAlign"><span class="name"><b>selectedElement</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>selectedElementChanged</b></span>(QAbstract3DGraph::ElementType <i>type</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="qabstract3dgraph.html#selectedLabelIndex">selectedLabelIndex</a>(), <a href="qabstract3dgraph.html#selectedAxis">selectedAxis</a>(), <a href="qabstract3dgraph.html#selectedCustomItemIndex">selectedCustomItemIndex</a>(), <a href="qabstract3dgraph.html#selectedCustomItem">selectedCustomItem</a>(), <a href="q3dbars.html#selectedSeries-prop">Q3DBars::selectedSeries</a>(), <a href="q3dscatter.html#selectedSeries-prop">Q3DScatter::selectedSeries</a>(), <a href="q3dsurface.html#selectedSeries-prop">Q3DSurface::selectedSeries</a>(), and <a href="q3dscene.html#selectionQueryPosition-prop">Q3DScene::setSelectionQueryPosition</a>().</p>
<!-- @@@selectedElement -->
<!-- $$$selectionMode-prop$$$selectionMode$$$setSelectionModeQAbstract3DGraph::SelectionFlags$$$selectionModeChangedQAbstract3DGraph::SelectionFlags -->
<h3 class="fn" id="selectionMode-prop"><a name="selectionMode-prop"></a><span class="name">selectionMode</span> : <span class="type"><a href="qabstract3dgraph.html#SelectionFlag-enum">SelectionFlags</a></span></h3>
<p>Item selection mode.</p>
<p>A combination of <a href="qabstract3dgraph.html#SelectionFlag-enum">SelectionFlags</a>. By default, <code>SelectionItem</code>. Different graph types support different selection modes.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QAbstract3DGraph::SelectionFlags </td><td class="memItemRight bottomAlign"><span class="name"><b>selectionMode</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setSelectionMode</b></span>(QAbstract3DGraph::SelectionFlags <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>selectionModeChanged</b></span>(QAbstract3DGraph::SelectionFlags <i>mode</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="qabstract3dgraph.html#SelectionFlag-enum">SelectionFlags</a>.</p>
<!-- @@@selectionMode -->
<!-- $$$shadowQuality-prop$$$shadowQuality$$$setShadowQualityQAbstract3DGraph::ShadowQuality$$$shadowQualityChangedQAbstract3DGraph::ShadowQuality -->
<h3 class="fn" id="shadowQuality-prop"><a name="shadowQuality-prop"></a><span class="name">shadowQuality</span> : <span class="type"><a href="qabstract3dgraph.html#ShadowQuality-enum">ShadowQuality</a></span></h3>
<p>This property holds the quality of the shadow.</p>
<p>One of the <a href="qabstract3dgraph.html#ShadowQuality-enum">ShadowQuality</a> enum values. By default, <code>ShadowQualityMedium</code>.</p>
<p><b>Note: </b>If setting the shadow quality to a certain level fails, the level is lowered until it is successfully set. The <code>shadowQualityChanged</code> signal is emitted each time a change is made.</p><p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QAbstract3DGraph::ShadowQuality </td><td class="memItemRight bottomAlign"><span class="name"><b>shadowQuality</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setShadowQuality</b></span>(QAbstract3DGraph::ShadowQuality <i>quality</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>shadowQualityChanged</b></span>(QAbstract3DGraph::ShadowQuality <i>quality</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="qabstract3dgraph.html#ShadowQuality-enum">ShadowQuality</a>.</p>
<!-- @@@shadowQuality -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$~QAbstract3DGraph[overload1]$$$~QAbstract3DGraph -->
<h3 class="fn" id="dtor.QAbstract3DGraph"><a name="dtor.QAbstract3DGraph"></a><code>[virtual] </code>QAbstract3DGraph::<span class="name">~QAbstract3DGraph</span>()</h3>
<p>Destroys <a href="qabstract3dgraph.html">QAbstract3DGraph</a>.</p>
<!-- @@@~QAbstract3DGraph -->
<!-- $$$addCustomItem[overload1]$$$addCustomItemQCustom3DItem* -->
<h3 class="fn" id="addCustomItem"><a name="addCustomItem"></a><span class="type">int</span> QAbstract3DGraph::<span class="name">addCustomItem</span>(<span class="type"><a href="qcustom3ditem.html">QCustom3DItem</a></span> *<i>item</i>)</h3>
<p>Adds a <a href="qcustom3ditem.html">QCustom3DItem</a> <i>item</i> to the graph. Graph takes ownership of the added item.</p>
<p>Returns the index to the added item if the add operation was successful, -1 if trying to add a null item, and the index of the item if trying to add an already added item.</p>
<p>Items are rendered in the order they have been inserted. The rendering order needs to be taken into account when having solid and transparent items.</p>
<p>This function was introduced in  QtDataVisualization 1.1.</p>
<p><b>See also </b><a href="qabstract3dgraph.html#removeCustomItems">removeCustomItems</a>(), <a href="qabstract3dgraph.html#removeCustomItem">removeCustomItem</a>(), <a href="qabstract3dgraph.html#removeCustomItemAt">removeCustomItemAt</a>(), and <a href="qabstract3dgraph.html#customItems">customItems</a>().</p>
<!-- @@@addCustomItem -->
<!-- $$$addInputHandler[overload1]$$$addInputHandlerQAbstract3DInputHandler* -->
<h3 class="fn" id="addInputHandler"><a name="addInputHandler"></a><span class="type">void</span> QAbstract3DGraph::<span class="name">addInputHandler</span>(<span class="type"><a href="qabstract3dinputhandler.html">QAbstract3DInputHandler</a></span> *<i>inputHandler</i>)</h3>
<p>Adds the given <i>inputHandler</i> to the graph. The input handlers added via addInputHandler are not taken in to use directly. Only the ownership of the <i>inputHandler</i> is given to the graph. The <i>inputHandler</i> must not be null or already added to another graph.</p>
<p><b>See also </b><a href="qabstract3dgraph.html#releaseInputHandler">releaseInputHandler</a>() and <a href="qabstract3dgraph.html#setActiveInputHandler">setActiveInputHandler</a>().</p>
<!-- @@@addInputHandler -->
<!-- $$$addTheme[overload1]$$$addThemeQ3DTheme* -->
<h3 class="fn" id="addTheme"><a name="addTheme"></a><span class="type">void</span> QAbstract3DGraph::<span class="name">addTheme</span>(<span class="type"><a href="q3dtheme.html">Q3DTheme</a></span> *<i>theme</i>)</h3>
<p>Adds the given <i>theme</i> to the graph. The themes added via addTheme are not taken in to use directly. Only the ownership of the theme is given to the graph. The <i>theme</i> must not be null or already added to another graph.</p>
<p><b>See also </b><a href="qabstract3dgraph.html#releaseTheme">releaseTheme</a>() and <a href="qabstract3dgraph.html#setActiveTheme">setActiveTheme</a>().</p>
<!-- @@@addTheme -->
<!-- $$$clearSelection[overload1]$$$clearSelection -->
<h3 class="fn" id="clearSelection"><a name="clearSelection"></a><span class="type">void</span> QAbstract3DGraph::<span class="name">clearSelection</span>()</h3>
<p>Clears selection from all attached series.</p>
<!-- @@@clearSelection -->
<!-- $$$customItems[overload1]$$$customItems -->
<h3 class="fn" id="customItems"><a name="customItems"></a><span class="type">QList</span>&lt;<span class="type"><a href="qcustom3ditem.html">QCustom3DItem</a></span> *&gt; QAbstract3DGraph::<span class="name">customItems</span>() const</h3>
<p>Returns the list of all added custom items.</p>
<p>This function was introduced in  QtDataVisualization 1.2.</p>
<p><b>See also </b><a href="qabstract3dgraph.html#addCustomItem">addCustomItem</a>().</p>
<!-- @@@customItems -->
<!-- $$$hasContext[overload1]$$$hasContext -->
<h3 class="fn" id="hasContext"><a name="hasContext"></a><span class="type">bool</span> QAbstract3DGraph::<span class="name">hasContext</span>() const</h3>
<p>Returns <code>true</code> if the OpenGL context of the graph has been successfully initialized. Trying to use a graph when the context initialization has failed typically results in a crash. A common reason for a context initialization failure is lack of sufficient platform support for OpenGL.</p>
<!-- @@@hasContext -->
<!-- $$$inputHandlers[overload1]$$$inputHandlers -->
<h3 class="fn" id="inputHandlers"><a name="inputHandlers"></a><span class="type">QList</span>&lt;<span class="type"><a href="qabstract3dinputhandler.html">QAbstract3DInputHandler</a></span> *&gt; QAbstract3DGraph::<span class="name">inputHandlers</span>() const</h3>
<p>Returns the list of all added input handlers.</p>
<p><b>See also </b><a href="qabstract3dgraph.html#addInputHandler">addInputHandler</a>().</p>
<!-- @@@inputHandlers -->
<!-- $$$releaseCustomItem[overload1]$$$releaseCustomItemQCustom3DItem* -->
<h3 class="fn" id="releaseCustomItem"><a name="releaseCustomItem"></a><span class="type">void</span> QAbstract3DGraph::<span class="name">releaseCustomItem</span>(<span class="type"><a href="qcustom3ditem.html">QCustom3DItem</a></span> *<i>item</i>)</h3>
<p>Gets ownership of given <i>item</i> back and removes the <i>item</i> from the graph.</p>
<p><b>Note: </b>If the same item is added back to the graph, the texture or the texture file needs to be re-set.</p><p>This function was introduced in  QtDataVisualization 1.1.</p>
<p><b>See also </b><a href="qcustom3ditem.html#setTextureImage">QCustom3DItem::setTextureImage</a>() and <a href="qcustom3ditem.html#textureFile-prop">QCustom3DItem::setTextureFile</a>().</p>
<!-- @@@releaseCustomItem -->
<!-- $$$releaseInputHandler[overload1]$$$releaseInputHandlerQAbstract3DInputHandler* -->
<h3 class="fn" id="releaseInputHandler"><a name="releaseInputHandler"></a><span class="type">void</span> QAbstract3DGraph::<span class="name">releaseInputHandler</span>(<span class="type"><a href="qabstract3dinputhandler.html">QAbstract3DInputHandler</a></span> *<i>inputHandler</i>)</h3>
<p>Releases the ownership of the <i>inputHandler</i> back to the caller, if it was added to this graph. If the released <i>inputHandler</i> is in use there will be no input handler active after this call.</p>
<p>If the default input handler is released and added back later, it behaves as any other input handler would.</p>
<p><b>See also </b><a href="qabstract3dgraph.html#addInputHandler">addInputHandler</a>() and <a href="qabstract3dgraph.html#setActiveInputHandler">setActiveInputHandler</a>().</p>
<!-- @@@releaseInputHandler -->
<!-- $$$releaseTheme[overload1]$$$releaseThemeQ3DTheme* -->
<h3 class="fn" id="releaseTheme"><a name="releaseTheme"></a><span class="type">void</span> QAbstract3DGraph::<span class="name">releaseTheme</span>(<span class="type"><a href="q3dtheme.html">Q3DTheme</a></span> *<i>theme</i>)</h3>
<p>Releases the ownership of the <i>theme</i> back to the caller, if it was added to this graph. If the released <i>theme</i> is in use, a new default theme will be created and set active.</p>
<p>If the default theme is released and added back later, it behaves as any other theme would.</p>
<p><b>See also </b><a href="qabstract3dgraph.html#addTheme">addTheme</a>() and <a href="qabstract3dgraph.html#setActiveTheme">setActiveTheme</a>().</p>
<!-- @@@releaseTheme -->
<!-- $$$removeCustomItem[overload1]$$$removeCustomItemQCustom3DItem* -->
<h3 class="fn" id="removeCustomItem"><a name="removeCustomItem"></a><span class="type">void</span> QAbstract3DGraph::<span class="name">removeCustomItem</span>(<span class="type"><a href="qcustom3ditem.html">QCustom3DItem</a></span> *<i>item</i>)</h3>
<p>Removes the custom <i>item</i>. Deletes the resources allocated to it.</p>
<p>This function was introduced in  QtDataVisualization 1.1.</p>
<!-- @@@removeCustomItem -->
<!-- $$$removeCustomItemAt[overload1]$$$removeCustomItemAtconstQVector3D& -->
<h3 class="fn" id="removeCustomItemAt"><a name="removeCustomItemAt"></a><span class="type">void</span> QAbstract3DGraph::<span class="name">removeCustomItemAt</span>(const <span class="type">QVector3D</span> &amp;<i>position</i>)</h3>
<p>Removes all custom items at <i>position</i>. Deletes the resources allocated to them.</p>
<p>This function was introduced in  QtDataVisualization 1.1.</p>
<!-- @@@removeCustomItemAt -->
<!-- $$$removeCustomItems[overload1]$$$removeCustomItems -->
<h3 class="fn" id="removeCustomItems"><a name="removeCustomItems"></a><span class="type">void</span> QAbstract3DGraph::<span class="name">removeCustomItems</span>()</h3>
<p>Removes all custom items. Deletes the resources allocated to them.</p>
<p>This function was introduced in  QtDataVisualization 1.1.</p>
<!-- @@@removeCustomItems -->
<!-- $$$renderToImage[overload1]$$$renderToImageintconstQSize& -->
<h3 class="fn" id="renderToImage"><a name="renderToImage"></a><span class="type">QImage</span> QAbstract3DGraph::<span class="name">renderToImage</span>(<span class="type">int</span> <i>msaaSamples</i> = 0, const <span class="type">QSize</span> &amp;<i>imageSize</i> = QSize())</h3>
<p>Renders current frame to an image of <i>imageSize</i>. Default size is the window size. Image is rendered with antialiasing level given in <i>msaaSamples</i>. Default level is <code>0</code>.</p>
<p>Returns the rendered image.</p>
<p><b>Note: </b>OpenGL ES2 does not support anitialiasing, so <i>msaaSamples</i> is always forced to <code>0</code>.</p><p>This function was introduced in  QtDataVisualization 1.1.</p>
<!-- @@@renderToImage -->
<!-- $$$selectedAxis[overload1]$$$selectedAxis -->
<h3 class="fn" id="selectedAxis"><a name="selectedAxis"></a><span class="type"><a href="qabstract3daxis.html">QAbstract3DAxis</a></span> *QAbstract3DGraph::<span class="name">selectedAxis</span>() const</h3>
<p>Can be used to get the selected axis after receiving <code>selectedElementChanged</code> signal with any label type. Selection is valid until the next <code>selectedElementChanged</code> signal.</p>
<p>Returns the pointer to the selected axis, or null.</p>
<p>This function was introduced in  QtDataVisualization 1.1.</p>
<p><b>See also </b><a href="qabstract3dgraph.html#selectedElement-prop">selectedElement</a>.</p>
<!-- @@@selectedAxis -->
<!-- $$$selectedCustomItem[overload1]$$$selectedCustomItem -->
<h3 class="fn" id="selectedCustomItem"><a name="selectedCustomItem"></a><span class="type"><a href="qcustom3ditem.html">QCustom3DItem</a></span> *QAbstract3DGraph::<span class="name">selectedCustomItem</span>() const</h3>
<p>Can be used to get the selected custom item after receiving <code>selectedElementChanged</code> signal with <a href="qabstract3dgraph.html#ElementType-enum">QAbstract3DGraph::ElementCustomItem</a> type. Ownership of the item remains with the graph. Selection is valid until the next <code>selectedElementChanged</code> signal.</p>
<p>Returns the pointer to the selected custom item, or null.</p>
<p>This function was introduced in  QtDataVisualization 1.1.</p>
<p><b>See also </b><a href="qabstract3dgraph.html#selectedElement-prop">selectedElement</a>.</p>
<!-- @@@selectedCustomItem -->
<!-- $$$selectedCustomItemIndex[overload1]$$$selectedCustomItemIndex -->
<h3 class="fn" id="selectedCustomItemIndex"><a name="selectedCustomItemIndex"></a><span class="type">int</span> QAbstract3DGraph::<span class="name">selectedCustomItemIndex</span>() const</h3>
<p>Can be used to query the index of the selected custom item after receiving <code>selectedElementChanged</code> signal with <a href="qabstract3dgraph.html#ElementType-enum">QAbstract3DGraph::ElementCustomItem</a> type. Selection is valid until the next <code>selectedElementChanged</code> signal.</p>
<p>Returns the index of the selected custom item, or -1.</p>
<p>This function was introduced in  QtDataVisualization 1.1.</p>
<p><b>See also </b><a href="qabstract3dgraph.html#selectedElement-prop">selectedElement</a>.</p>
<!-- @@@selectedCustomItemIndex -->
<!-- $$$selectedLabelIndex[overload1]$$$selectedLabelIndex -->
<h3 class="fn" id="selectedLabelIndex"><a name="selectedLabelIndex"></a><span class="type">int</span> QAbstract3DGraph::<span class="name">selectedLabelIndex</span>() const</h3>
<p>Can be used to query the index of the selected label after receiving <code>selectedElementChanged</code> signal with any label type. Selection is valid until the next <code>selectedElementChanged</code> signal.</p>
<p>Returns the index of the selected label, or -1.</p>
<p>This function was introduced in  QtDataVisualization 1.1.</p>
<p><b>See also </b><a href="qabstract3dgraph.html#selectedElement-prop">selectedElement</a>.</p>
<!-- @@@selectedLabelIndex -->
<!-- $$$setActiveInputHandler -->
<h3 class="fn" id="setActiveInputHandler"><a name="setActiveInputHandler"></a><span class="type">void</span> QAbstract3DGraph::<span class="name">setActiveInputHandler</span>(<span class="type"><a href="qabstract3dinputhandler.html">QAbstract3DInputHandler</a></span> *<i>inputHandler</i>)</h3>
<p>Sets <i>inputHandler</i> as the active input handler used in the graph. Implicitly calls <a href="qabstract3dgraph.html#addInputHandler">addInputHandler</a>() to transfer ownership of <i>inputHandler</i> to this graph.</p>
<p>If <i>inputHandler</i> is null, no input handler will be active after this call.</p>
<p><b>Note:</b> Setter function for property <a href="qabstract3dgraph.html#activeInputHandler-prop">activeInputHandler</a>. </p><p><b>See also </b><a href="qabstract3dgraph.html#activeInputHandler-prop">activeInputHandler</a>(), <a href="qabstract3dgraph.html#addInputHandler">addInputHandler</a>(), and <a href="qabstract3dgraph.html#releaseInputHandler">releaseInputHandler</a>().</p>
<!-- @@@setActiveInputHandler -->
<!-- $$$setActiveTheme -->
<h3 class="fn" id="setActiveTheme"><a name="setActiveTheme"></a><span class="type">void</span> QAbstract3DGraph::<span class="name">setActiveTheme</span>(<span class="type"><a href="q3dtheme.html">Q3DTheme</a></span> *<i>theme</i>)</h3>
<p>Sets <i>theme</i> as the active theme to be used for the graph. Implicitly calls <a href="qabstract3dgraph.html#addTheme">addTheme</a>() to transfer the ownership of the theme to this graph.</p>
<p>If <i>theme</i> is null, a temporary default theme is created. This temporary theme is destroyed if any theme is explicitly set later. Properties of the theme can be modified even after setting it, and the modifications take effect immediately.</p>
<p><b>Note:</b> Setter function for property <a href="qabstract3dgraph.html#activeTheme-prop">activeTheme</a>. </p><p><b>See also </b><a href="qabstract3dgraph.html#activeTheme-prop">activeTheme</a>().</p>
<!-- @@@setActiveTheme -->
<!-- $$$shadowsSupported[overload1]$$$shadowsSupported -->
<h3 class="fn" id="shadowsSupported"><a name="shadowsSupported"></a><code>[virtual] </code><span class="type">bool</span> QAbstract3DGraph::<span class="name">shadowsSupported</span>() const</h3>
<p>Returns <code>true</code> if shadows are supported with the current configuration. OpenGL ES2 configurations do not support shadows.</p>
<!-- @@@shadowsSupported -->
<!-- $$$themes[overload1]$$$themes -->
<h3 class="fn" id="themes"><a name="themes"></a><span class="type">QList</span>&lt;<span class="type"><a href="q3dtheme.html">Q3DTheme</a></span> *&gt; QAbstract3DGraph::<span class="name">themes</span>() const</h3>
<p>Returns the list of all added themes.</p>
<p><b>See also </b><a href="qabstract3dgraph.html#addTheme">addTheme</a>().</p>
<!-- @@@themes -->
</div>
<div class="relnonmem">
<h2>Related Non-Members</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 &lt;QtDataVisualization/qutils.h&gt;</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 &lt;QtDataVisualization/qutils.h&gt;</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">&copy;</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>