From 3ce49858c6859fccc2e4d35839c34685348790d1 Mon Sep 17 00:00:00 2001 From: Samuel Fadel Date: Wed, 2 Mar 2016 15:47:24 -0300 Subject: Improvements related to ColorScale and screenshots. * ColorScale: now a pointer whenever needed. main() takes care of updating extents * New class DivergentColorScale: works specifically for divergent scales, always has 3 colors as input: negative values, 0, positive values * ManipulationHandler: ProjectionHistory no longer needed --- numericrange.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'numericrange.h') diff --git a/numericrange.h b/numericrange.h index 0b69d0e..ebb20ef 100644 --- a/numericrange.h +++ b/numericrange.h @@ -5,7 +5,7 @@ #include /* - * A range in [first, last) in steps of 1. + * A (low memory usage) generator of ranges in steps of 1. */ template class NumericRange @@ -55,6 +55,9 @@ public: T m_value; }; + /* + * The range [first, last). + */ NumericRange(const T &first, const T &last) : m_begin(first) , m_end(last) -- cgit v1.2.3