https://github.com/wavestoweather/PCViewer.git
Tip revision: e4a2a107c7790a4948783b0f8515ddf84afafc15 authored by Josef Stumpfegger on 24 November 2022, 12:56:34 UTC
Added links to the replicability video and dataset.
Added links to the replicability video and dataset.
Tip revision: e4a2a10
ColorPalette.h.autosave
#include "colorbrewer/colorbrewer.h"
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <map>
struct CPalette{
std::string cName;
int maxcolors;
std::string category;
bool colorblind;
};
class ColorPalette{
public:
ColorPalette();
~ColorPalette();
std::vector<CPalette> palettes;
std::vector<CPalette> palettesDiv;
std::vector<CPalette> palettesQual;
std::vector<CPalette> palettesSeq;
std::vector<std::string> colorCategories;
// std::map<std::string, std::vector<std::string>> colorCatMap;
std::vector<std::string> divNameList;
std::vector<std::string> qualNameList;
std::vector<std::string> seqNameList;
protected:
private:
};
// QList<QColor> qColors(brew<QColor>("BuGn", 3));