QtDataVisualization Namespace
Contains the classes and enumerations in the Qt Data Visualization module. 更多...
头文件: | #include <QtDataVisualization> |
Types
typedef | QBarDataArray |
typedef | QBarDataRow |
typedef | QScatterDataArray |
typedef | QSurfaceDataArray |
typedef | QSurfaceDataRow |
Functions
QSurfaceFormat | qDefaultSurfaceFormat(bool antialias) |
详细描述
Contains the classes and enumerations in the Qt Data Visualization module.
Base class for the axes of a graph | |
Manipulates an axis of a graph | |
Formatting rules for a logarithmic value axis | |
Manipulates an axis of a graph | |
Base class for value axis formatters | |
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 | |
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 | |
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 | |
Methods for rendering 3D bar graphs | |
Representation of a camera in 3D space | |
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 | |
Window and render loop for graphs | |
Basic wheel mouse based input handler | |
Base class for implementations of input handlers | |
Basic touch display based input handler | |
Visual style for graphs |
类型
typedef QtDataVisualization::QBarDataArray
A list of pointers to QBarDataRow objects.
typedef QtDataVisualization::QBarDataRow
A vector of QBarDataItem objects.
typedef QtDataVisualization::QScatterDataArray
A vector of QScatterDataItem objects.
typedef QtDataVisualization::QSurfaceDataArray
A list of pointers to QSurfaceDataRow objects.
typedef QtDataVisualization::QSurfaceDataRow
A vector of QSurfaceDataItem objects.
函数
[static]
QSurfaceFormat QtDataVisualization::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.