Sophie

Sophie

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

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" />
<!-- q3dscene.cpp -->
  <title>Scene3D QML Type | 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-qmlmodule.html">QML Types</a></td><td >Scene3D QML Type</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right"><a href="qtdatavisualization-index.html">Qt Data Visualization | Commercial or GPLv3</a></td>
        </tr></table>
      </div>
    </div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#properties">Properties</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">Scene3D QML Type</h1>
<span class="subtitle"></span>
<!-- $$$Scene3D-brief -->
<p><a href="qml-qtdatavisualization-scene3d.html">Scene3D</a> type provides description of the 3D scene being visualized. <a href="#details">More...</a></p>
<!-- @@@Scene3D -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import QtDataVisualization 1.2</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Since:</td><td class="memItemRight bottomAlign">  QtDataVisualization 1.0</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Instantiates:</td><td class="memItemRight bottomAlign"> <a href="qml-qtdatavisualization-scene3d.html"><a href="q3dscene.html">Q3DScene</a></td></tr></table></div><ul>
<li><a href="qml-qtdatavisualization-scene3d-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="properties"></a>
<h2 id="properties">Properties</h2>
<ul>
<li class="fn"><b><b><a href="qml-qtdatavisualization-scene3d.html#activeCamera-prop">activeCamera</a></b></b> : Camera3D</li>
<li class="fn"><b><b><a href="qml-qtdatavisualization-scene3d.html#activeLight-prop">activeLight</a></b></b> : Light3D</li>
<li class="fn"><b><b><a href="qml-qtdatavisualization-scene3d.html#devicePixelRatio-prop">devicePixelRatio</a></b></b> : float</li>
<li class="fn"><b><b><a href="qml-qtdatavisualization-scene3d.html#graphPositionQuery-prop">graphPositionQuery</a></b></b> : point</li>
<li class="fn"><b><b><a href="qml-qtdatavisualization-scene3d.html#invalidSelectionPoint-prop">invalidSelectionPoint</a></b></b> : point</li>
<li class="fn"><b><b><a href="qml-qtdatavisualization-scene3d.html#primarySubViewport-prop">primarySubViewport</a></b></b> : rect</li>
<li class="fn"><b><b><a href="qml-qtdatavisualization-scene3d.html#secondarySubViewport-prop">secondarySubViewport</a></b></b> : rect</li>
<li class="fn"><b><b><a href="qml-qtdatavisualization-scene3d.html#secondarySubviewOnTop-prop">secondarySubviewOnTop</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-qtdatavisualization-scene3d.html#selectionQueryPosition-prop">selectionQueryPosition</a></b></b> : point</li>
<li class="fn"><b><b><a href="qml-qtdatavisualization-scene3d.html#slicingActive-prop">slicingActive</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-qtdatavisualization-scene3d.html#viewport-prop">viewport</a></b></b> : rect</li>
</ul>
<!-- $$$Scene3D-description -->
<a name="details"></a>
<h2 id="details">Detailed Description</h2>
<p>The 3D scene contains a single active camera and a single active light source. Visualized data is assumed to be at a fixed location.</p>
<p>The 3D scene also keeps track of the viewport in which visualization rendering is done, the primary subviewport inside the viewport where the main 3D data visualization view resides and the secondary subviewport where the 2D sliced view of the data resides.</p>
<p>Also the scene has flag for tracking if the secondary 2D slicing view is currently active or not.</p>
<p><b>Note: </b>Not all visualizations support the secondary 2D slicing view.</p><!-- @@@Scene3D -->
<h2>Property Documentation</h2>
<!-- $$$activeCamera -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="activeCamera-prop">
<td class="tblQmlPropNode"><p>
<a name="activeCamera-prop"></a><span class="name">activeCamera</span> : <span class="type"><a href="qml-qtdatavisualization-camera3d.html">Camera3D</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>The currently active camera in the 3D scene. When a <a href="qml-qtdatavisualization-camera3d.html">Camera3D</a> is set in the property, it is automatically added as child of the scene.</p>
</div></div><!-- @@@activeCamera -->
<br/>
<!-- $$$activeLight -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="activeLight-prop">
<td class="tblQmlPropNode"><p>
<a name="activeLight-prop"></a><span class="name">activeLight</span> : <span class="type"><a href="qml-qtdatavisualization-light3d.html">Light3D</a></span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>The currently active light in the 3D scene. When a <a href="qml-qtdatavisualization-light3d.html">Light3D</a> is set in the property, it is automatically added as child of the scene.</p>
</div></div><!-- @@@activeLight -->
<br/>
<!-- $$$devicePixelRatio -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="devicePixelRatio-prop">
<td class="tblQmlPropNode"><p>
<a name="devicePixelRatio-prop"></a><span class="name">devicePixelRatio</span> : <span class="type">float</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>The current device pixel ratio that is used when mapping input coordinates to pixel coordinates.</p>
</div></div><!-- @@@devicePixelRatio -->
<br/>
<!-- $$$graphPositionQuery -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="graphPositionQuery-prop">
<td class="tblQmlPropNode"><p>
<a name="graphPositionQuery-prop"></a><span class="name">graphPositionQuery</span> : <span class="type">point</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>The coordinates for the user input that should be processed by the scene as a graph position query. If this property is set to value other than <a href="qml-qtdatavisualization-scene3d.html#invalidSelectionPoint-prop">invalidSelectionPoint</a>, the graph tries to match a graph position to the given point within the primary viewport. After the rendering pass, this property is returned to its default state of <a href="qml-qtdatavisualization-scene3d.html#invalidSelectionPoint-prop">invalidSelectionPoint</a>. The queried graph position can be read from the <a href="qml-qtdatavisualization-abstractgraph3d.html#queriedGraphPosition-prop">AbstractGraph3D::queriedGraphPosition</a> property after the next render pass.</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 allow graph position queries only at the graph floor level.</p><p><b>See also </b><a href="qml-qtdatavisualization-abstractgraph3d.html#queriedGraphPosition-prop">AbstractGraph3D::queriedGraphPosition</a>.</p>
</div></div><!-- @@@graphPositionQuery -->
<br/>
<!-- $$$invalidSelectionPoint -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="invalidSelectionPoint-prop">
<td class="tblQmlPropNode"><p>
<a name="invalidSelectionPoint-prop"></a><span class="name">invalidSelectionPoint</span> : <span class="type">point</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>A constant property providing an invalid point for selection.</p>
</div></div><!-- @@@invalidSelectionPoint -->
<br/>
<!-- $$$primarySubViewport -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="primarySubViewport-prop">
<td class="tblQmlPropNode"><p>
<a name="primarySubViewport-prop"></a><span class="name">primarySubViewport</span> : <span class="type">rect</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>The current subviewport rectangle inside the viewport where the primary view of the data visualization is targeted.</p>
<p>If <a href="qml-qtdatavisualization-scene3d.html#slicingActive-prop">slicingActive</a> is <code>false</code>, the primary sub viewport will be equal to the viewport. If <a href="qml-qtdatavisualization-scene3d.html#slicingActive-prop">slicingActive</a> is <code>true</code> and the primary sub viewport has not been explicitly set, it will be one fifth of the viewport.</p>
<p><b>Note: </b>Setting primarySubViewport larger than or outside of viewport resizes viewport accordingly.</p></div></div><!-- @@@primarySubViewport -->
<br/>
<!-- $$$secondarySubViewport -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="secondarySubViewport-prop">
<td class="tblQmlPropNode"><p>
<a name="secondarySubViewport-prop"></a><span class="name">secondarySubViewport</span> : <span class="type">rect</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>* * * The secondary viewport rectangle inside the viewport. The secondary viewport * is used for drawing the 2D slice view in some visualizations. If it has not * been explicitly set, it will be null. If <a href="qml-qtdatavisualization-scene3d.html#slicingActive-prop">slicingActive</a> is <code>true</code>, it will * be equal to the viewport. *</p>
<p><b>Note: </b>If the secondary sub viewport is larger than or outside of the * viewport, the viewport is resized accordingly.</p></div></div><!-- @@@secondarySubViewport -->
<br/>
<!-- $$$secondarySubviewOnTop -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="secondarySubviewOnTop-prop">
<td class="tblQmlPropNode"><p>
<a name="secondarySubviewOnTop-prop"></a><span class="name">secondarySubviewOnTop</span> : <span class="type">bool</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Defines whether the 2D slicing view or the 3D view is drawn on top.</p>
</div></div><!-- @@@secondarySubviewOnTop -->
<br/>
<!-- $$$selectionQueryPosition -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="selectionQueryPosition-prop">
<td class="tblQmlPropNode"><p>
<a name="selectionQueryPosition-prop"></a><span class="name">selectionQueryPosition</span> : <span class="type">point</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>The coordinates for the user input that should be processed by the scene as a selection. If this property is set to a value other than <a href="qml-qtdatavisualization-scene3d.html#invalidSelectionPoint-prop">invalidSelectionPoint</a>, the graph tries to select a data item at the given point within the primary viewport. After the rendering pass, the property is returned to its default state of <a href="qml-qtdatavisualization-scene3d.html#invalidSelectionPoint-prop">invalidSelectionPoint</a>.</p>
</div></div><!-- @@@selectionQueryPosition -->
<br/>
<!-- $$$slicingActive -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="slicingActive-prop">
<td class="tblQmlPropNode"><p>
<a name="slicingActive-prop"></a><span class="name">slicingActive</span> : <span class="type">bool</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Defines whether the 2D slicing view is currently active. If <code>true</code>, <a href="qml-qtdatavisualization-abstractgraph3d.html#selectionMode-prop">AbstractGraph3D::selectionMode</a> must have either the <a href="qabstract3dgraph.html#SelectionFlag-enum">AbstractGraph3D.SelectionRow</a> or <a href="qabstract3dgraph.html#SelectionFlag-enum">AbstractGraph3D.SelectionColumn</a> set to a valid selection.</p>
<p><b>Note: </b>Not all visualizations support the 2D slicing view.</p></div></div><!-- @@@slicingActive -->
<br/>
<!-- $$$viewport -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="viewport-prop">
<td class="tblQmlPropNode"><p>
<a name="viewport-prop"></a><span class="name">viewport</span> : <span class="type">rect</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>The current viewport rectangle where all 3D rendering is targeted.</p>
</div></div><!-- @@@viewport -->
<br/>
        </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>