[vtkusers] Surface contours from points

A Steuwer steuwer at ill.fr
Thu Sep 29 03:19:37 EDT 2005


hi 

there's an example script in vtk called expCos.py
which displays the surface of a (programmable filter) Bessel function 
on a regular pitch (a plane source in fact).
It scalar-warps the plane at each node by the function values 
to get the surface. This way you don't have to worry about reconstruction.
hope that helps.

axel


> -----Original Message-----
> From: vtkusers-bounces+steuwer=ill.fr at vtk.org 
> [mailto:vtkusers-bounces+steuwer=ill.fr at vtk.org] On Behalf Of 
> Nicolau Werneck
> Sent: 29 September 2005 07:31
> To: vtkusers at vtk.org
> Subject: [vtkusers] Surface contours from points
> 
> Hy people...  I'm not quite new to VTK, but just recently I 
> decided to use it everywhere I could. I'm trying to stop to 
> use Matlab and Octave, and start writing more C++ and python 
> programs...
> 
> I'm trying to get a simple matrix, a 2D function sampled at 
> regular intervals, and draw it's surface contrours...  It 
> took me long but I finally understood that I had to use the 
> Delaunay2D or the SurfaceReconstructionFilter classes...
> 
> So, I tryied these methods, and I tryied to run exemples from 
> them, and I always had the same error: surf.GetOutputPort()  
> would fail  (or
> delny.GetOutputPort()  )   I'm using the python library in a Debian
> sid box...  It's probably an issue in the Debian package...
> 
> Does anybody had any problems like this?   Should I try C++ 
> examples or what?...
> 
> thanks...
> 
> --
> Nicolau Werneck <nwerneck at cefala.org>         9F99 25AB E47E 8724 2F71
> http://cefala.org/~nwerneck                   EA40 DC23 42CE 6B76 B07F
> _______________________________________________
> 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
> 

Defend your privacy! Encrypt your email today! 
http://www.bytefusion.com/secexmail 


---Tag My Public Key---

a2V5aWQ6IHs3QUUxREZDMS0yMTFELTRFMDYtQjI3OC1CMTY1
Q0Q5QUUxQUF9DQpvd25lcjogQXhlbF9TdGV1d2VyDQplbWFp
bDogc3RldXdlckBpbGwuZnINCmVuYWJsZWQ6I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