- This topic has 2 replies, 2 voices, and was last updated 8 years, 11 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Home › Forum › SOFA › Programming with SOFA › [SOLVED] putting histogram on view
Hi!
I have a problem I wanted to run by you. If you could help me I’d appreciate it.
I need to place an altering histogram, created by another application, on the view that Sofa simulator produces.
Something similar to OGLLabe which writes a text on the view, or more like OGLViewport which puts a view on another view, I wanted to see if you have a suggestion on how I should do this.
Dear Zabolian,
As mentioned by @fspadoni in your other topic about having several windows, the best way to develop your own interface is to write you own GUI, for instance using Qt. To do so, you can base your work on the Sofa GUI (i.e. applications/sofa/gui/qt/RealGUI.cpp or the plugin SimpleGUI in applications/plugins/SofaSimpleGUI)
I would then advise to have a look at the Qt doc: http://www.qcustomplot.com/index.php/demos/barchartdemo
Hope this helps.
Hugo
Dear Zabolian,
Did my previous message help you?
Do you need further support?
Best regards,
Hugo
WARNING
The forum has been moved to GitHub Discussions.
Old topics and replies are kept here as an archive.