Re: [Paraview] custom view plugin - minimal example needed

2018-01-29 Thread Kolja Petersen
Thanks Artem, but we have decided to complete the project without any Paraview dependencies. The Kitware business model is not working for us. Kolja On Sat, Jan 27, 2018 at 6:34 PM, Artem Bodrin wrote: > Hello, dear participants. > > Actually, one can do what Kolja needs.

Re: [Paraview] custom view plugin - minimal example needed

2018-01-27 Thread Artem Bodrin
Hello, dear participants. Actually, one can do what Kolja needs. If you are still interested, I can deduce the sample from my plugin. In 2 words: 1) inherit main view class MyView from pqView 2) create a stub class vtkPVMyView, inherited from vtkPVView, override pure virtual functions 3) add

Re: [Paraview] custom view plugin - minimal example needed

2018-01-27 Thread Kolja Petersen
Thank you Mathieu, your answer helped me decide whether to continue our developments based on Paraview. Kolja Virenfrei. www.avast.com

Re: [Paraview] custom view plugin - minimal example needed

2018-01-26 Thread Mathieu Westphal
Hi Kolja Inheriting directly from vtkPVView is not possible as there is specific code dedicated to managing each type of base view. Even if it was possible, it would not allow you to add QtWidget anywhere in the view. This is not possible due to design. However, there are possibilities to add Qt

Re: [Paraview] custom view plugin - minimal example needed

2018-01-25 Thread Kolja Petersen
Dear Mathieu, I may be missing the point of your suggested code. I asked whether plugins can provide views beyond the existing RenderViews, on 15 January I sent a code snippet to the list to show my successful attempts that implement a new RenderView and ask how to replace it with a generic view

Re: [Paraview] custom view plugin - minimal example needed

2018-01-23 Thread Kolja Petersen
Thanks, Mathieu, unfortunately the RenderView or the other hardcoded views won't work for us. As I described, I need to implement a custom view with a bunch of input fields and buttons to represent data statistics. The corresponding Qt views of the 4 mentioned View classes are created in

Re: [Paraview] custom view plugin - minimal example needed

2018-01-23 Thread Mathieu Westphal
Hello Here is a minimal example for creating a new type of view within a plugin. You actually cannot inherit directly from vtkPVView, you must inherit for a base view, which can be : - vtkPVRenderView - vtkPVContextView - vtkPythonView - vtkSpreadSheetView (

Re: [Paraview] custom view plugin - minimal example needed

2018-01-22 Thread Kolja Petersen
Thank you, Mathieu, any update on this? All my research seems to point to a few hardcoded views that are accessible. I simply can't find a solution to implement a new view and open it from a plugin. Thanks Kolja On Wed, Jan 17, 2018 at 9:55 AM, Mathieu Westphal < mathieu.westp...@kitware.com>

Re: [Paraview] custom view plugin - minimal example needed

2018-01-17 Thread Mathieu Westphal
Hi Kolja I have a simple view plugin project ongoing that I should be able to scale down for your needs. I will try to find the time to do it before the end fo the week. Best, Mathieu Westphal On Tue, Jan 16, 2018 at 8:38 PM, Kolja Petersen wrote: > Is it possible to

Re: [Paraview] custom view plugin - minimal example needed

2018-01-16 Thread Kolja Petersen
Is it possible to write a plugin that derives from vtkPVView instead of vtkPVRenderView? I don't know how I can further shorten my question. The answer is quite important to decide whether we can continue our ParaView developments. Thank you Kolja

[Paraview] custom view plugin - minimal example needed

2018-01-14 Thread Kolja Petersen
Dear plugin developers, I need to implement a custom view to present datasets in a detailed editable format. This link says that the plugin tutorial is obsolete for the view part: https://www.paraview.org/Wiki/ParaView/Plugin_HowTo#Adding_a_custom_view_.2A_obsolete_.2A The