[Paraview] python programmable filter

Bryn Lloyd blloyd at vision.ee.ethz.ch
Mon May 26 02:50:01 EDT 2008


The same question was asked in following post (unanswered):

http://www.paraview.org/pipermail/paraview/2007-November/006161.html


-
Bryn



Bryn Lloyd wrote:
> 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