#include <histogramset.h>
This provides routines to add, modify, and retrieve the Histogram information.
Definition at line 9 of file histogramset.h.
Public Member Functions | |
HistogramSet () | |
template<class DType> | |
void | setData (DType *rdata, int rlen, DType *gdata=NULL, int glen=0, DType *bdata=NULL, int blen=0) |
bool | isColor () |
Histogram * | operator[] (int iHist) |
Histogram * | getHist (int iHist) |
Protected Attributes | |
Histogram | mHistSet [3] |
bool | mIsColor |
HistogramSet::HistogramSet | ( | ) | [inline] |
Definition at line 15 of file histogramset.h.
void HistogramSet::setData | ( | DType * | rdata, | |
int | rlen, | |||
DType * | gdata = NULL , |
|||
int | glen = 0 , |
|||
DType * | bdata = NULL , |
|||
int | blen = 0 | |||
) | [inline] |
Definition at line 32 of file histogramset.h.
References Histogram::calcHist(), mHistSet, and mIsColor.
Referenced by View::getHistSet().
bool HistogramSet::isColor | ( | ) | [inline] |
Definition at line 54 of file histogramset.h.
References mIsColor.
Referenced by HistogramDlg::alertUser(), HistogramDlg::calcPercent(), HistogramDlg::changeDataSource(), HistogramDlg::createDataPnts(), and HistogramDlg::paintEvent().
Histogram* HistogramSet::operator[] | ( | int | iHist | ) | [inline] |
Histogram* HistogramSet::getHist | ( | int | iHist | ) | [inline] |
Definition at line 63 of file histogramset.h.
References mHistSet.
Referenced by HistogramDlg::alertUser(), and HistogramDlg::calcPercent().
Histogram HistogramSet::mHistSet[3] [protected] |
bool HistogramSet::mIsColor [protected] |
Home |
Search |
Disclaimers & Privacy |
Contact Us GLIMSView Maintainer: dsoltesz@usgs.gov |