You can do just about anything you can do with a c++ filter (make internal
filters, directly access input and output data sets) inside a programmable
filter so a plugin shouldn't be a requirement to do what you want to do. In
either case you will need to be familiar with the VTK API, python usually
just makes the development task a bit quicker.

I would recommend you start by reimplementing what the tube filter does in
its requestdata method in python and then modify to suit your purposes.


David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909


On Tue, May 14, 2013 at 5:57 PM, Lorne Arnold <[email protected]> wrote:

> I'm new to ParaView and I'm trying to use it to visualize 2D discrete
> element data.
>
> I'm running into situations where I want more of the glyph properties to
> be dependent on inputs (a line glyph whose length, *and* width are scaled
> by different inputs, e.g.). So far I haven't been able to find filters to
> accomplish this. 'Tube' is the closest thing I've found, but it only
> renders in 3D and looks out of place with my 2D data.
>
> Is it possible to modify a filter with a programmable filter? Would I need
> a plugin to do this kind of thing?
>
> Attached is an example of the kind of diagram I'm trying to make. I made
> this one using matplotlib.
>
> Thanks for your help,
>
> Lorne
>
> _______________________________________________
> 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
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
>
_______________________________________________
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to