Thanks David for your help.

I have found a solution. I have browsed in the "ParaView 4.1.0\lib\paraview-4.1\site-packages" directory. Here is the paraview package containing the VTK package that I was loading.
I have found a second vtk package besides the paraview folder. So I have loaded it using
import vtk
It seems that all classes are loaded.

Thanks for the tip, I'll use it if one module is missing.

Laurent.

Le 19-03-14 21:55, David E DeMarle a écrit :
Try this technique from Pat Marion.
It should give you access to most or all of VTK, not just the subset the ParaView exposes.

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


On Wed, Mar 19, 2014 at 11:19 AM, Laurent Paul <[email protected]> wrote:
Dear all,

I was using paraview 3.14.1 with python Shell on my old computer.
I have tested the paraview 4.1.0 on my new computer. It seems that some VTK filters are missing in the distributed vtk package from paraview 4.1.0.
Here is the command line used to load the VTK package:
import paraview.vtk as vtk

When using
help(vtk)
The listed filters are very limited. For example, I want to use "vtkTransformPolyDataFilter", and it isn't loaded.

Is there a different way of loading the VTK package?

Thanks,
Laurent.

--
Laurent Paul
Charge de Recherche
Computer Assisted and Robotic Surgery
Institut de Recherche Experimentale et clinique
Avenue Mounier, 53 bte B1.53.07 B-1200-Bruxelles
Tel1 0032 27 64 93 88 Tel2: 0032 10 47 25 16 - Fax 0032 10 47 25 01

Please consider environmental impact before printing documents

_______________________________________________
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