[vtkusers] downcasting in python wrappers in VTK 4.2.2
Justin Binns
binns at mcs.anl.gov
Tue Jul 1 10:33:04 EDT 2003
That fixed it! Ok, so, because I'd like to know, what's the magic that's
happening here? And is this something that could be done in some sort of
platform-specific part of the vtk import? Thanks!
Justin
On Tue, 1 Jul 2003, Brad King wrote:
> Justin,
>
> > Now, under Linux:
> [snip]
> > Notice: the object type of the GetOutput() is a generic DataSet, and the
> > output from the GetPointData() is a completely useless vtkObject.
>
> Try adding these lines at the top of your python script on UNIX platforms:
>
> import sys
> import dl
> sys.setdlopenflags(dl.RTLD_NOW|dl.RTLD_GLOBAL)
>
> Please let me know whether or not it helps.
>
> Thanks,
> -Brad
>
>
More information about the vtkusers
mailing list