DisplayOpenGL Class Reference

OpenGL based Display implementation. More...

#include <display/DisplayOpenGL.h>

Inheritance diagram for DisplayOpenGL:

Display

List of all members.

Public Member Functions

 DisplayOpenGL (void *hParent)
virtual void SetMode (const enum E_DISPLAY_MODE m)
 Switch between plot modes (time graph/FFT/...).
virtual void Update (enum E_UPDATE_LEVEL level)
 Update displayed content.
virtual void ChangeSize (int iWidth, int iHeight)
 Resize viewport (visible area of plot).
virtual void SetCursor1 (int x, int y)
 Set position of cursor #1.
virtual void SetCursor2 (int x, int y)
 Set position of cursor #2.
virtual void PosToPhysical (int x, int y, float &fValX, float &fValY)
 Transform screen coordinates to physical values.
virtual void SetZoom (int iCenterX, int iCenterY, float fZoomX, float fZoomY)
 Set viewport offset and zoom.
virtual void Move (int iStartX, int iStartY, int iStopX, int iStopY)
 Move viewport.


Detailed Description

OpenGL based Display implementation.

Member Function Documentation

void DisplayOpenGL::SetZoom ( int  iCenterX,
int  iCenterY,
float  fZoomX,
float  fZoomY 
) [virtual]

Set viewport offset and zoom.

Parameters:
iCenterX requested center of viewport (i.e. zoom click coordinate), -1 to omit
iCenterY requested center of viewport (i.e. zoom click coordinate), -1 to omit
fZoomX X-axis scale
fZoomY Y-axis scale

Implements Display.

void DisplayOpenGL::Update ( enum E_UPDATE_LEVEL  level  )  [virtual]

Update displayed content.

Parameters:
level Used to specify parts of graph that must be updated.

Implements Display.


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

Generated on Thu Jul 2 23:00:07 2009 for armscope by  doxygen 1.5.9
Tomasz Ostrowski