SOFA API  99934cbc
Open source framework for multi-physics simuation
sofa::helper::ColorMap::evaluator< Real > Class Template Reference

#include <ColorMap.h>

Protected Attributes

const ColorMapmap
 
Real vmin
 
Real vmax
 
Real vscale
 

Public Member Functions

 evaluator ()
 
 evaluator (const ColorMap *map, Real vmin, Real vmax)
 
Color operator() (Real r) const
 

Attribute details

template<class Real >
const ColorMap* sofa::helper::ColorMap::evaluator< Real >::map
protected
template<class Real >
Real sofa::helper::ColorMap::evaluator< Real >::vmax
protected
template<class Real >
Real sofa::helper::ColorMap::evaluator< Real >::vmin
protected
template<class Real >
Real sofa::helper::ColorMap::evaluator< Real >::vscale
protected

Constructor details

template<class Real >
sofa::helper::ColorMap::evaluator< Real >::evaluator ( )
inline
template<class Real >
sofa::helper::ColorMap::evaluator< Real >::evaluator ( const ColorMap map,
Real  vmin,
Real  vmax 
)
inline

Function details

template<class Real >
Color sofa::helper::ColorMap::evaluator< Real >::operator() ( Real  r) const
inline