# Consultation on the feasibility of developing an plugin in Paraview

**URL:** https://discourse.paraview.org/t/consultation-on-the-feasibility-of-developing-an-plugin-in-paraview/8582
**Category:** ParaView Support
**Tags:** vr, python, vtk
**Created:** [December 7, 2021, 6:49pm UTC](https://discourse.paraview.org/t/consultation-on-the-feasibility-of-developing-an-plugin-in-paraview/8582 "2021-12-07T18:49:02Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![CCharles](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/c/a87d85/32.png) [@CCharles](https://discourse.paraview.org/u/CCharles)
#### Post date: [December 7, 2021, 6:49pm UTC](https://discourse.paraview.org/t/consultation-on-the-feasibility-of-developing-an-plugin-in-paraview/8582/1 "2021-12-07T18:49:02Z")

</div>

Hi there,  
I’m new to Paraview.  
Currently, I’m going to develop a custom plugin/module in Paraview.  
The main function of the plug-in I want to develop is to calculate the volume of the intersection of two image data.  
Therefore, how can I create a custom plugin to implement my own workflow? For example, several functions already in Paraview will be integrated to form my own workflow? **Are there any useful tutorials or python script templates for custom plugins/modules?** Where should I start?

Another question is: Since finally, I’d like to transfer the desktop mode plug-in to the VR scene, I’ve noticed a very exciting effect in this video:  
[ParaView VR development](https://www.youtube.com/watch?v=1qlOHxYaV30)

Does this mean that as long as I install Paraview and this VR plug-in in Windows, I can see a floating GUI panel in the VR scene that is the same as the desktop mode?

In other words, if I develop a plug-in that can be used on the flat-screen, at the same time, can it be usable in the VR too?

Thank you very much in advance!

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [December 8, 2021, 9:49am UTC](https://discourse.paraview.org/t/consultation-on-the-feasibility-of-developing-an-plugin-in-paraview/8582/2 "2021-12-08T09:49:12Z")

</div>

how can I create a custom plugin to implement my own workflow?

If you plan to create a python plugin, the simplest way to start is with a ProgrammableFilter within ParaView.  
After that, you can take the python code into a python plugin very easilly, see Examples/Plugins/PythonAlgorithm

> **Are there any useful tutorials or python script templates for custom plugins/modules?** Where should I start?

The example I mentionned

> Does this mean that as long as I install Paraview and this VR plug-in in Windows, I can see a floating GUI panel in the VR scene that is the same as the desktop mode?  
> In other words, if I develop a plug-in that can be used on the flat-screen, at the same time, can it be usable in the VR too?

Yes and yes.
