[Paraview] custom view plugin - minimal example needed

Kolja Petersen petersenkolja at gmail.com
Mon Jan 22 13:08:27 EST 2018


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.westphal at kitware.com> wrote:

> 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 <petersenkolja at gmail.com>
> wrote:
>
>> 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
>>
>>
>> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> Virenfrei.
>> www.avast.com
>> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>> <#m_63782262572172547_m_2726909845290941008_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>
>> On Mon, Jan 15, 2018 at 7:32 PM, Kolja Petersen <petersenkolja at gmail.com>
>> wrote:
>>
>>> I have stripped down Plugin/MantaView until all compilation problems
>>> disappear. What is left, is basically a plugin for a vtkOpenGLRenderer.
>>> The code, consisting of only two minimal classes, is attached and can be
>>> built using:
>>> unzip snippet-viewplugin.zip && mkdir build && cd build && cmake && make
>>> (tested with ParaView 5.4.1)
>>>
>>> This brings me back to my initial question. I'd like to show a custom
>>> view, made of a number of Qt widgets (buttons and text) to show important
>>> statistics.
>>> In SnippetView.xml, the view is declared as:
>>> <SnippetViewProxy class="vtkPVSnippetView" ... base_proxygroup="views"
>>> base_proxyname="RenderView" ...
>>>
>>> How can I replace 'base_proxyname="RenderView"' by some generic view, to
>>> be filled with widgets? "View" or "ViewBase" are not recognized as base
>>> proxies.
>>> Thank you
>>> Kolja
>>>
>>>
>>> On Sun, Jan 14, 2018 at 5:05 PM, Kolja Petersen <petersenkolja at gmail.com
>>> > wrote:
>>>
>>>> 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 Examples/Plugins/GUIView suggested in the link doesn't exist. The
>>>> Plugins/MantaView is rather complex and doesn't compile due to other bugs
>>>> as reported elsewhere, so that I can't get a clue how the MantaView plugin
>>>> is supposed to work.
>>>>
>>>> Could some kind developer upload a minimal working view plugin example,
>>>> which needs to display only a simple QButton or any other widget? This will
>>>> help to allow users build their custom views for ParaView 5.x.y.
>>>> Thank you
>>>> Kolja
>>>>
>>>
>>>
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the ParaView Wiki at:
>> http://paraview.org/Wiki/ParaView
>>
>> Search the list archives at: http://markmail.org/search/?q=ParaView
>>
>> Follow this link to subscribe/unsubscribe:
>> https://paraview.org/mailman/listinfo/paraview
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://paraview.org/pipermail/paraview/attachments/20180122/739a182a/attachment.html>


More information about the ParaView mailing list