class DVcolor_map

A class which maps values to colors

Public Methods

[more] DVcolor_map()
Default constructor
[more] DVcolor_map(LCVMarray<float> &, LCVMarray<DVcolor> &)
Constructor with an array of points and colors.
[more] DVcolor_map(DVcolor &, DVcolor &, DVcolor &)
Constructor with 3 colors.
[more] DVcolor_map(LCVMarray<DVcolor> &)
Constructor with an array of colors.
[more] DVcolor_map(DVcolor &, DVcolor &)
Constructor with 2 colors.
[more] ~DVcolor_map()
Destructor
[more] DVcolor_map(const DVcolor_map &data)
Copy constructor
[more]const DVcolor_map& operator=(const DVcolor_map &data)
Assignement operator
[more]int operator==(const DVcolor_map &data) const
Check for equality
[more]int operator!=(const DVcolor_map &data) const
Check for inequality
[more]void print(ostream &) const
[more]void set_data()
Default set_data.
[more]void set_data(DVcolor &, DVcolor &)
Set_data with 2 colors The color map will interpolate between then two given colors
[more]void set_data(DVcolor &, DVcolor &, DVcolor &)
Set_data with 3 colors The color map will interpolate between the given colors
[more]void set_data(LCVMarray<float> &, LCVMarray<DVcolor> &)
Set_data with an array of points and colors The color map will interpolate between the given colors based upon the values given in the float array
[more]void set_data(LCVMarray<DVcolor> &)
Set_data with an array of colors The color map will interpolate between the given colors using even spacing
[more]void get_color(const float, const float, const float, DVcolor&)
Get the color which corresponds to the given min, max, and value
[more] DVcolor_map(FileOption)
Methods concrening the reading from a file
[more] DVcolor_map(FileOption, LCVMstring &)
Methods concrening the reading from a file
[more]void set_data(FileOption)
Methods concrening the reading from a file
[more]void print(ostream &, FileOption)
Methods concrening the reading from a file

Protected Fields

[more]LCVMarray<float> points
[more]LCVMarray<DVcolor> colors


Documentation

A class which maps values to colors
oLCVMarray<float> points

oLCVMarray<DVcolor> colors

o DVcolor_map()
Default constructor

o DVcolor_map(LCVMarray<float> &, LCVMarray<DVcolor> &)
Constructor with an array of points and colors. The color map will interpolate between the given colors based upon the values given in the float array.

o DVcolor_map(DVcolor &, DVcolor &, DVcolor &)
Constructor with 3 colors. The color map will interpolate between the given colors.

o DVcolor_map(LCVMarray<DVcolor> &)
Constructor with an array of colors. The color map will interpolate between the given colors using even spacing.

o DVcolor_map(DVcolor &, DVcolor &)
Constructor with 2 colors. The color map will interpolate between then two given colors.

o ~DVcolor_map()
Destructor

o DVcolor_map(const DVcolor_map &data)
Copy constructor

oconst DVcolor_map& operator=(const DVcolor_map &data)
Assignement operator

oint operator==(const DVcolor_map &data) const
Check for equality

oint operator!=(const DVcolor_map &data) const
Check for inequality

ovoid print(ostream &) const

ovoid set_data()
Default set_data.

ovoid set_data(DVcolor &, DVcolor &)
Set_data with 2 colors The color map will interpolate between then two given colors

ovoid set_data(DVcolor &, DVcolor &, DVcolor &)
Set_data with 3 colors The color map will interpolate between the given colors

ovoid set_data(LCVMarray<float> &, LCVMarray<DVcolor> &)
Set_data with an array of points and colors The color map will interpolate between the given colors based upon the values given in the float array

ovoid set_data(LCVMarray<DVcolor> &)
Set_data with an array of colors The color map will interpolate between the given colors using even spacing

ovoid get_color(const float, const float, const float, DVcolor&)
Get the color which corresponds to the given min, max, and value

o DVcolor_map(FileOption)
Methods concrening the reading from a file

o DVcolor_map(FileOption, LCVMstring &)
Methods concrening the reading from a file

ovoid set_data(FileOption)
Methods concrening the reading from a file

ovoid print(ostream &, FileOption)
Methods concrening the reading from a file


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.