Open Ephys GUI
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Protected Member Functions | Protected Attributes
GenericAxes Class Reference

Base class for drawing axes with OpenGL. More...

#include <GenericAxes.h>

Inheritance diagram for GenericAxes:
BaseUIElement ProjectionAxes WaveAxes

List of all members.

Public Member Functions

 GenericAxes ()
 GenericAxes (int x, int y, double w, double h, int t)
virtual ~GenericAxes ()
void updateSpikeData (SpikeObject s)
virtual void redraw ()
void setXLims (double xmin, double xmax)
void getXLims (double *xmin, double *xmax)
void setYLims (double ymin, double ymax)
void getYLims (double *ymin, double *ymax)
void setType (int type)
int getType ()
void setPosition (int, int, double, double)
- Public Member Functions inherited from BaseUIElement
 BaseUIElement ()
 BaseUIElement (int x, int y, double w, double h)
 BaseUIElement (int x, int y, double w, double h, int p)
void drawElementEdges ()
virtual void setEnabled (bool e)
virtual bool getEnabled ()
virtual void setPosition (int, int)
virtual void getPosition (int *, int *, double *, double *)
double getHeight ()
double getWidth ()
int getX ()
int getY ()
virtual void processSpikeObject (SpikeObject s)
virtual void pan (int, bool)
virtual void zoom (int, bool)
virtual void clear ()
bool hitTest (int x, int y)

Protected Member Functions

virtual void plot ()
void loadFont ()
- Protected Member Functions inherited from BaseUIElement
void setGlViewport ()

Protected Attributes

double xlims [2]
double ylims [2]
SpikeObject s
bool gotFirstSpike
int type
FTPixmapFont * font
- Protected Attributes inherited from BaseUIElement
int xpos
int ypos
int yOffset
double height
double width
bool enabled
double padding

Detailed Description

Base class for drawing axes with OpenGL.

See also:
BaseUIElement, ProjectionAxes, WaveAxes

Constructor & Destructor Documentation

GenericAxes::GenericAxes ( )
GenericAxes::GenericAxes ( int  x,
int  y,
double  w,
double  h,
int  t 
)
virtual GenericAxes::~GenericAxes ( )
virtual

Member Function Documentation

virtual void GenericAxes::plot ( )
protectedvirtual

Reimplemented in ProjectionAxes, and WaveAxes.

void GenericAxes::loadFont ( )
protected
void GenericAxes::updateSpikeData ( SpikeObject  s)

Reimplemented in ProjectionAxes, and WaveAxes.

virtual void GenericAxes::redraw ( )
virtual

Reimplemented from BaseUIElement.

Reimplemented in ProjectionAxes, and WaveAxes.

void GenericAxes::setXLims ( double  xmin,
double  xmax 
)
void GenericAxes::getXLims ( double *  xmin,
double *  xmax 
)
void GenericAxes::setYLims ( double  ymin,
double  ymax 
)
void GenericAxes::getYLims ( double *  ymin,
double *  ymax 
)
void GenericAxes::setType ( int  type)
int GenericAxes::getType ( )
void GenericAxes::setPosition ( int  ,
int  ,
double  ,
double   
)
virtual

Reimplemented from BaseUIElement.


Member Data Documentation

double GenericAxes::xlims[2]
protected
double GenericAxes::ylims[2]
protected
SpikeObject GenericAxes::s
protected
bool GenericAxes::gotFirstSpike
protected
int GenericAxes::type
protected
FTPixmapFont* GenericAxes::font
protected

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