// This file is part of libigl, a simple c++ geometry processing library. // // Copyright (C) 2013 Alec Jacobson // // This Source Code Form is subject to the terms of the Mozilla Public License // v. 2.0. If a copy of the MPL was not distributed with this file, You can // obtain one at http://mozilla.org/MPL/2.0/. #include "jet.h" #include "colormap.h" template IGL_INLINE void igl::jet(const T x, T * rgb) { igl::colormap(x, rgb, igl::CM_JET); } template IGL_INLINE void igl::jet(const T x_in, T & r, T & g, T & b) { igl::colormap(x_in, r, g, b, igl::CM_JET); } template IGL_INLINE void igl::jet( const Eigen::PlainObjectBase & Z, const bool normalize, Eigen::PlainObjectBase & C) { igl::colormap(Z, normalize, C, igl::CM_JET); } template IGL_INLINE void igl::jet( const Eigen::PlainObjectBase & Z, const double min_z, const double max_z, Eigen::PlainObjectBase & C) { igl::colormap(Z, min_z, max_z, C, igl::CM_JET); } #ifdef IGL_STATIC_LIBRARY // Explicit template instantiation // generated by autoexplicit.sh template void igl::jet, Eigen::Matrix >(Eigen::PlainObjectBase > const&, bool, Eigen::PlainObjectBase >&); template void igl::jet(double, double*); template void igl::jet(double, double&, double&, double&); template void igl::jet(float, float*); template void igl::jet, Eigen::Matrix >(Eigen::PlainObjectBase > const&, bool, Eigen::PlainObjectBase >&); template void igl::jet, Eigen::Matrix >(Eigen::PlainObjectBase > const&, bool, Eigen::PlainObjectBase >&); template void igl::jet, Eigen::Matrix >(Eigen::PlainObjectBase > const&, bool, Eigen::PlainObjectBase >&); template void igl::jet(float, float&, float&, float&); template void igl::jet, Eigen::Matrix >(Eigen::PlainObjectBase > const&, double, double, Eigen::PlainObjectBase >&); template void igl::jet, Eigen::Matrix >(Eigen::PlainObjectBase > const&, double, double, Eigen::PlainObjectBase >&); template void igl::jet, Eigen::Matrix >(Eigen::PlainObjectBase > const&, double, double, Eigen::PlainObjectBase >&); #endif