thanks, code is always helpful if its easy for you to find, otherwise
I'll figure it out. I'm always looking for different ways to do
things with vtk, sometimes the code that doesn't solve the immediate
problem will teach me something I can use later. Stringing
filters together to tweak data in the pipeline seems easy in vtk.
I don't quite have my hands around how to get my data in to a useable
form by vtk yet, but I imagine (or hope) the light will turn on
eventually.<br><br>
-thanks again<br>
<br>
<br><div><span class="gmail_quote">On 6/30/05, <b class="gmail_sendername">Malcolm Drummond</b> <<a href="mailto:malcolm@geovision.co.za">malcolm@geovision.co.za</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><font face="Arial" size="2">Hi Doug</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">I'd convert your data into x,y,z then run it
through vtkDelaunay2D (which just uses x and y for the triangulation). This
will give you a triangulated mesh as vtkPolyData output. The points do not
need to be regular.</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">If you want a regular grid you could convert the z
values to scalars with vtkElevation filter and resample with vtkShepardMethod. I
did this a long, long time ago but could probably dig out some demo code if you
want it.</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">HTH</font></div>
<div>Malcolm Drummond<br>GeoVision cc</div>
<blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;"><div><span class="e" id="q_104cedabeb0aaeb7_1">
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">----- Original Message ----- </div>
<div style="background: rgb(228, 228, 228) none repeat scroll 0% 50%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">
<b>From:</b>
<a title="brilligent@gmail.com" href="mailto:brilligent@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Doug
Henry</a> </div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>To:</b> <a title="vtkusers@vtk.org" href="mailto:vtkusers@vtk.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
VTK</a> </div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Sent:</b> Thursday, June 30, 2005 2:46
PM</div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Subject:</b> [vtkusers] data for 3D
surface</div>
<div><br></div>I am looking to make a surface plot similar to matlab's surf
function. I have location (az,el) and magnitude data, which can easily
be turned in to x,y,z data if needed, and I would like to create a simple
surface (mesh) from this data. What options are available for doing
this? Do I need data at regular intervals, I saw reference to structured
and unstructured grids.<br><br>-thanks<br><br>
</span></div><p>
</p><hr>
<p></p>_______________________________________________<br>This is the private
VTK discussion list. <br>Please keep messages on-topic. Check the FAQ at:
<a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.vtk.org/Wiki/VTK_FAQ</a><br>Follow this link to
subscribe/unsubscribe:<br><a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.vtk.org/mailman/listinfo/vtkusers</a><br><p></p></blockquote>
<br>_______________________________________________<br>This is the private VTK discussion list.<br>Please keep messages on-topic. Check the FAQ at: <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">
http://www.vtk.org/Wiki/VTK_FAQ</a><br>Follow this link to subscribe/unsubscribe:<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers
</a><br><br><br></blockquote></div><br>