Public Member Functions | Private Attributes | List of all members
fuse_loss::HSVColormap Class Reference

HSV colormap that varies the hue H in the [0, 1) range with equidistant points for the given size. The hue H interval is open because the hue is the same for 0 and 1. Therefore, we never take hue == 1. More...

#include <qwt_loss_plot.h>

Public Member Functions

 HSVColormap (const size_t size=256)
 
const QColor & operator[] (const size_t i) const
 
size_t size () const
 

Private Attributes

std::vector< QColor > colormap_
 

Detailed Description

HSV colormap that varies the hue H in the [0, 1) range with equidistant points for the given size. The hue H interval is open because the hue is the same for 0 and 1. Therefore, we never take hue == 1.

Definition at line 59 of file qwt_loss_plot.h.

Constructor & Destructor Documentation

◆ HSVColormap()

fuse_loss::HSVColormap::HSVColormap ( const size_t  size = 256)
inlineexplicit

Definition at line 62 of file qwt_loss_plot.h.

Member Function Documentation

◆ operator[]()

const QColor& fuse_loss::HSVColormap::operator[] ( const size_t  i) const
inline

Definition at line 82 of file qwt_loss_plot.h.

◆ size()

size_t fuse_loss::HSVColormap::size ( ) const
inline

Definition at line 87 of file qwt_loss_plot.h.

Member Data Documentation

◆ colormap_

std::vector<QColor> fuse_loss::HSVColormap::colormap_
private

Definition at line 93 of file qwt_loss_plot.h.


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


fuse_loss
Author(s): Enrique Fernandez , Stephen Williams
autogenerated on Thu Apr 24 2025 02:19:00