ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
Hsv Struct Reference

HSV color. More...

#include <HSV.h>

Collaboration diagram for Hsv:

Public Member Functions

 Hsv ()
 Default constrctor. More...
 
 Hsv (const ecvColor::Rgb &rgb)
 Constrctor from a RGB color. More...
 

Public Attributes

uint16_t h
 
uint16_t s
 
uint16_t v
 

Detailed Description

HSV color.

Definition at line 31 of file HSV.h.

Constructor & Destructor Documentation

◆ Hsv() [1/2]

Hsv::Hsv ( )
inline

Default constrctor.

Definition at line 33 of file HSV.h.

◆ Hsv() [2/2]

Hsv::Hsv ( const ecvColor::Rgb rgb)
inline

Constrctor from a RGB color.

Definition at line 36 of file HSV.h.

References ecvColor::RgbTpl< Type >::b, ecvColor::RgbTpl< Type >::g, h, max(), min(), ecvColor::RgbTpl< Type >::r, s, and v.

Member Data Documentation

◆ h

uint16_t Hsv::h

Definition at line 66 of file HSV.h.

Referenced by Hsv(), and HSVDialog::updateValues().

◆ s

uint16_t Hsv::s

Definition at line 66 of file HSV.h.

Referenced by Hsv(), and HSVDialog::updateValues().

◆ v

uint16_t Hsv::v

Definition at line 66 of file HSV.h.

Referenced by Hsv(), and HSVDialog::updateValues().


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