[vtkusers] Using external libraries with new classes

Ed Bachta ebachta at iupui.edu
Thu Sep 4 15:24:43 EDT 2003


Actually, my code is sort of an updated version of Shalf's code, which
was implemented using a previous version of VTK (when data arrays worked
differently). My code is also missing a few things that Shalf's code was
able to do, since I there aren't any coordinate fields in the datasets I
have. I also have HDF5 data which I use a different reader for (it grabs
out specific groups).

I'm hoping to iron out a bunch of things that I've been fiddling with
once I figure out how to get these Python wrapped with the rest of VTK.

On Thu, 2003-09-04 at 13:09, Mathieu Malaterre wrote:
> Ed Bachta wrote:
> > Hello VTK users,
> > 
> > I have created a reader that can read the HDF data I'm working with into
> > vtkStructuredPoints... but I want to use this object in Python. Since I
> > have figured out how to get some simpler custom classes compiled and
> > wrapped in Python during the VTK build, I want to try the same with my
> > HDF stuff. The problem is that it needs to include and link with the HDF
> > libraries. I don't know how to set up my CMakeLists.txt file to have
> > this happen, and I'm having trouble finding info... I'm sure people have
> > done this before... what am I missing?
> > 
> 
> I think it has already been done:
> 
> http://www.cactuscode.org/archives_html/developers/msg00398.html
> 
> http://zeus.ncsa.uiuc.edu/~jshalf/VTK/vtkHDFReader/?1062699925
> 
> HTH
> mathieu

-- 
Ed Bachta
Technical Lead
Visualization and Interactive Spaces Lab,
Pervasive Technology Labs at Indiana University
http://vis.iu.edu




More information about the vtkusers mailing list