[vtk-developers] New vtkpython.py - comments.

Sebastien BARRE sebastien at barre.nom.fr
Wed Oct 3 15:44:04 EDT 2001


At 10/3/2001 03:40 PM, David Gobbi wrote:

>Right now, the have to do
>
>from libvtkHybridPython import *
>
>under UNIX and
>
>from vtkHybridPython import *

What I do for Tcl is first import a 'base' package
         package require vtkbase
which provides for the ::vtk namespace and for various functions like 
::vtk::load_component that can be used like this (when 'package require 
vtkcommon' is called for example) :
         ::vtk::load_component vtkcommon
which loads either vtkcommon.dll or libvtkcommon.so depending on the platform.





More information about the vtk-developers mailing list