Histograms restored.

This commit is contained in:
Emil Martinec
2011-04-07 12:24:23 -05:00
parent cf6059a243
commit 33c0af3010
17 changed files with 68 additions and 63 deletions

View File

@@ -20,6 +20,7 @@
#define _CURVEEDITOR_
#include <popuptogglebutton.h>
#include <LUT.h>
class CurveEditorGroup;
class CurveEditorSubGroup;
@@ -32,7 +33,7 @@ class CurveEditorSubGroup;
/*
* This class is an interface between RT and the curve editor group ; it handles the methods
* related to a specific curve. It is created by CurveEditorGroup::addCurve
* related to a specific curve. It is created by CurveEditorGroup::addCurve
*/
class CurveEditor {
@@ -51,7 +52,7 @@ class CurveEditor {
*/
PopUpToggleButton* curveType;
unsigned int* histogram; // histogram values
LUTu histogram; // histogram values
bool bgHistValid;
int selected;
@@ -70,7 +71,7 @@ class CurveEditor {
void curveTypeToggled();
bool isUnChanged ();
void setUnChanged (bool uc);
void updateBackgroundHistogram (unsigned int* hist);
void updateBackgroundHistogram (LUTu & hist);
void setCurve (const std::vector<double>& p);
virtual std::vector<double> getCurve () = 0;
};
@@ -98,7 +99,7 @@ class DiagonalCurveEditor : public CurveEditor {
/*
********************** Flat Curve Editor **********************
********************** Flat Curve Editor **********************
*/