[Paraview] python programmable filter
Bryn Lloyd
blloyd at vision.ee.ethz.ch
Mon May 26 02:39:37 EDT 2008
Hi users
I wanted to a vtkIdFilter and a vtkLabeledDataMapper in the python
programmable filter (in order to visualize point ids in pv3.3).
Unfortunately, neither of these classes were located by the programmable
filter. I get following error message:
AttributeError: 'module' object has no attribute vtkLabeledDataMapper'
This simple python code fails:
------------
from paraview import vtk
ldm = vtk.vtkLabeledDataMapper()
------------
Does anybody know what I am doing wrong, or why this does not work? I
checked if the vtk filters are in the paraview source directory: They are!
Thanks for any hints/help
Cheers, Bryn
--
-------------------------------------------------
Bryn Lloyd
Computer Vision Laboratory
ETH Zürich, Sternwartstrasse 7
CH - 8092 Zürich, Switzerland
Tel: +41 44 63 27690
Fax: +41 44 63 21199
-------------------------------------------------
More information about the ParaView
mailing list