SourceFiles.org - Use the Source, Luke
Home | Register | News | Forums | Guide | MyLinks | Bookmark

Related Sites

Latest News
  General News
  Reviews
  Press Releases
  Software
  Hardware
  Security
  Tutorials
  Off Topic


Back to files

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/


Other Sites

Discussion Groups
  Beginners
  Distributions
  Networking / Security
  Software
  PDAs

About | FAQ | Privacy | Awards | Contact
Comments to the webmaster are welcome.
Copyright 2006 Sourcefiles.org All rights reserved.