Fawkes API Fawkes Development Version
cluster_colors.h
1
2/***************************************************************************
3 * cluster_colors.h - Visualization cluster colors
4 *
5 * Created: Mon Nov 14 12:06:39 2011 (from tabletop-objects)
6 * Copyright 2011-2013 Tim Niemueller [www.niemueller.de]
7 ****************************************************************************/
8
9/* This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU Library General Public License for more details.
18 *
19 * Read the full text in the LICENSE.GPL file in the doc directory.
20 */
21
22#ifndef _PLUGINS_LASER_CLUSTER_CLUSTER_COLORS_H_
23#define _PLUGINS_LASER_CLUSTER_CLUSTER_COLORS_H_
24
25#include <stdint.h>
26
27#define MAX_CENTROIDS 12
28
29static const uint8_t ignored_cluster_color[3] = {0, 100, 0};
30
31static const uint8_t cluster_colors[MAX_CENTROIDS][3] = {{255, 0, 0},
32 {176, 0, 30},
33 {255, 90, 0},
34 {137, 82, 39},
35 {56, 23, 90},
36 {99, 0, 30},
37 {0, 255, 0},
38 {0, 0, 255},
39 {255, 255, 0},
40 {255, 0, 255},
41 {0, 255, 255},
42 {27, 117, 196}};
43
44#endif