QtDataVisualization Namespace

Contains the classes and enumerations in the Qt Data Visualization module. More...

Header: #include <QtDataVisualization>

Types

Functions

QSurfaceFormat qDefaultSurfaceFormat(bool antialias = true)
QSurfaceFormat qDefaultSurfaceFormat(bool antialias)

Detailed Description

Contains the classes and enumerations in the Qt Data Visualization module.

QAbstract3DAxis

Base class for axes of a graph

QCategory3DAxis

Used for manipulating an axis of a graph

QLogValue3DAxisFormatter

Implements logarithmic value axis formatter

QValue3DAxis

Used for manipulating an axis of a graph

QValue3DAxisFormatter

Base class for value axis formatters

QAbstract3DSeries

Base class for all QtDataVisualization series

QAbstractDataProxy

Base class for all QtDataVisualization data proxies

QBar3DSeries

Base series class for Q3DBars

QBarDataItem

Container for resolved data to be added to bar graphs

QBarDataProxy

Base proxy class for Q3DBars

QCustom3DItem

For creating custom items to be added to a graph

QCustom3DLabel

For creating custom labels to be added to a graph

QCustom3DVolume

For creating volume rendered objects to be added to a graph

QHeightMapSurfaceDataProxy

Base proxy class for Q3DSurface

QItemModelBarDataProxy

Proxy class for presenting data in item models with Q3DBars

QItemModelScatterDataProxy

Proxy class for presenting data in item models with Q3DScatter

QItemModelSurfaceDataProxy

Proxy class for presenting data in item models with Q3DSurface

QScatter3DSeries

Base series class for Q3DScatter

QScatterDataItem

Container for resolved data to be added to scatter graphs

QScatterDataProxy

Base proxy class for Q3DScatter

QSurface3DSeries

Base series class for Q3DSurface

QSurfaceDataItem

Container for resolved data to be added to surface graphs

QSurfaceDataProxy

Base proxy class for Q3DSurface

Q3DBars

Methods for rendering 3D bar graphs

Q3DCamera

Representation of a camera in 3D space

Q3DLight

Representation of a light source in 3D space

Q3DObject

Simple baseclass for all the objects in the 3D scene

Q3DScatter

Methods for rendering 3D scatter graphs

Q3DScene

Description of the 3D scene being visualized

Q3DSurface

Methods for rendering 3D surface plots

QAbstract3DGraph

Window and render loop for graphs

Q3DInputHandler

Basic wheel mouse based input handler

QAbstract3DInputHandler

Base class for implementations of input handlers

QTouch3DInputHandler

Basic touch display based input handler

Q3DTheme

Visual style for graphs

Type Documentation

typedef QtDataVisualization::QBarDataArray

A list of pointers to QBarDataRows.

typedef QtDataVisualization::QBarDataRow

A vector of QBarDataItems.

typedef QtDataVisualization::QScatterDataArray

A vector of QScatterDataItems.

typedef QtDataVisualization::QSurfaceDataArray

A list of pointers to QSurfaceDataRows.

typedef QtDataVisualization::QSurfaceDataRow

A vector of QSurfaceDataItems.

Function Documentation

[static] QSurfaceFormat QtDataVisualization::qDefaultSurfaceFormat(bool antialias = true)

This convenience function can be used to create a custom surface format suitable for use by Qt Data Visualization graphs.

The antialias parameter specifies whether or not antialiasing is activated.

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 show on it.

For example, disable antialiasing on C++ application:

#include <QtDataVisualization/qutils.h>

// ...

Q3DBars *graph = new Q3DBars(QtDataVisualization::qDefaultSurfaceFormat(false));

For example, enable antialiasing for direct rendering modes on QML application:

#include <QtDataVisualization/qutils.h>

// ...

QQuickView viewer;
viewer.setFormat(QtDataVisualization::qDefaultSurfaceFormat());

Note: Antialiasing is not supported in OpenGL ES2 environments.

[static] QSurfaceFormat QtDataVisualization::qDefaultSurfaceFormat(bool antialias)

© 2017 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. 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.