Histograms restored.
This commit is contained in:
@@ -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 **********************
|
||||
*/
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user