GLIMSView Source Code Documentation

HistogramSet Class Reference

#include <histogramset.h>

List of all members.


Detailed Description

A group of Histograms that are generated from a HistogramDataSource.

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 ()
Histogramoperator[] (int iHist)
HistogramgetHist (int iHist)

Protected Attributes

Histogram mHistSet [3]
bool mIsColor

Constructor & Destructor Documentation

HistogramSet::HistogramSet (  )  [inline]

Definition at line 15 of file histogramset.h.


Member Function Documentation

template<class DType>
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().

Here is the call graph for this function:

bool HistogramSet::isColor (  )  [inline]

Histogram* HistogramSet::operator[] ( int  iHist  )  [inline]

Definition at line 58 of file histogramset.h.

References mHistSet.

Histogram* HistogramSet::getHist ( int  iHist  )  [inline]

Definition at line 63 of file histogramset.h.

References mHistSet.

Referenced by HistogramDlg::alertUser(), and HistogramDlg::calcPercent().


Member Data Documentation

Definition at line 11 of file histogramset.h.

Referenced by getHist(), operator[](), and setData().

bool HistogramSet::mIsColor [protected]

Definition at line 12 of file histogramset.h.

Referenced by isColor(), and setData().


The documentation for this class was generated from the following file:

Home | Search | Disclaimers & Privacy | Contact Us
GLIMSView Maintainer: dsoltesz@usgs.gov