QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
PaperPlaneGeometry Class Reference

#include <PaperPlaneGeometry.h>

+ Inheritance diagram for PaperPlaneGeometry:
+ Collaboration diagram for PaperPlaneGeometry:

Public Member Functions

 PaperPlaneGeometry (QQuick3DObject *parent=nullptr)
 

Static Public Attributes

static constexpr int kTriangleCount = 3
 
static constexpr int kFloatsPerVertex = 10
 position 3, normal 3, color 4
 

Detailed Description

Paper-airplane dart mesh for the GeoMap vehicle marker: the 3D counterpart of the 2D vehicleArrowOpaque icon (same silhouette). Nose along +y, x east, z up; ~100 units long to match the built-in-mesh scale convention. Two dihedral red wings and a paper-white keel fin (the fuselage) below the spine. Flat-shaded via per-face normals; colors are baked as vertex colors, so render with a material that has vertexColorsEnabled (and NoCulling, since the mesh is single-sided).

Definition at line 21 of file PaperPlaneGeometry.h.

Constructor & Destructor Documentation

◆ PaperPlaneGeometry()

PaperPlaneGeometry::PaperPlaneGeometry ( QQuick3DObject *  parent = nullptr)
explicit

Definition at line 42 of file PaperPlaneGeometry.cc.

References kFloatsPerVertex, and kTriangleCount.

Member Data Documentation

◆ kFloatsPerVertex

constexpr int PaperPlaneGeometry::kFloatsPerVertex = 10
staticconstexpr

position 3, normal 3, color 4

Definition at line 30 of file PaperPlaneGeometry.h.

Referenced by PaperPlaneGeometry().

◆ kTriangleCount

constexpr int PaperPlaneGeometry::kTriangleCount = 3
staticconstexpr

Definition at line 29 of file PaperPlaneGeometry.h.

Referenced by PaperPlaneGeometry().


The documentation for this class was generated from the following files: