- Apr 10, 2012
-
-
Stuart Layton authored
-
Stuart Layton authored
added check to ProjectionAxes::createFBO() such that glDeleteFramebuffers and glDeleteRenderbuffers are only called if the FBO and RBO have already been generated. OpenGL specs indicate it is fine to call these functions on non existant handles, like on the initial creation of the texture. This wasn't a problem on linux but it was for OSX. It was causing each projection plot to share a single texture and all spikes were going to a single plot. As when the 2nd projection plot called createFBO it deleted the FBO for projection plot 1 and 3 did it for 2, resulting in a single fbo for all plots. This should resolve most of the projection plotting issues for mac
-
Stuart Layton authored
fixed mipmap generation bug for OSX. Previous versions of OpenGl wanted you to hint to generate mipmaps, OSX wants you to explicity call the function that generates them.
-
- Mar 29, 2012
-
-
Stuart Layton authored
modified the SpikeDisplayEditor and SpikeDisplayCanvas objects to make use of the new setParameter(int,int,int,float) method defined in the Visualizer class. Additionally the SpikeDisplayEditor now responds to Pan/Zoom and clear commands. However Pan/Zoom only work on the first plot. Additionally on the "all" button for the sub-channel selector buttons now responds intelligently. ie. if you enable all it turns on, if you disable one it turns off.
-
Stuart Layton authored
-
Stuart Layton authored
updated LfpDisplayCanvas to conform to the updated Visualizer object definition. I simply added an empty method that does nothing to the header file
-
Stuart Layton authored
-
- Mar 28, 2012
-
-
Stuart Layton authored
Implemented basic panning and zooming for the stereotrode plots. I was unable to hook up events from the SpikeDisplayEditor to the SpikeDisplayCanvas correct... so clicking in the 4 quadrants of the canvas has the effect of zooming/panning in/out
-
Stuart Layton authored
fixed drawing bug where the upper voltage grid line would get drawn outside the axes if the axes were resized too small
-
Stuart Layton authored
Polished up the SpikeDisplay Canvas UI. I added channel labels for each spike plot, additionally I re-enabled the labeling of the threshold in the individual WaveformPlots, this is using the FTPixmapFont objects like those found in OpenGLCanvas. This is in lieu of using Glut to render fonts. The rendering code is in PlotUtils.cpp.
-
Stuart Layton authored
-
Stuart Layton authored
the SpikeDisplayCanvas now supports scrolling! i had to change OpenGLCanvas::showScrollBars() from private to protected. Additionally I made scroll pix protected although that might not be needed.
-
- Mar 27, 2012
-
-
Stuart Layton authored
-
Stuart Layton authored
Fixed the ProjectionAxes class such projection plots persists after destruction and recreation of the projectionTexture. This event happens whenever the openGL context is destroyed or the projection plot size changes.
-
- Mar 26, 2012
-
-
Stuart Layton authored
Fixed the problems associated with hiding and displaying the spike canvas. Hiding and then reshowing the canvas caused a new openGL context be be created. This invalidated the handles to the previous Textures and FrameBufferObjects making it impossible to render to them. Each ProjectionPlot::plot() call now checks for openGL errors, if any occur then the Texture is invalidated and a new Texture and FrameBufferObject is created for rendering. Additionally, in order for 'historical' spikes to show up after the texture is recreated I actually have to render the texture twice. I'm not sure what bug is causing this behavior.
-
Stuart Layton authored
moved around the SpikeDisplayEditor GUI elements a bit, removed the Save button and added selector buttons for each subchannel.
-
Stuart Layton authored
Changed drawerButton from private to protected in GenericEditor so that VisualizerEditor can detect when the drawer opens and move the selector buttons accordingly
-
Stuart Layton authored
Modified the VisualizerEditor to allow for custom width. Everything can now be scalled off this width including the selector buttons. This update is backwards compatible. I simply added a 2nd constructor in which the width is passed as an integer
-
Stuart Layton authored
-
- Mar 23, 2012
-
-
Stuart Layton authored
minor updates to the generation of spikeobjects and the way that plots are laid out in the spike display canvas. Resizing causes the program to hang, not sure why...
-
Stuart Layton authored
Began work on the SpikeDisplayEditor. Buttons were added to zoom, pan, clear, and save the plots. Currently only the clear button works Additionally I added a bunch of constants to the SpikeDisplayNode.h which will be used to define messages between the editor and the Canvas
-
Stuart Layton authored
Updated the spike generation such that all three waveforms are drawn from roughly the same distribution of amplitudes
-
Stuart Layton authored
-
- Mar 22, 2012
-
-
Stuart Layton authored
updated the generateSimulatedSpike to appropriately scale the waveforms. Instead of simply shifting the entire waveform the baseline is leftalone and the peak is scaled. Additionally the spikes are now distributed exponentially in amplitude space rather than uniformly
-
- Mar 21, 2012
-
-
Stuart Layton authored
-
Stuart Layton authored
A preliminary version of the ProjectionAxes that renders projection points using a texture instead of drawing each point. This should allow the plots to translate around the page without problem. Additionally the plot can be flagged to regenerate the texture from scratch using a circular buffer of accumulated amplitudes. This hasn't been tested yet. Additionally this code is very alpha and needs to be cleaned up and could break at any time.
-
Stuart Layton authored
-
Stuart Layton authored
-
Stuart Layton authored
-
Stuart Layton authored
Additionally I fixed a minor bug that was preventing projections from getting plotted for tetrodes this is _the_ commit before I start integrating the texture based rendering for projection plots
-
- Mar 20, 2012
-
-
jsiegle authored
-
jsiegle authored
-
jsiegle authored
-
jsiegle authored
-
jsiegle authored
-
Stuart Layton authored
switched SpikeDisplayCanvas to Stereotrode plots from TetrodePlots as I haven't figured out why the tetrodeplots aren't displaying the projection points yet
-
Stuart Layton authored
-
- Mar 19, 2012
-
-
Stuart Layton authored
Started integrating the TetrodePlot class. Oddly the projection plots aren't working although they were working in the stereotrode class, I'll have to figure that one out
-
Stuart Layton authored
updated spike plotting to show points in the projection plots, points don't persists and I haven't been able to disable anti-aliasing on the mac so those things still need to be done
-
- Mar 16, 2012
-
-
Stuart Layton authored
-