|
QGroundControl
Ground Control Station for MAVLink Drones
|
#include <Viewer3DInstancing.h>
Inheritance diagram for Viewer3DInstancing:
Collaboration diagram for Viewer3DInstancing:Signals | |
| void | countChanged () |
| void | selectedIndexChanged () |
Public Member Functions | |
| Viewer3DInstancing (QQuick3DObject *parent=nullptr) | |
| void | clear () |
| void | addEntry (const QVector3D &position, const QVector3D &scale, const QQuaternion &rotation, const QColor &color) |
| void | addLineSegment (const QVector3D &p1, const QVector3D &p2, float lineWidth, const QColor &color) |
| int | count () const |
| int | selectedIndex () const |
| void | setSelectedIndex (int index) |
Protected Member Functions | |
| QByteArray | getInstanceBuffer (int *instanceCount) override |
Definition at line 12 of file Viewer3DInstancing.h.
|
explicit |
Definition at line 9 of file Viewer3DInstancing.cc.
| void Viewer3DInstancing::addEntry | ( | const QVector3D & | position, |
| const QVector3D & | scale, | ||
| const QQuaternion & | rotation, | ||
| const QColor & | color | ||
| ) |
Definition at line 23 of file Viewer3DInstancing.cc.
References countChanged().
| void Viewer3DInstancing::addLineSegment | ( | const QVector3D & | p1, |
| const QVector3D & | p2, | ||
| float | lineWidth, | ||
| const QColor & | color | ||
| ) |
Definition at line 34 of file Viewer3DInstancing.cc.
References countChanged().
| void Viewer3DInstancing::clear | ( | ) |
Definition at line 14 of file Viewer3DInstancing.cc.
References countChanged().
| int Viewer3DInstancing::count | ( | ) | const |
Definition at line 60 of file Viewer3DInstancing.cc.
|
signal |
Referenced by addEntry(), addLineSegment(), and clear().
|
overrideprotected |
Definition at line 79 of file Viewer3DInstancing.cc.
| int Viewer3DInstancing::selectedIndex | ( | ) | const |
Definition at line 65 of file Viewer3DInstancing.cc.
|
signal |
Referenced by setSelectedIndex().
| void Viewer3DInstancing::setSelectedIndex | ( | int | index | ) |
Definition at line 70 of file Viewer3DInstancing.cc.
References selectedIndexChanged().