[vtkusers] Land Topography

Sebastien MARAUX maraux at ondim.fr
Mon Mar 10 13:32:55 EST 2003


you only need vtkDelaunay2D to construct a triangulated surface.
vtkDelaunay3D output tetrahedrons.

1. Set your points in a vtkPolyData (with a moderated
number, because it takes a while to compute delaunay)

set this vtkPolyData as input of vtkDelaunay2D

Update() it

GetOutput of delaunay and display or export it.

That's it, you won't lose your heights because it is 2D. 2D
is the dimension of output primary elements (triangles =
2D)

(I do it quite often, this works).

Sebastien MARAUX


----- Original Message -----
From: <mcsalas at chilesat.net>
To: <vtkusers at public.kitware.com>
Sent: Monday, March 10, 2003 7:23 PM
Subject: [vtkusers] Land Topography


> Hi, I new in VTK. My problem is:
>
> I have a txt file with three columns, (x,y,z), this file describe a
topography
> land. I try to generate a render model with VTK, but i can't. i reading
the
> file, triangulate with vtkDelaunay3D, but only can view the points, i
don't
> view a surface. When try to view this topography with a
vtkreconstructionSurface
> the view is not representative, is to hard.
>
> Please helpme...
>
> any example code, or suggestions??
>
> Best Regards,
>
> Max from  Chile.
> 56-72-295871
> mcsalas at chilesat.net
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
<http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>




More information about the vtkusers mailing list