Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

Impala::Application::TagsLife::TagsWeekPlot Class Reference

#include <TagsWeekPlot.h>

Inheritance diagram for Impala::Application::TagsLife::TagsWeekPlot:

Inheritance graph
[legend]
Collaboration diagram for Impala::Application::TagsLife::TagsWeekPlot:

Collaboration graph
[legend]
List of all members.

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
WindowView2DmDetailView
WindowView2DmDetailRef
WindowmWeekSensorWnd
StaticTextmWeekText
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

Detailed Description

Definition at line 16 of file TagsWeekPlot.h.


The documentation for this class was generated from the following file:
Generated on Fri Mar 19 10:51:49 2010 for ImpalaSrc by  doxygen 1.5.1