qHexWalker 0.0.1
Hexagonal Grid Pathfinding & Maze Visualization on Interactive Maps
Loading...
Searching...
No Matches
H3Cell Class Referencefinal

#include <h3Cell.h>

+ Inheritance diagram for H3Cell:
+ Collaboration diagram for H3Cell:

Public Member Functions

 H3Cell (QObject *parent=nullptr)
 
 ~H3Cell () override
 
quint8 res () const noexcept
 
quint64 index () const noexcept
 
QColor color () const noexcept
 
QVariantList path () const
 
void setRes (quint8 res)
 
void setIndex (quint64 index)
 
void setColor (const QColor &color)
 
void setPath (const QVariantList &path)
 
public::void resChanged ()
 
void indexChanged ()
 
void colorChanged ()
 
void pathChanged ()
 

Private Attributes

quint8 res_ {}
 
quint64 index_ {}
 
QColor color_ {}
 
QVariantList path_
 

Detailed Description

Definition at line 6 of file h3Cell.h.

Constructor & Destructor Documentation

◆ H3Cell()

H3Cell::H3Cell ( QObject *  parent = nullptr)
explicit

Definition at line 3 of file h3Cell.cpp.

◆ ~H3Cell()

H3Cell::~H3Cell ( )
overridedefault

Member Function Documentation

◆ color()

QColor IH3Data::color ( ) const
noexceptinherited

Definition at line 9 of file iH3Data.cpp.

References IH3Data::color_.

Referenced by IH3Data::setColor().

+ Here is the caller graph for this function:

◆ colorChanged()

void IH3Data::colorChanged ( )
inherited

Referenced by IH3Data::setColor().

+ Here is the caller graph for this function:

◆ index()

quint64 IH3Data::index ( ) const
noexceptinherited

Definition at line 8 of file iH3Data.cpp.

References IH3Data::index_.

Referenced by IH3Data::setIndex().

+ Here is the caller graph for this function:

◆ indexChanged()

void IH3Data::indexChanged ( )
inherited

Referenced by IH3Data::setIndex().

+ Here is the caller graph for this function:

◆ path()

QVariantList IH3Data::path ( ) const
inherited

Definition at line 10 of file iH3Data.cpp.

References IH3Data::path_.

Referenced by IH3Data::setPath().

+ Here is the caller graph for this function:

◆ pathChanged()

void IH3Data::pathChanged ( )
inherited

Referenced by IH3Data::setPath().

+ Here is the caller graph for this function:

◆ res()

quint8 IH3Data::res ( ) const
noexceptinherited

Definition at line 7 of file iH3Data.cpp.

References IH3Data::res_.

Referenced by IH3Data::setRes().

+ Here is the caller graph for this function:

◆ resChanged()

public::void IH3Data::resChanged ( )
inherited

Referenced by IH3Data::setRes().

+ Here is the caller graph for this function:

◆ setColor()

void IH3Data::setColor ( const QColor &  color)
inherited

Definition at line 25 of file iH3Data.cpp.

References IH3Data::color(), IH3Data::color_, and IH3Data::colorChanged().

+ Here is the call graph for this function:

◆ setIndex()

void IH3Data::setIndex ( quint64  index)
inherited

Definition at line 19 of file iH3Data.cpp.

References IH3Data::index(), IH3Data::index_, and IH3Data::indexChanged().

+ Here is the call graph for this function:

◆ setPath()

void IH3Data::setPath ( const QVariantList &  path)
inherited

Definition at line 32 of file iH3Data.cpp.

References IH3Data::path(), IH3Data::path_, and IH3Data::pathChanged().

+ Here is the call graph for this function:

◆ setRes()

void IH3Data::setRes ( quint8  res)
inherited

Definition at line 12 of file iH3Data.cpp.

References IH3Data::res(), IH3Data::res_, and IH3Data::resChanged().

+ Here is the call graph for this function:

Member Data Documentation

◆ color_

QColor IH3Data::color_ {}
privateinherited

Definition at line 36 of file iH3Data.h.

Referenced by IH3Data::color(), and IH3Data::setColor().

◆ index_

quint64 IH3Data::index_ {}
privateinherited

Definition at line 35 of file iH3Data.h.

Referenced by IH3Data::index(), and IH3Data::setIndex().

◆ path_

QVariantList IH3Data::path_
privateinherited

Definition at line 37 of file iH3Data.h.

Referenced by IH3Data::path(), and IH3Data::setPath().

◆ res_

quint8 IH3Data::res_ {}
privateinherited

Definition at line 34 of file iH3Data.h.

Referenced by IH3Data::res(), and IH3Data::setRes().


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