ESyS-Particle  2.3.4
colormap3.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 __COLORMAP3_H
14 #define __COLORMAP3_H
15 
16 #include "colormap.h"
17 
18 // --- STL includes ---
19 #include <vector>
20 using std::vector;
21 
22 class ColorMap3 : public ColorMap
23 {
24  private:
26  double m_x0,m_x1,m_x2;
27 
28  public:
29  ColorMap3(const Vec3&,const Vec3&,const Vec3&,double,double,double);
30  virtual ~ColorMap3(){}
31  virtual Vec3 getColor(double) const;
32 };
33 
34 #endif // __COLORMAP3_H
ColorMap3::getColor
virtual Vec3 getColor(double) const
Definition: colormap3.cpp:24
ColorMap3::ColorMap3
ColorMap3(const Vec3 &, const Vec3 &, const Vec3 &, double, double, double)
Definition: colormap3.cpp:14
ColorMap3::m_c1
Vec3 m_c1
Definition: colormap3.h:25
ColorMap3::m_x1
double m_x1
Definition: colormap3.h:26
colormap3.h
ColorMap3::m_c0
Vec3 m_c0
Definition: colormap3.h:25
ColorMap3
Definition: colormap3.h:23
ColorMap3::m_x0
double m_x0
Definition: colormap3.h:26
Vec3
Definition: vec3.h:47
ColorMap3::m_c2
Vec3 m_c2
Definition: colormap3.h:25
ColorMap
Definition: colormap.h:19
ColorMap3::m_x2
double m_x2
Definition: colormap3.h:26
ColorMap3::~ColorMap3
virtual ~ColorMap3()
Definition: colormap3.h:30
colormap.h