Rumba C++ SDK
Colormap.h
Go to the documentation of this file.
1 /*
2 
3  *
4  ***
5  *****
6  ********************* Mercenaries Engineering SARL
7  ***************** Copyright (C) 2020
8  *************
9  ********* http://www.mercenaries-engineering.com
10  ***********
11  **** ****
12  ** **
13 
14 */
15 
16 #pragma once
17 
18 #include <limits>
19 #include <gsl/span>
20 
21 #include "Maquina/Export.h"
22 
23 namespace maquina
24 {
25  class Points;
26  class IndexedBufferUInt32Const;
27  class IndexedBufferFloatConst;
28 
29  enum class MAQUINA_EXPORT Colormap
30  {
32  turbo,
33  white_red,
34  boolean
35  };
36 
38 
39  MAQUINA_EXPORT void add_points_colormap(Points& points, Colormap type, const gsl::span<const uint32_t>& indices, const gsl::span<const float>& values, float max_value = -std::numeric_limits<float>::infinity());
40 }
MAQUINA_EXPORT void add_points_colormap(Points &points, Colormap type, const gsl::span< const uint32_t > &indices, const gsl::span< const float > &values, float max_value=-std::numeric_limits< float >::infinity())
Add a heat map channel to the Points object.
grey_scale
Definition: Colormap.h:31
This version of the SDK is unstable, i-e, it may change with no warning.
Definition: AddCurveAction.h:20
#define MAQUINA_EXPORT
Definition: Export.h:31
turbo
Definition: Colormap.h:31
white_red
Definition: Colormap.h:31