Sophie

Sophie

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

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" />
<!-- q3dcamera.cpp -->
  <title>Camera3D 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 >Camera3D 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">Camera3D QML Type</h1>
<span class="subtitle"></span>
<!-- $$$Camera3D-brief -->
<p>Representation of a camera in 3D space. <a href="#details">More...</a></p>
<!-- @@@Camera3D -->
<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-camera3d.html"><a href="q3dcamera.html">Q3DCamera</a></td></tr></table></div><ul>
<li><a href="qml-qtdatavisualization-camera3d-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-camera3d.html#cameraPreset-prop">cameraPreset</a></b></b> : Camera3D.CameraPreset</li>
<li class="fn"><b><b><a href="qml-qtdatavisualization-camera3d.html#maxZoomLevel-prop">maxZoomLevel</a></b></b> : float</li>
<li class="fn"><b><b><a href="qml-qtdatavisualization-camera3d.html#minZoomLevel-prop">minZoomLevel</a></b></b> : float</li>
<li class="fn"><b><b><a href="qml-qtdatavisualization-camera3d.html#target-prop">target</a></b></b> : vector3d</li>
<li class="fn"><b><b><a href="qml-qtdatavisualization-camera3d.html#wrapXRotation-prop">wrapXRotation</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-qtdatavisualization-camera3d.html#wrapYRotation-prop">wrapYRotation</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-qtdatavisualization-camera3d.html#xRotation-prop">xRotation</a></b></b> : float</li>
<li class="fn"><b><b><a href="qml-qtdatavisualization-camera3d.html#yRotation-prop">yRotation</a></b></b> : float</li>
<li class="fn"><b><b><a href="qml-qtdatavisualization-camera3d.html#zoomLevel-prop">zoomLevel</a></b></b> : float</li>
</ul>
<!-- $$$Camera3D-description -->
<a name="details"></a>
<h2 id="details">Detailed Description</h2>
<p><a href="qml-qtdatavisualization-camera3d.html">Camera3D</a> represents a basic orbit around centerpoint 3D camera that is used when rendering the data visualization. The type offers simple methods for rotating the camera around the origin and setting zoom level.</p>
<p>For <a href="qml-qtdatavisualization-camera3d.html">Camera3D</a> enums, see <a href="q3dcamera.html#CameraPreset-enum">Q3DCamera::CameraPreset</a>.</p>
<!-- @@@Camera3D -->
<h2>Property Documentation</h2>
<!-- $$$cameraPreset -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="cameraPreset-prop">
<td class="tblQmlPropNode"><p>
<a name="cameraPreset-prop"></a><span class="name">cameraPreset</span> : <span class="type"><a href="qml-qtdatavisualization-camera3d.html">Camera3D</a></span>.<span class="type">CameraPreset</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>The currently active camera preset, which is one of <a href="q3dcamera.html#CameraPreset-enum">Camera3D.CameraPreset</a>. If no preset is active, the value is <a href="q3dcamera.html#CameraPreset-enum">Camera3D.CameraPresetNone</a>.</p>
</div></div><!-- @@@cameraPreset -->
<br/>
<!-- $$$maxZoomLevel -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="maxZoomLevel-prop">
<td class="tblQmlPropNode"><p>
<a name="maxZoomLevel-prop"></a><span class="name">maxZoomLevel</span> : <span class="type">float</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Sets the maximum allowed camera zoom level. If the new maximum level is lower than the existing minimum level, the minimum level is adjusted to the new maximum as well. If the current <a href="qml-qtdatavisualization-camera3d.html#zoomLevel-prop">zoomLevel</a> is outside the new bounds, it is adjusted as well. Defaults to <code>500.0f</code>.</p>
<p><b>See also </b><a href="qml-qtdatavisualization-camera3d.html#zoomLevel-prop">zoomLevel</a> and <a href="qml-qtdatavisualization-camera3d.html#minZoomLevel-prop">minZoomLevel</a>.</p>
</div></div><!-- @@@maxZoomLevel -->
<br/>
<!-- $$$minZoomLevel -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="minZoomLevel-prop">
<td class="tblQmlPropNode"><p>
<a name="minZoomLevel-prop"></a><span class="name">minZoomLevel</span> : <span class="type">float</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Sets the minimum allowed camera zoom level. If the new minimum level is higher than the existing maximum level, the maximum level is adjusted to the new minimum as well. If the current <a href="qml-qtdatavisualization-camera3d.html#zoomLevel-prop">zoomLevel</a> is outside the new bounds, it is adjusted as well. The minZoomLevel cannot be set below <code>1.0</code>. Defaults to <code>10.0</code>.</p>
<p><b>See also </b><a href="qml-qtdatavisualization-camera3d.html#zoomLevel-prop">zoomLevel</a> and <a href="qml-qtdatavisualization-camera3d.html#maxZoomLevel-prop">maxZoomLevel</a>.</p>
</div></div><!-- @@@minZoomLevel -->
<br/>
<!-- $$$target -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="target-prop">
<td class="tblQmlPropNode"><p>
<a name="target-prop"></a><span class="name">target</span> : <span class="type">vector3d</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>The camera target as a vector3d. Defaults to <code>vector3d(0.0, 0.0, 0.0)</code>.</p>
<p>Valid coordinate values are between <code>-1.0&#x2e;.&#x2e;1&#x2e;0</code>, where the edge values indicate the edges of the corresponding axis range. Any values outside this range are clamped to the edge.</p>
<p><b>Note: </b>For bar graphs, the Y-coordinate is ignored and camera always targets a point on the horizontal background.</p><p>This property was introduced in  QtDataVisualization 1.2.</p>
</div></div><!-- @@@target -->
<br/>
<!-- $$$wrapXRotation -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="wrapXRotation-prop">
<td class="tblQmlPropNode"><p>
<a name="wrapXRotation-prop"></a><span class="name">wrapXRotation</span> : <span class="type">bool</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>The behavior of the minimum and maximum limits in the X-rotation. By default, the X-rotation wraps from minimum value to maximum and from maximum to minimum.</p>
<p>If set to <code>true</code>, the X-rotation of the camera is wrapped from minimum to maximum and from maximum to minimum. If set to <code>false</code>, the X-rotation of the camera is limited to the sector determined by the minimum and maximum values.</p>
</div></div><!-- @@@wrapXRotation -->
<br/>
<!-- $$$wrapYRotation -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="wrapYRotation-prop">
<td class="tblQmlPropNode"><p>
<a name="wrapYRotation-prop"></a><span class="name">wrapYRotation</span> : <span class="type">bool</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>The behavior of the minimum and maximum limits in the Y-rotation. By default, the Y-rotation is limited between the minimum and maximum values without any wrapping.</p>
<p>If <code>true</code>, the Y-rotation of the camera is wrapped from minimum to maximum and from maximum to minimum. If <code>false</code>, the Y-rotation of the camera is limited to the sector determined by the minimum and maximum values.</p>
</div></div><!-- @@@wrapYRotation -->
<br/>
<!-- $$$xRotation -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="xRotation-prop">
<td class="tblQmlPropNode"><p>
<a name="xRotation-prop"></a><span class="name">xRotation</span> : <span class="type">float</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>The X-rotation angle of the camera around the target point in degrees starting from the current base position.</p>
</div></div><!-- @@@xRotation -->
<br/>
<!-- $$$yRotation -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="yRotation-prop">
<td class="tblQmlPropNode"><p>
<a name="yRotation-prop"></a><span class="name">yRotation</span> : <span class="type">float</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>The Y-rotation angle of the camera around the target point in degrees starting from the current base position.</p>
</div></div><!-- @@@yRotation -->
<br/>
<!-- $$$zoomLevel -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="zoomLevel-prop">
<td class="tblQmlPropNode"><p>
<a name="zoomLevel-prop"></a><span class="name">zoomLevel</span> : <span class="type">float</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>The camera zoom level in percentage. The default value of <code>100.0</code> means there is no zoom in or out set in the camera. The value is limited by the <a href="qml-qtdatavisualization-camera3d.html#minZoomLevel-prop">minZoomLevel</a> and <a href="qml-qtdatavisualization-camera3d.html#maxZoomLevel-prop">maxZoomLevel</a> properties.</p>
<p><b>See also </b><a href="qml-qtdatavisualization-camera3d.html#minZoomLevel-prop">minZoomLevel</a> and <a href="qml-qtdatavisualization-camera3d.html#maxZoomLevel-prop">maxZoomLevel</a>.</p>
</div></div><!-- @@@zoomLevel -->
<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>