views:

525

answers:

5

I have a process which generates a data vector from a sensor.I'm using Intel Integrated Performance Primitives v5.3 update 3 for Windows on IA-32 to process it further for some calculations.I want to know if there is any c++ library which allows to plot the vector as a histogram/bar chart during data acquisition.I can write the multi-threaded code,but need information on availability of plotting functions in C++. This thing is pretty simple in MATLAB ,but I want to do it using c++ .

Suggestions are welcome !!

A: 

I use OpenInventor for scientific visualisation. It may be (in some ways) a relic of the old SGI days, but it is still being supported and works well. Regarding graphing and other scientific visualisation, look at MeshViz and other extensions from Mercury:

It has charting, vector visualisation, etc. It's quite comprehensive.

It's not free, but they do trial licenses so you can determine if it suits your needs.

Daniel Paull
A: 

Do all of these libraries support multi-threading ? Are their containers / data structures thread-safe ?

I want to do develop my code in parallel with the MATLAB code I've already written and though the development is way faster in MATLAB but as we all know when it comes to real-time data acquisition and processing , we don't have many choices .

Have any of you guys used Intel IPP/MKL alongwith the packages you mentioned ? Currently I'm on Windows but might have a look at Linux packages if they are easier to use and provide better features !!

A: 

Has anyone seen tried this kind of thing before ?

+1  A: 

As mentioned above, VTK is an open source C++ viz library. And more importantly, it is by-design parallelized. It will try and use whatever hardware you can give it.

Mike