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:
ElectrodePlot GenericAxes StereotrodePlot TetrodePlot 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

virtual void BaseUIElement::clear ( )
inlinevirtual

Reimplemented in ProjectionAxes, TetrodePlot, and StereotrodePlot.

void BaseUIElement::drawElementEdges ( )
virtual bool BaseUIElement::getEnabled ( )
virtual

Reimplemented in StereotrodePlot, TetrodePlot, and ElectrodePlot.

double BaseUIElement::getHeight ( )
virtual void BaseUIElement::getPosition ( int *  ,
int *  ,
double *  ,
double *   
)
virtual
double BaseUIElement::getWidth ( )
int BaseUIElement::getX ( )
int BaseUIElement::getY ( )
bool BaseUIElement::hitTest ( int  x,
int  y 
)
virtual void BaseUIElement::pan ( int  ,
bool   
)
inlinevirtual

Reimplemented in TetrodePlot, and StereotrodePlot.

virtual void BaseUIElement::processSpikeObject ( SpikeObject  s)
inlinevirtual

Reimplemented in TetrodePlot, StereotrodePlot, and ElectrodePlot.

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

Reimplemented in StereotrodePlot, TetrodePlot, and ElectrodePlot.

void BaseUIElement::setGlViewport ( )
protected
virtual void BaseUIElement::setPosition ( int  x,
int  y,
double  w,
double  h 
)
virtual
virtual void BaseUIElement::setPosition ( int  ,
int   
)
inlinevirtual
virtual void BaseUIElement::zoom ( int  ,
bool   
)
inlinevirtual

Reimplemented in TetrodePlot, and StereotrodePlot.


Member Data Documentation

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

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