[Paraview] make labels from python plugin

Jan Brezina jan.brezina at tul.cz
Fri Nov 14 17:01:22 EST 2014


Hi,

I have implemented a reader plugin in Python using ProgrammableFilter
and appropriate XML file (http://www.kitware.com/blog/home/post/534)
Thank you, Pat.

However the input contains some text labels attached to particular
points in space. I'm look for way to show them in 3d view. After one day
searching I realized:

1) It probably can not be done within ProgrammableFilter since there is
no source that can produce a text anchored to a 3D point, but always
oriented to the viewer. Am I right?

2) This can be done at client-side, e.g. from Python Shell, using vtk
mappers and actors.

However, I didn't find a way how to create a client-side plugin
implemented in Python. Is it possible? How? If yes, how can I call it
after the server-side of the reader and pass there its data?

I would like to do it in Python because of portability.

I appreciate any hints.

Jan Brezina


-- 
------------------------
Mgr. Jan Brezina, Ph. D.
Technical University in Liberec, New technologies institute
http://www.nti.tul.cz/cz/WikiUser:Jan.Brezina


More information about the ParaView mailing list