Open Ephys GUI
 All Classes Functions Variables
Public Member Functions | Public Attributes | Protected Member Functions | Private Member Functions | Private Attributes
ProjectionAxes Class Reference
Inheritance diagram for ProjectionAxes:
GenericAxes BaseUIElement

List of all members.

Public Member Functions

 ProjectionAxes (int x, int y, double w, double h, int t)
void setPosition (int, int, int, int)
void updateSpikeData (SpikeObject s)
void setPointColor (GLfloat r, GLfloat g, GLfloat b)
void setGridColor (GLfloat, GLfloat, GLfloat)
void clear ()
void invalidateTexture ()
void redraw ()
- Public Member Functions inherited from GenericAxes
 GenericAxes (int x, int y, double w, double h, int t)
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 (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)
bool hitTest (int x, int y)

Public Attributes

bool overlay
bool drawGrid
bool convertLabelUnits

Protected Member Functions

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

Private Member Functions

void drawProjectionGrid (int thold, int gain)
void calcWaveformPeakIdx (int, int, int *, int *)
void createTexture ()
void createFBO ()
void drawSpikesToTexture (bool allSpikes)
void drawTexturedQuad ()
void plotOldSpikes (bool allSpikes)
void plotNewestSpike ()
void clearTexture ()
void validateTexture ()

Private Attributes

GLfloat pointColor [3]
GLfloat gridColor [3]
int ampBuffer [2][AMP_BUFF_MAX_SIZE]
uint16_t buffIdx
uint64_t totalSpikes
int ampDim1
int ampDim2
bool newSpike
GLuint fboId
GLuint textureId
GLuint rboId
int texWidth
int texHeight
bool clearOnNextDraw
bool isTextureValid
bool fboCreated
bool allSpikesNextRender

Additional Inherited Members

- Protected Attributes inherited from GenericAxes
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

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