|
QGroundControl
Ground Control Station for MAVLink Drones
|
#include <PatchTextureData.h>
Inheritance diagram for PatchTextureData:
Collaboration diagram for PatchTextureData:Signals | |
| void | imageChanged () |
Public Member Functions | |
| PatchTextureData (QQuick3DObject *parent=nullptr) | |
| QImage | image () const |
| void | setImage (const QImage &image) |
Feeds a QImage (a map tile from SurfacePatchModel's tileImage role) to a Qt Quick 3D Texture. A null image produces an empty texture; consumers switch materials on image validity rather than rendering it.
Definition at line 18 of file PatchTextureData.h.
|
explicit |
Definition at line 12 of file PatchTextureData.cc.
|
inline |
Definition at line 27 of file PatchTextureData.h.
Referenced by setImage().
|
signal |
Referenced by setImage().
| void PatchTextureData::setImage | ( | const QImage & | image | ) |
Definition at line 14 of file PatchTextureData.cc.
References image(), and imageChanged().