HAL
hal::utils::Color Struct Reference

#include <utils.h>

Collaboration diagram for hal::utils::Color:
Collaboration graph

Public Member Functions

 Color (int _h=0, int _s=0, int _v=0)
 
std::string toString ()
 

Public Attributes

int h
 
int s
 
int v
 

Detailed Description

Class for color in HSV representation (hue, saturation, value).
Used for grouping colors. Default is black.

Definition at line 776 of file utils.h.

Constructor & Destructor Documentation

◆ Color()

hal::utils::Color::Color ( int  _h = 0,
int  _s = 0,
int  _v = 0 
)
inline

Definition at line 782 of file utils.h.

Member Function Documentation

◆ toString()

std::string hal::utils::Color::toString ( )
inline

Definition at line 786 of file utils.h.

Referenced by hal::event_log::handle_grouping_event().

Member Data Documentation

◆ h

int hal::utils::Color::h

Definition at line 778 of file utils.h.

Referenced by hal::toQColor().

◆ s

int hal::utils::Color::s

Definition at line 779 of file utils.h.

Referenced by hal::toQColor().

◆ v

int hal::utils::Color::v

Definition at line 780 of file utils.h.

Referenced by hal::toQColor().


The documentation for this struct was generated from the following file: