[Paraview] Private pipeline
Moreland, Kenneth
kmorel at sandia.gov
Mon Aug 15 11:52:55 EDT 2016
Wow! Thousands of objects in your pipeline browser? You must have some scripts to generate all those objects (or spend hours each time setting up your pipelines).
There is no way in to get the pipeline browser to group sections of the pipeline or show subsections of it. It is conceivable to create your own version of a pipeline browser that showed subsets of the pipeline like you want and put that in your own plugin, but it would be a fairly difficult programming project.
You might consider simpler alternatives. Rather than create thousands of objects in your pipeline browser, perhaps you can create custom filters that encapsulate (and hide) lots of filters inside it. Implementing filters in VTK/ParaView using several other filters internally is pretty common. It is much easier to create a plugin with a custom filter than to make a plugin with a custom pipeline browser. You could also consider using the Custom Filter feature (http://www.paraview.org/Wiki/ParaView/Custom_Filters). It allows you to create a metafilter from a collection of other filters in the ParaView GUI. It is easier than making a plugin, but has more limited functionality.
-Ken
From: Шагит Зиганшин [mailto:ziganshinshagit at hotmail.com]
Sent: Monday, August 15, 2016 9:38 AM
To: Moreland, Kenneth <kmorel at sandia.gov>; paraview at paraview.org
Subject: [EXTERNAL] RE: [Paraview] Private pipeline
If I'm working in multiple layouts my pipeline browser becomes a list of thousands of loosely coupled objects. I wish each layout had own “custom“ pipeline browser, is it possible to make it as part of plug-in?
Shagit Ziganshin
From: Moreland, Kenneth<mailto:kmorel at sandia.gov>
Sent: Monday, August 15, 2016 6:18 PM
To: Шагит Зиганшин<mailto:ziganshinshagit at hotmail.com>; paraview at paraview.org<mailto:paraview at paraview.org>
Subject: RE: [Paraview] Private pipeline
I am not sure I totally understand by a “private pipeline,” but I think you mean that you have a pipeline that you set up in ParaView over and over again and you would like to add a button or something to ParaView to automatically create this pipeline with one click.
The short answer is, yes. There are many ways to customize ParaView. The easiest way is to add a macro based on a Python script. There are a pair of exercises in The ParaView Tutorial (http://www.paraview.org/Wiki/The_ParaView_Tutorial) that demonstrate how to do this.
-Ken
From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of ????? ????????
Sent: Monday, August 15, 2016 7:28 AM
To: paraview at paraview.org<mailto:paraview at paraview.org>
Subject: [EXTERNAL] [Paraview] Private pipeline
Hello,
I am looking for a way how to implement a private pipeline for a particular layout. is it possible to do this as part of third-party plug-in?
Thank you
Shagit Ziganshin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20160815/6bbff8fa/attachment.html>
More information about the ParaView
mailing list