SoDaRadio-5.0.3-master:8901fb5
|
A generic histogram widget. More...
#include <Histogram.hxx>
Public Member Functions | |
Histogram (unsigned int _num_buckets, double _min, double _max) | |
Constructor for the histogram. More... | |
void | updateTable (double v) |
void | writeTable (const std::string &fname) |
Protected Attributes | |
unsigned int * | table |
double | recip_bucket_interval |
unsigned int | num_buckets |
double | min |
double | max |
A generic histogram widget.
Definition at line 39 of file Histogram.hxx.
|
inline |
Constructor for the histogram.
_num_buckets | the number of buckets in the histogram |
_min | the value corresponding to the bottom of bucket 0 in the histogram |
_max | the value corresponding to the top of bucket (num_buckets - 1) in the histogram |
Definition at line 51 of file Histogram.hxx.
References max, min, num_buckets, recip_bucket_interval, and table.
|
inline |
Definition at line 61 of file Histogram.hxx.
References max, min, num_buckets, recip_bucket_interval, and table.
|
inline |
Definition at line 68 of file Histogram.hxx.
References min, num_buckets, recip_bucket_interval, and table.
|
protected |
Definition at line 86 of file Histogram.hxx.
Referenced by Histogram(), and updateTable().
|
protected |
Definition at line 86 of file Histogram.hxx.
Referenced by Histogram(), updateTable(), and writeTable().
|
protected |
Definition at line 85 of file Histogram.hxx.
Referenced by Histogram(), updateTable(), and writeTable().
|
protected |
Definition at line 84 of file Histogram.hxx.
Referenced by Histogram(), updateTable(), and writeTable().
|
protected |
Definition at line 83 of file Histogram.hxx.
Referenced by Histogram(), updateTable(), and writeTable().