[vtkusers] help on unstructuregrid and vtkGaussianSplatter

Kent Eschenberg eschenbe at psc.edu
Sun Sep 2 15:44:01 EDT 2007


yadin Bocuma Rivas wrote:
> hi i got this examples from vtk examples for python on how to use 
> ustructuredgrid
> i seems quite complex does any one have a less complicated example?
> it looks like they are reading a file...which i do not know how to put 
> the data in....?
 >
 > all i was looking for is an example for how to plot a surface throgh
 > some given points

Here's a partial answer. See the document "VTK File Formats" under 
"Technical Examples" on the VTK site. It has an example of a file with 
an unstructured grid.

To plot the surface through points you must somehow decide how the 
points are connected. There is no one right answer. A class such as 
vtkDelaunay3D can be used to derive one answer.

Many others have asked similar questions; you might try looking through 
this list's archives.

Kent
Pittsburgh Supercomputing Center



More information about the vtkusers mailing list