[vtk-developers] vtkPassThroughFilter in vtkpython

Randall Hand randall.hand at gmail.com
Fri Aug 8 14:07:09 EDT 2008


 I just downloading and compiled the latest VTK5.2 CVS with python2.5
support.  Everything looks fine, except I can't get "vtkPassThroughFilter"
in python.

[GCC 3.4.6 20060404 (Red Hat 3.4.6-9)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from vtk import *
>>> vtkDataSetReader()
<libvtkIOPython.vtkDataSetReader vtkobject at 0x2a99dad1e0>
>>> vtkPassThroughFilter()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'vtkPassThroughFilter' is not defined
>>> vtkPassThrough()
  <libvtkInfovisPython.vtkPassThrough vtkobject at 0x2a99d9fe70>
>>> vtkPassThroughFilter()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'vtkPassThroughFilter' is not defined
>>>

Any idea why this particular object isn't available?
----------------------------------------
Randall Hand
Visualization Scientist
ERDC MSRC-ITL
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20080808/3caf9ec9/attachment.html>


More information about the vtk-developers mailing list