Signal Browser
this application is useful for displaying & browsing large signals. A file of up to 4GB and 8 channels shouldn't be any problem. It's using OpenGL and gtk for visualization und control. It can also load and interpret a cluster analysis for an available signal.
It's using a concept of so called 'painters'. A painter is a class which knows how to visualize a signal or other available data in a certain manner. To write your own painter you need to do the following things (for now we call the new painter sample): 1. Read both src/pntrrectangle.h and src/pntrrectangle.cc 2. create your own src/pntrsample.h and src/pntrsample.cc
--> please use the same naming convention. 3. in those created files write a new painter class called
PntrSample which inherits OGLPainter publicly. 4. edit src/sigbrowser.cc and:
- add an '#include <pntrsample.h>'
- instanciate and add a new painter object to the
available CGUIAbstractor. Just as is done with the
PntrRectangle object. 5. edit src/Makefile.am and add your new src/pntrrectangle.h and
src/pntrrectangle.cc to the lists of .h respectively .cc files. 6. "cd src && make && ./sigbrowser"
--> for all these steps, always take PntrRectangle and other
existing Pntr* as example. Never access the gtk gui directly,
it might get replaced one day (you better don't believe that ;).
For such purposes we have the GUIAbstractor class.
Greetings
S. Fuchs
http://srf.ch/
