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

#include <CheckerboardTextureData.h>

+ Inheritance diagram for CheckerboardTextureData:
+ Collaboration diagram for CheckerboardTextureData:

Signals

void sizePixelsChanged ()
 
void cellsChanged ()
 
void color1Changed ()
 
void color2Changed ()
 

Public Member Functions

 CheckerboardTextureData (QQuick3DObject *parent=nullptr)
 
int sizePixels () const
 
void setSizePixels (int sizePixels)
 
int cells () const
 
void setCells (int cells)
 
QColor color1 () const
 
void setColor1 (const QColor &color)
 
QColor color2 () const
 
void setColor2 (const QColor &color)
 

Detailed Description

Procedural checkerboard texture for GeoMap debug rendering: deterministic content for visually (and pixel-)verifying patch placement and UV mapping without tile imagery or network access.

Definition at line 18 of file CheckerboardTextureData.h.

Constructor & Destructor Documentation

◆ CheckerboardTextureData()

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

Definition at line 7 of file CheckerboardTextureData.cc.

Member Function Documentation

◆ cells()

int CheckerboardTextureData::cells ( ) const
inline

Definition at line 34 of file CheckerboardTextureData.h.

Referenced by setCells().

◆ cellsChanged

void CheckerboardTextureData::cellsChanged ( )
signal

Referenced by setCells().

◆ color1()

QColor CheckerboardTextureData::color1 ( ) const
inline

Definition at line 38 of file CheckerboardTextureData.h.

◆ color1Changed

void CheckerboardTextureData::color1Changed ( )
signal

Referenced by setColor1().

◆ color2()

QColor CheckerboardTextureData::color2 ( ) const
inline

Definition at line 42 of file CheckerboardTextureData.h.

◆ color2Changed

void CheckerboardTextureData::color2Changed ( )
signal

Referenced by setColor2().

◆ setCells()

void CheckerboardTextureData::setCells ( int  cells)

Definition at line 23 of file CheckerboardTextureData.cc.

References cells(), and cellsChanged().

◆ setColor1()

void CheckerboardTextureData::setColor1 ( const QColor &  color)

Definition at line 36 of file CheckerboardTextureData.cc.

References color1Changed().

◆ setColor2()

void CheckerboardTextureData::setColor2 ( const QColor &  color)

Definition at line 46 of file CheckerboardTextureData.cc.

References color2Changed().

◆ setSizePixels()

void CheckerboardTextureData::setSizePixels ( int  sizePixels)

Definition at line 12 of file CheckerboardTextureData.cc.

References sizePixels(), and sizePixelsChanged().

◆ sizePixels()

int CheckerboardTextureData::sizePixels ( ) const
inline

Definition at line 30 of file CheckerboardTextureData.h.

Referenced by setSizePixels().

◆ sizePixelsChanged

void CheckerboardTextureData::sizePixelsChanged ( )
signal

Referenced by setSizePixels().


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