QtDataVisualization Namespace
Contains the classes and enumerations in the Qt Data Visualization module. More...
Header: | #include <QtDataVisualization> |
Functions
QSurfaceFormat | qDefaultSurfaceFormat(bool antialias) |
Detailed Description
Methods for rendering 3D bar graphs | |
Representation of a camera in 3D space | |
Basic wheel mouse based input handler | |
Representation of a light source in 3D space | |
Simple base class for all the objects in a 3D scene | |
Methods for rendering 3D scatter graphs | |
Description of the 3D scene being visualized | |
Methods for rendering 3D surface plots | |
Visual style for graphs | |
Base class for the axes of a graph | |
Window and render loop for graphs | |
Base class for implementations of input handlers | |
Base class for all data series | |
Base class for all data visualization data proxies | |
Represents a data series in a 3D bar graph | |
Container for resolved data to be added to bar graphs | |
The data proxy for a 3D bars graph | |
Manipulates an axis of a graph | |
Adds a custom item to a graph | |
Adds a custom label to a graph | |
Adds a volume rendered object to a graph | |
Base proxy class for Q3DSurface | |
Proxy class for presenting data in item models with Q3DBars | |
Proxy class for presenting data in item models with Q3DScatter | |
Proxy class for presenting data in item models with Q3DSurface | |
Formatting rules for a logarithmic value axis | |
Represents a data series in a 3D scatter graph | |
Container for resolved data to be added to scatter graphs | |
The data proxy for 3D scatter graphs | |
Represents a data series in a 3D surface graph | |
Container for resolved data to be added to surface graphs | |
The data proxy for a 3D surface graph | |
Basic touch display based input handler | |
Manipulates an axis of a graph | |
Base class for value axis formatters |
Function Documentation
QSurfaceFormat qDefaultSurfaceFormat(bool antialias)
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.
© 2020 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.