#include <TagsWeekPlot.h>
Inheritance diagram for Impala::Application::TagsLife::TagsWeekPlot:
Public Types | |
typedef OglGui::Window | Window |
typedef OglGui::WindowView2D | WindowView2D |
typedef OglGui::StaticText | StaticText |
Public Member Functions | |
TagsWeekPlot (Window *parent, int x, int y, int w, int h, int nrView=100) | |
void | SetImage (int idx, OGLIMAGE *im) |
void | ShowRange (int first, int last) |
void | BarColors (ULONG borderCol, ULONG bgCol, ULONG fillCol) |
int | FirstVisible () |
int | LastVisible () |
void | MinimumViewSize (int sz) |
int | MinimumViewSize () |
void | Clear () |
void | AddToHistogram (int val, float fillPerc=0.f, OGLIMAGE *oglIm=0) |
int | NrVisible () |
virtual void | DisplayFunc () |
virtual void | WindowMouseEvent (OglGui::Window *src, int msg, int but, int state, int x, int y, void *userData) |
Protected Member Functions | |
void | WndView2DMouseEvent (WindowView2D *wndView2D, int msg) |
void | WeekWndMouseEvent (Window *wnd, int msg, int x, int y) |
void | HandleViews () |
void | ShowWeekNr (int weekNr, int x, int slotSz) |
void | ShowLabel (int value, int y) |
void | ShowHistogram () |
void | HandleDetailView () |
Private Member Functions | |
void | Init (int w, int h, int nrView) |
double | findStep (double min, double max, double &newMin, double &newMax) |
double | findStep (double &min, double &max) |
Private Attributes | |
std::vector< int > | mHistogram |
std::vector< float > | mFills |
std::vector< OGLIMAGE * > | mOglImages |
std::vector< WindowView2D * > | mWndViews |
WindowView2D * | mDetailView |
WindowView2D * | mDetailRef |
Window * | mWeekSensorWnd |
StaticText * | mWeekText |
int | mNrViews |
int | mFirstVisible |
int | mLastVisible |
int | mMinViewSize |
long | mMaxFreq |
int | mStep |
ULONG | mBarBorderColor |
ULONG | mBarBgColor |
ULONG | mBarFillColor |
Static Private Attributes | |
static const int | AXIS_X = 65 |
static const int | AXIS_Y = 20 |
static const int | WNDVIEW2D_IDX = 1 |
static const int | WEEKWND_IDX = 2 |
Definition at line 16 of file TagsWeekPlot.h.