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

Base class for drawing spike plots in OpenGL. More...

#include <BaseUIElement.h>

Inheritance diagram for BaseUIElement:
GenericAxes SpikePlot ProjectionAxes WaveAxes

List of all members.

Public Member Functions

 BaseUIElement ()
 BaseUIElement (int x, int y, double w, double h)
 BaseUIElement (int x, int y, double w, double h, int p)
virtual void redraw ()
void drawElementEdges ()
virtual void setEnabled (bool e)
virtual bool getEnabled ()
virtual void setPosition (int x, int y, double w, double h)
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

void setGlViewport ()

Protected Attributes

int xpos
int ypos
int yOffset
double height
double width
bool enabled
double padding

Detailed Description

Base class for drawing spike plots in OpenGL.

See also:
SpikeDisplayCanvas

Constructor & Destructor Documentation

BaseUIElement::BaseUIElement ( )
BaseUIElement::BaseUIElement ( int  x,
int  y,
double  w,
double  h 
)
BaseUIElement::BaseUIElement ( int  x,
int  y,
double  w,
double  h,
int  p 
)

Member Function Documentation

void BaseUIElement::setGlViewport ( )
protected
virtual void BaseUIElement::redraw ( )
virtual

Reimplemented in ProjectionAxes, SpikePlot, GenericAxes, and WaveAxes.

void BaseUIElement::drawElementEdges ( )
virtual void BaseUIElement::setEnabled ( bool  e)
virtual

Reimplemented in SpikePlot.

virtual bool BaseUIElement::getEnabled ( )
virtual

Reimplemented in SpikePlot.

virtual void BaseUIElement::setPosition ( int  x,
int  y,
double  w,
double  h 
)
virtual

Reimplemented in SpikePlot, and GenericAxes.

virtual void BaseUIElement::setPosition ( int  ,
int   
)
virtual
virtual void BaseUIElement::getPosition ( int *  ,
int *  ,
double *  ,
double *   
)
virtual
double BaseUIElement::getHeight ( )
double BaseUIElement::getWidth ( )
int BaseUIElement::getX ( )
int BaseUIElement::getY ( )
virtual void BaseUIElement::processSpikeObject ( SpikeObject  s)
virtual

Reimplemented in SpikePlot.

virtual void BaseUIElement::pan ( int  ,
bool   
)
virtual

Reimplemented in SpikePlot.

virtual void BaseUIElement::zoom ( int  ,
bool   
)
virtual

Reimplemented in SpikePlot.

virtual void BaseUIElement::clear ( )
virtual

Reimplemented in SpikePlot, and ProjectionAxes.

bool BaseUIElement::hitTest ( int  x,
int  y 
)

Member Data Documentation

int BaseUIElement::xpos
protected
int BaseUIElement::ypos
protected
int BaseUIElement::yOffset
protected
double BaseUIElement::height
protected
double BaseUIElement::width
protected
bool BaseUIElement::enabled
protected
double BaseUIElement::padding
protected

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