| 
    libigl v2.5.0
    
   | 
 
Go to the source code of this file.
Namespaces | |
| namespace | igl | 
Enumerations | |
| enum | igl::ColorMapType {  igl::COLOR_MAP_TYPE_INFERNO = 0 , igl::COLOR_MAP_TYPE_JET = 1 , igl::COLOR_MAP_TYPE_MAGMA = 2 , igl::COLOR_MAP_TYPE_PARULA = 3 , igl::COLOR_MAP_TYPE_PLASMA = 4 , igl::COLOR_MAP_TYPE_VIRIDIS = 5 , igl::COLOR_MAP_TYPE_TURBO = 6 , igl::NUM_COLOR_MAP_TYPES = 7 }  | 
Functions | |
| template<typename T > | |
| void | igl::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.   | |
| template<typename T > | |
| void | igl::colormap (const ColorMapType cm, const T f, T &r, T &g, T &b) | 
| Compute [r,g,b] values of the selected colormap for a given factor f between 0 and 1.   | |
| template<typename T > | |
| void | igl::colormap (const double palette[256][3], const T x_in, T &r, T &g, T &b) | 
| Compute [r,g,b] values of the colormap palette for a given factor f between 0 and 1.   | |
| template<typename DerivedZ , typename DerivedC > | |
| void | igl::colormap (const ColorMapType cm, const Eigen::MatrixBase< DerivedZ > &Z, const bool normalize, Eigen::PlainObjectBase< DerivedC > &C) | 
| Compute [r,g,b] values of the colormap palette for a given factors between 0 and 1.   | |
| template<typename DerivedZ , typename DerivedC > | |
| void | igl::colormap (const ColorMapType cm, const Eigen::MatrixBase< DerivedZ > &Z, const double min_Z, const double max_Z, Eigen::PlainObjectBase< DerivedC > &C) | 
Compute [r,g,b] values of the colormap palette for a given factors between min_Z and max_Z   | |