[vtkusers] RE: How do I convert a TIN to a rectangular regular grid?
Malcolm Drummond
malcolm at geovision.co.za
Sat Dec 8 08:16:17 EST 2001
Hi Terence
You should be able to use a vtkElevation filter to get the z values into
scalars, after which you can use the vtkShepardMethod to resample to a
structured-points dataset. You might have to do a bit of scripting - like
setting all z values to 0.0 so you can sample on a 2D grid. Finally use a
vtkWarpScalar or script to set the z values to the scalar values.
I've used almost the same process before - except I used Surfer for the
re-sampling, so I don't have any experience with the vtkShepardMethod
filter.
If you have any problems let me know and I'll try and help.
Malcolm
----- Original Message -----
From: Terence Lim <tlim at mda.ca>
To: <vtkusers at public.kitware.com>
Sent: Friday, December 07, 2001 6:22 PM
Subject: [vtkusers] RE: How do I convert a TIN to a rectangular regular
grid?
> Hi everyone,
>
> a)Does anyone know if this (TIN to rect. grid conversion ) is possible in
> vtk?
>
> b)I have a set of xyz points, how can I create and visualize a
rectangular
> regular grid from these points?
>
> Any ideas would be greatly appreciated.
>
> Thanks,
>
> Terence
>
>
>
> -----Original Message-----
> From:
> Sent: December 6, 2001 11:53 AM
> To: 'vtkusers at public.kitware.com'
> Subject: How do I convert a TIN to a rectangular regular grid?
>
> I have tried SurfaceReconstructionFilter but the output was not a
> rectangular grid. Any ideas?
>
> Thank you in advance,
>
> Terence
>
>
>
> _______________________________________________
> 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