ESyS-Particle  2.3.4
ColorMap Class Reference

#include <colormap.h>

Inheritance diagram for ColorMap:
Collaboration diagram for ColorMap:

Public Member Functions

 ColorMap ()
 
 ColorMap (const Vec3 &, const Vec3 &, double, double)
 
virtual Vec3 getColor (double) const
 

Protected Attributes

Vec3 c_min
 
Vec3 c_max
 
double x_min
 
double x_max
 

Constructor & Destructor Documentation

◆ ColorMap() [1/2]

ColorMap::ColorMap ( )
inline

◆ ColorMap() [2/2]

ColorMap::ColorMap ( const Vec3 c0,
const Vec3 cm,
double  x0,
double  xm 
)

References c_max, c_min, x_max, and x_min.

Member Function Documentation

◆ getColor()

Vec3 ColorMap::getColor ( double  x) const
virtual

Reimplemented in GeoColorMap, and ColorMap3.

References c_max, c_min, x_max, and x_min.

Referenced by do_single_frame(), and do_single_frame_r().

Here is the caller graph for this function:

Member Data Documentation

◆ c_max

Vec3 ColorMap::c_max
protected

◆ c_min

Vec3 ColorMap::c_min
protected

◆ x_max

double ColorMap::x_max
protected

◆ x_min

double ColorMap::x_min
protected

The documentation for this class was generated from the following files: