const double min_value,
const double max_value);
+ /**
+ * This is one more
+ * alternative color function
+ * producing a grey scale
+ * between white (lowest
+ * values) and black (highest
+ * values), i.e. the scale is
+ * reversed to the previous
+ * one. You may use it by
+ * setting the
+ * @p{color_function}
+ * variable to the address of
+ * this function.
+ */
+ static RgbValues reverse_grey_scale_color_function (const double value,
+ const double min_value,
+ const double max_value);
+
/**
* Constructor.
*/
};
+
DataOutBase::EpsFlags::RgbValues
DataOutBase::EpsFlags::grey_scale_color_function (const double x,
const double xmin,
+DataOutBase::EpsFlags::RgbValues
+DataOutBase::EpsFlags::reverse_grey_scale_color_function (const double x,
+ const double xmin,
+ const double xmax)
+{
+ DataOutBase::EpsFlags::RgbValues rgb_values;
+ rgb_values.red = rgb_values.blue = rgb_values.green
+ = 1-(x-xmin)/(xmax-xmin);
+ return rgb_values;
+};
+
+
+
bool DataOutBase::EpsCell2d::operator < (const EpsCell2d &e) const
{
// note the "wrong" order in
<h3>base</h3>
<ol>
+ <li> <p>
+ New: Color function <code
+ class="member">DataOutBase::EpsFlags::reverse_grey_scale_color_function</code>.
+ <br>
+ (WB 2001/08/24)
+
<li> <p>
New: Function <code class="member">QProjector::project_to_child</code>
generates quadrature formulae which act on the area which a
<br>
(GK 2001/05/17)
-
<li> <p>
New: There is now a new <code
class="class">AutoDerivativeFunction</code> class that