#include <histogramuser.h>
A look up table generation routine is provided that uses the points linear stretch points from the HistogramDlg. A scaling routine is provided that scales a char array with the lookup table.
Definition at line 16 of file histogramuser.h.
Signals | |
void | ctableChanged () |
Public Member Functions | |
HistogramUser () | |
void | reset () |
virtual | ~HistogramUser () |
virtual const QPointArray * | getHistPnts () |
virtual void | setHistPnts (QPointArray pnts[3]) |
void | scaleVal (unsigned char *data, int len) |
Protected Member Functions | |
virtual void | calcCTable () |
Protected Attributes | |
QPointArray | mPnts [3] |
unsigned char | mCTable [3][256] |
HistogramUser::HistogramUser | ( | ) | [inline] |
Definition at line 118 of file histogramuser.h.
References reset().
virtual HistogramUser::~HistogramUser | ( | ) | [inline, virtual] |
Definition at line 131 of file histogramuser.h.
virtual void HistogramUser::calcCTable | ( | ) | [inline, protected, virtual] |
Definition at line 22 of file histogramuser.h.
References mCTable, and mPnts.
Referenced by setHistPnts().
void HistogramUser::reset | ( | ) | [inline] |
virtual const QPointArray* HistogramUser::getHistPnts | ( | ) | [inline, virtual] |
Definition at line 134 of file histogramuser.h.
References mPnts.
Referenced by HistogramDlg::initPntsFromUser().
virtual void HistogramUser::setHistPnts | ( | QPointArray | pnts[3] | ) | [inline, virtual] |
Definition at line 138 of file histogramuser.h.
References calcCTable(), ctableChanged(), and mPnts.
Referenced by HistogramDlg::alertUser().
void HistogramUser::scaleVal | ( | unsigned char * | data, | |
int | len | |||
) | [inline] |
Definition at line 146 of file histogramuser.h.
References mCTable.
Referenced by View::paintEvent().
void HistogramUser::ctableChanged | ( | ) | [signal] |
Referenced by setHistPnts().
QPointArray HistogramUser::mPnts[3] [protected] |
Definition at line 19 of file histogramuser.h.
Referenced by calcCTable(), getHistPnts(), and setHistPnts().
unsigned char HistogramUser::mCTable[3][256] [protected] |
Home |
Search |
Disclaimers & Privacy |
Contact Us GLIMSView Maintainer: dsoltesz@usgs.gov |