ESyS-Particle  2.3.4
colormap.h
Go to the documentation of this file.
1 // //
3 // Copyright (c) 2003-2017 by The University of Queensland //
4 // Centre for Geoscience Computing //
5 // http://earth.uq.edu.au/centre-geoscience-computing //
6 // //
7 // Primary Business: Brisbane, Queensland, Australia //
8 // Licensed under the Open Software License version 3.0 //
9 // http://www.apache.org/licenses/LICENSE-2.0 //
10 // //
12 
13 #ifndef __COLORMAP_H
14 #define __COLORMAP_H
15 
16 #include "vec3.h"
17 
18 class ColorMap
19 {
20  protected:
22  double x_min,x_max;
23 
24  public:
25  ColorMap(){};
26  ColorMap(const Vec3&,const Vec3&,double,double);
27  virtual Vec3 getColor(double) const;
28 };
29 
30 #endif // __COLORMAP_H
ColorMap::c_min
Vec3 c_min
Definition: colormap.h:21
ColorMap::x_min
double x_min
Definition: colormap.h:22
ColorMap::x_max
double x_max
Definition: colormap.h:22
ColorMap::getColor
virtual Vec3 getColor(double) const
Definition: colormap.cpp:23
ColorMap::c_max
Vec3 c_max
Definition: colormap.h:21
ColorMap::ColorMap
ColorMap()
Definition: colormap.h:25
Vec3
Definition: vec3.h:47
ColorMap
Definition: colormap.h:19
colormap.h