CGLHistogram Class Reference

#include <CGLHistogram.h>

Inheritance diagram for CGLHistogram:

CGLSurface

List of all members.

Signals

void TransformChange (float, float)

Public Member Functions

 CGLHistogram (QWidget *parent)
 ~CGLHistogram ()
void DisplayData (float *data, int dataSize)
void ResetDataView ()
void ResetDataViewH ()
void ResetDataViewV ()

Protected Member Functions

virtual void Update ()
virtual void onDraw ()
virtual void mouseMoveEvent (QMouseEvent *event)
virtual void mousePressEvent (QMouseEvent *event)
virtual void mouseReleaseEvent (QMouseEvent *event)
virtual void onLOG (QString &)
virtual void onLOG (const char *)

Private Member Functions

void ResetView ()
void ResetViewH ()
void ResetViewV ()

Private Attributes

QGLFramebufferObject * fboObject1
float bgColor [4]
float zoomX
float zoomY
float panX
float panY
bool doZoom
bool doPan


Detailed Description

Definition at line 26 of file CGLHistogram.h.


Constructor & Destructor Documentation

CGLHistogram::CGLHistogram ( QWidget *  parent = 0  ) 

Definition at line 24 of file CGLHistogram.cpp.

References bgColor, CGLSurface::EnableThread(), fboObject1, ResetView(), and Update().

CGLHistogram::~CGLHistogram (  ) 

Definition at line 37 of file CGLHistogram.cpp.

References fboObject1, and SAFE_DELETE.


Member Function Documentation

void CGLHistogram::DisplayData ( float *  data,
int  dataSize 
)

void CGLHistogram::mouseMoveEvent ( QMouseEvent *  event  )  [protected, virtual]

Reimplemented from CGLSurface.

Definition at line 150 of file CGLHistogram.cpp.

References doPan, doZoom, CGLSurface::dx, CGLSurface::dy, CGLSurface::oldPosX, CGLSurface::oldPosY, panX, panY, Update(), zoomX, and zoomY.

void CGLHistogram::mousePressEvent ( QMouseEvent *  event  )  [protected, virtual]

Reimplemented from CGLSurface.

Definition at line 203 of file CGLHistogram.cpp.

References doPan, doZoom, CGLSurface::oldPosX, CGLSurface::oldPosY, ResetView(), and Update().

void CGLHistogram::mouseReleaseEvent ( QMouseEvent *  event  )  [protected, virtual]

Reimplemented from CGLSurface.

Definition at line 224 of file CGLHistogram.cpp.

References doPan, doZoom, and Update().

void CGLHistogram::onDraw (  )  [protected, virtual]

Reimplemented from CGLSurface.

Definition at line 108 of file CGLHistogram.cpp.

References bgColor, fboObject1, panX, zoomX, and zoomY.

Referenced by DisplayData().

virtual void CGLHistogram::onLOG ( const char *   )  [inline, protected, virtual]

Reimplemented from CGLSurface.

Definition at line 57 of file CGLHistogram.h.

virtual void CGLHistogram::onLOG ( QString &   )  [inline, protected, virtual]

Reimplemented from CGLSurface.

Definition at line 56 of file CGLHistogram.h.

void CGLHistogram::ResetDataView (  )  [inline]

Definition at line 39 of file CGLHistogram.h.

References ResetView().

void CGLHistogram::ResetDataViewH (  )  [inline]

Definition at line 40 of file CGLHistogram.h.

References ResetViewH().

void CGLHistogram::ResetDataViewV (  )  [inline]

Definition at line 41 of file CGLHistogram.h.

References ResetViewV().

void CGLHistogram::ResetView (  )  [private]

Definition at line 236 of file CGLHistogram.cpp.

References doPan, doZoom, panX, panY, Update(), zoomX, and zoomY.

Referenced by CGLHistogram(), mousePressEvent(), and ResetDataView().

void CGLHistogram::ResetViewH (  )  [private]

Definition at line 244 of file CGLHistogram.cpp.

References doPan, doZoom, panX, Update(), and zoomX.

Referenced by ResetDataViewH().

void CGLHistogram::ResetViewV (  )  [private]

Definition at line 252 of file CGLHistogram.cpp.

References doPan, doZoom, Update(), and zoomY.

Referenced by ResetDataViewV().

void CGLHistogram::TransformChange ( float  ,
float   
) [signal]

Referenced by Update().

virtual void CGLHistogram::Update (  )  [inline, protected, virtual]


Member Data Documentation

float CGLHistogram::bgColor[4] [private]

Definition at line 75 of file CGLHistogram.h.

Referenced by CGLHistogram(), DisplayData(), and onDraw().

bool CGLHistogram::doPan [private]

bool CGLHistogram::doZoom [private]

QGLFramebufferObject* CGLHistogram::fboObject1 [private]

Definition at line 74 of file CGLHistogram.h.

Referenced by CGLHistogram(), DisplayData(), onDraw(), and ~CGLHistogram().

float CGLHistogram::panX [private]

Definition at line 77 of file CGLHistogram.h.

Referenced by mouseMoveEvent(), onDraw(), ResetView(), ResetViewH(), and Update().

float CGLHistogram::panY [private]

Definition at line 77 of file CGLHistogram.h.

Referenced by mouseMoveEvent(), and ResetView().

float CGLHistogram::zoomX [private]

Definition at line 77 of file CGLHistogram.h.

Referenced by mouseMoveEvent(), onDraw(), ResetView(), ResetViewH(), and Update().

float CGLHistogram::zoomY [private]

Definition at line 77 of file CGLHistogram.h.

Referenced by mouseMoveEvent(), onDraw(), ResetView(), and ResetViewV().


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

Generated on Wed Dec 10 03:22:18 2008 for VStudio by  doxygen 1.5.7.1