57    const double palette[256][3], 
const T x_in, T & r, T & g, T & b);
 
   65  template <
typename DerivedZ, 
typename DerivedC>
 
   68    const Eigen::MatrixBase<DerivedZ> & Z,
 
   70    Eigen::PlainObjectBase<DerivedC> & C);
 
   79  template <
typename DerivedZ, 
typename DerivedC>
 
   82    const Eigen::MatrixBase<DerivedZ> & Z,
 
   85    Eigen::PlainObjectBase<DerivedC> & C);
 
   88#ifndef IGL_STATIC_LIBRARY 
   89#  include "colormap.cpp" 
#define IGL_INLINE
Definition igl_inline.h:15
 
ColorMapType
Definition colormap.h:19
 
@ COLOR_MAP_TYPE_PLASMA
Definition colormap.h:24
 
@ COLOR_MAP_TYPE_TURBO
Definition colormap.h:26
 
@ COLOR_MAP_TYPE_MAGMA
Definition colormap.h:22
 
@ COLOR_MAP_TYPE_PARULA
Definition colormap.h:23
 
@ COLOR_MAP_TYPE_INFERNO
Definition colormap.h:20
 
@ NUM_COLOR_MAP_TYPES
Definition colormap.h:27
 
@ COLOR_MAP_TYPE_JET
Definition colormap.h:21
 
@ COLOR_MAP_TYPE_VIRIDIS
Definition colormap.h:25
 
void colormap(const ColorMapType cm, const T f, T *rgb)
Compute [r,g,b] values of the selected colormap for a given factor f between 0 and 1.