using vtk in python

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

using vtk in python

윤영하
Hello,
 
I'm a debian user.
 
In 'dselect' packeges  list,  It seems that only 'pyvtk' package  is  vtk-related something.
 
So I select  it  and  installed successfully.
 
But, in /usr/lib/python2.3/site-packages/pyvtk  directory, there are only these files, and that's all.
 
How can I find 'vktRenderWidget'? 
 
=====================================================================================
$ /usr/lib/python2.3/site-packages/pyvtk> ls
 
ColorScalars.py   DataSet.py       Normals.py           StructuredGrid.py       UnstructuredGrid.py
ColorScalars.pyc  DataSet.pyc      Normals.pyc          StructuredGrid.pyc      UnstructuredGrid.pyc
ColorScalars.pyo  DataSet.pyo      Normals.pyo          StructuredGrid.pyo      UnstructuredGrid.pyo
common.py         Field.py         PolyData.py          StructuredPoints.py     Vectors.py
common.pyc        Field.pyc        PolyData.pyc         StructuredPoints.pyc    Vectors.pyc
common.pyo        Field.pyo        PolyData.pyo         StructuredPoints.pyo    Vectors.pyo
Data.py           __init__.py      RectilinearGrid.py   Tensors.py              __version__.py
Data.pyc          __init__.pyc     RectilinearGrid.pyc  Tensors.pyc             __version__.pyc
Data.pyo          __init__.pyo     RectilinearGrid.pyo  Tensors.pyo             __version__.pyo
DataSetAttr.py    LookupTable.py   Scalars.py           TextureCoordinates.py
DataSetAttr.pyc   LookupTable.pyc  Scalars.pyc          TextureCoordinates.pyc
DataSetAttr.pyo   LookupTable.pyo  Scalars.pyo          TextureCoordinates.pyo
=====================================================================================   

_______________________________________________
This is the private VTK discussion list.
Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers
Reply | Threaded
Open this post in threaded view
|

Re: using vtk in python

Gavin W. Burris aka 86

# apt-get update ; apt-cache show python-vtk
Package: python-vtk
Priority: optional
Section: python
Installed-Size: 9084
Maintainer: A. Maitland Bottoms <[hidden email]>
Architecture: i386
Source: vtk
Version: 4.4.2-10
Depends: python (>= 2.3), python (<< 2.4), libc6 (>= 2.3.5-1), libexpat1
(>= 1.9
5.8), libfreetype6 (>= 2.1.5-1), libgcc1 (>= 1:4.0.2), libglu1-xorg |
libglu1, l
ibice6, libjpeg62, libpng12-0 (>= 1.2.8rel), libsm6, libstdc++6 (>=
4.0.2-4), li
btiff4, libvtk4c2a (>= 4.4.2), libx11-6, libxext6, libxt6, tcl8.4 (>=
8.4.5), tk
8.4 (>= 8.4.5), xlibmesa-gl | libgl1, zlib1g (>= 1:1.2.1)
Suggests: vtk-examples, vtk-doc, mayavi
Conflicts: libvtk4-dev (<< 4.4)
Filename: pool/main/v/vtk/python-vtk_4.4.2-10_i386.deb
Size: 2215264
MD5sum: bc3df65ab98c14081a208fe6ede3bf11
Description: Python bindings for VTK
 This provides the shared libraries that enable one to use VTK from Python
 scripts.  You will need Python and vtk installed to use this.  Some useful
 information may be available in /usr/share/doc/python-vtk/.
Tag: devel::library, langdevel::python, made-of::lang:python,
role::content:data
, uitoolkit::tk

# apt-get install python-vtk


Cheers.

윤영하 wrote:

> Hello,
>  
> I'm a debian user.
>  
> In 'dselect' packeges  list,  It seems that only 'pyvtk' package  is
> vtk-related something.
>  
> So I select  it  and  installed successfully.
>  
> But, in /usr/lib/python2.3/site-packages/pyvtk  directory, there are
> only these files, and that's all.
>  
> How can I find 'vktRenderWidget'?
>  
> =====================================================================================
> $ /usr/lib/python2.3/site-packages/pyvtk> ls
>  
> ColorScalars.py   DataSet.py       Normals.py          
> StructuredGrid.py       UnstructuredGrid.py
> ColorScalars.pyc  DataSet.pyc      Normals.pyc        
> StructuredGrid.pyc      UnstructuredGrid.pyc
> ColorScalars.pyo  DataSet.pyo      Normals.pyo        
> StructuredGrid.pyo      UnstructuredGrid.pyo
> common.py         Field.py         PolyData.py        
> StructuredPoints.py     Vectors.py
> common.pyc        Field.pyc        PolyData.pyc        
> StructuredPoints.pyc    Vectors.pyc
> common.pyo        Field.pyo        PolyData.pyo        
> StructuredPoints.pyo    Vectors.pyo
> Data.py           __init__.py      RectilinearGrid.py  
> Tensors.py              __version__.py
> Data.pyc          __init__.pyc     RectilinearGrid.pyc
> Tensors.pyc             __version__.pyc
> Data.pyo          __init__.pyo     RectilinearGrid.pyo
> Tensors.pyo             __version__.pyo
> DataSetAttr.py    LookupTable.py   Scalars.py          
> TextureCoordinates.py
> DataSetAttr.pyc   LookupTable.pyc  Scalars.pyc        
> TextureCoordinates.pyc
> DataSetAttr.pyo   LookupTable.pyo  Scalars.pyo        
> TextureCoordinates.pyo
> =====================================================================================  
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers

--
Gavin W. Burris aka 86
Senior Systems Programmer
Penn State Visualization Group
http://viz.aset.psu.edu/ga5in
_______________________________________________
This is the private VTK discussion list.
Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers