I need to add my own, self made qt gui in paraview. I heard about paraview plugins that should allow that. But I do not find a tutorial on it. How can I add buttons, checkboxes, comboboxes in Paraview? Could somebody show me an example? Thanks in advance
Adding own GUI in Paraview
Asked Answered
Did you find info on how to create checkboxes, buttons, etc? I'm doing the same and all I can find in the examples are textfields. Thanks. –
Bloxberg
After looking at a script made by someone to automatically generate GUIs (kitware.com/blog/home/post/534), I found that this page has the available components: paraview.org/Wiki/ParaView/Plugin_HowTo –
Bloxberg
The ParaView Wiki has lots of information on using and customising ParaView. In particular, see the section on plugins and the page on writing custom applications. These describe two different ways of customising the functionality of ParaView.
You don't state what language your GUI is written in, but if you can use or call Python then the easiest way to interact with ParaView may be through the Python scripting interface.
I am using QT as a GUI language. As soon as I understood, you need to provide a dll. So I think (correct me if I am wrong), I should create a C++ library project in QT, create dll, lib, ... and then I should load this dll from the Paraview. –
Lavinialavinie
To be honest I have never tried to modify ParaView using a QT application, so I don't know any more than what is in the ParaView Wiki pages I link to. The writing custom applications page seems to describe the build process you need (see from here). –
Cadi
I looked online at Paraview Wiki and so on, but it is a mess, it is not clear at all where should you start and where to finish.. –
Lavinialavinie
It isn't the greatest. You're probably best off asking this question on the ParaView users mailing list. The ParaView tag on SO doesn't get much attention so you are far more likely to get a definitive answer on the mailing list. –
Cadi
Yes, maybe I should try it there. Thanks anyway –
Lavinialavinie
In Paraview 4.1 it's also possible to create a plugin from a programmable filter or a programmable source (= no need to compile paraview) see kitware.com/blog/home/post/534 –
Ruiz
Please refer to the Examples in the paraview source code. They are up to date and you will find plugin example as well as paraview based Qt Apllication example. –
Portemonnaie
© 2022 - 2024 — McMap. All rights reserved.