Prusa Slicer 2.6.0
Loading...
Searching...
No Matches
colormap.h File Reference
#include "igl_inline.h"
#include <Eigen/Dense>
#include "colormap.cpp"
+ Include dependency graph for colormap.h:
+ This graph shows which files directly or indirectly include this file:

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::NUM_COLOR_MAP_TYPES = 6
}
 

Functions

template<typename T >
IGL_INLINE void igl::colormap (const ColorMapType cm, const T f, T *rgb)
 
template<typename T >
IGL_INLINE void igl::colormap (const ColorMapType cm, const T f, T &r, T &g, T &b)
 
template<typename T >
IGL_INLINE void igl::colormap (const double palette[256][3], const T x_in, T &r, T &g, T &b)
 
template<typename DerivedZ , typename DerivedC >
IGL_INLINE void igl::colormap (const ColorMapType cm, const Eigen::MatrixBase< DerivedZ > &Z, const bool normalize, Eigen::PlainObjectBase< DerivedC > &C)
 
template<typename DerivedZ , typename DerivedC >
IGL_INLINE void igl::colormap (const ColorMapType cm, const Eigen::MatrixBase< DerivedZ > &Z, const double min_Z, const double max_Z, Eigen::PlainObjectBase< DerivedC > &C)