7 #ifndef BALL_VIEW_DATATYPE_COLORMAP_H
8 #define BALL_VIEW_DATATYPE_COLORMAP_H
10 #ifndef BALL_VIEW_DATATYPE_COLORRGBA_H
14 #ifndef BALL_MATHS_VECTOR4_H
29 :
public vector<ColorRGBA>
81 void createMapJet(const
Size color_number);
87 void setNumberOfColors(const
Size color_number);
90 Size getNumberOfColors() const;
93 void setAlphaBlending(
bool blending);
96 bool getAlphaBlending() const;
124 bool setInterpolationBoundaries(const vector<
Vector4>& boundaries);
133 virtual
void dump(std::ostream& s = std::cout,
Size depth = 0) const;
139 bool alpha_blending_;
142 bool has_min_max_colors_;
#define BALL_CREATE(name)
T max(const T &a, const T &b)
T min(const T &a, const T &b)