[Paraview] Combining (parts of) filters to create a new one

Sylvester Gerardson sylvester.gerardson at gmail.com
Tue Oct 23 02:25:51 EDT 2007


[my apologies if this is a double post]

Hi everyone,

I am asked to create a new filter for paraview. As I am new to paraview/VTK
I am not sure what is the best strategy to do this.

The new filter should:
1. take points from a cutplane (node points or cell centres, it does not
really matter)
2. start streamlines from these points
3. take the integration time of the final segment of each streamline to
colour the cutplane

Can this be done?
Has somebody done this before?
How best to do this? Should this be done with a Python Programmable Filter,
or should I create a plug-in?

Any help is highly appreciated!

Sylvester.

Ps. I compiled PV 3.2 and 3.3 development on OpenSuse 10.2 without
difficulties. However every time I try to create a cutplane (or slice a I
believe it is called) PV exits with a segmentation fault. Even when I try to
use it on a standard cylinder source. All other filters behave normally.
Any thoughts on this?


More information about the ParaView mailing list