<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF">
<div>Sorry, I wasn't quite right when I said that was what I was after. The data set I have is a 2d array, not 2d line <br>
Info.</div>
<div><br>
</div>
<div>So basically a 2d matrix of data points , x columns by y rows.</div>
<div><br>
</div>
<div>Sorry for the confusion</div>
<div><br>
</div>
<div>R</div>
<div><br>
On Feb 4, 2010, at 4:56 AM, "David Doria" <<a href="mailto:daviddoria+vtk@gmail.com">daviddoria+vtk@gmail.com</a>> wrote:<br>
<br>
</div>
<div></div>
<blockquote type="cite">
<div>
<div class="gmail_quote">On Wed, Feb 3, 2010 at 8:12 PM, Banks, Robert <span dir="ltr">
<<a href="mailto:banks@wai.com"></a><a href="mailto:banks@wai.com">banks@wai.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div bgcolor="#FFFFFF">
<div>Exactly</div>
<div><br>
</div>
<div>Thanks
<div>
<div></div>
<div class="h5"></div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
<div>Someone please chime in if there is already a filter to do this in VTK.</div>
<div><br>
</div>
<div>What you could do is this:</div>
<div><br>
</div>
<div>1) Define your curve</div>
<div>2) make a copy of it rotated it N degrees around the axis of revolution. 360 should be divisible by N. The smaller N is, the smoother your surface will be.</div>
<div>3) make a quad on every 2 points and their corresponding copied points.</div>
<div>4) run vtkCleanPolyDataFilter and vtkTriangleFilter</div>
<div><br>
</div>
<div>If no one lets your know about an easier method, this should work. Let us know if you try and get stuck. Also, when you get it to work, please send the code and I'll put it on the wiki.</div>
<div><br clear="all">
Thanks,<br>
<br>
David</div>
</div>
</blockquote>
<blockquote type="cite">
<div><span>_______________________________________________</span><br>
<span>Powered by <a href="http://www.kitware.com"></a><a href="http://www.kitware.com">www.kitware.com</a></span><br>
<span></span><br>
<span>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">
</a><a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a></span><br>
<span></span><br>
<span>Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ">
</a><a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a></span><br>
<span></span><br>
<span>Follow this link to subscribe/unsubscribe:</span><br>
<span><a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a></span><br>
</div>
</blockquote>
<br>
<font face="Arial" color="Black" size="2"><br>
---------------------------------------------------------------------------------------------------<br>
Weidlinger Associates, Inc. made the following annotations.<br>
</font><br>
<font face="Arial" color="Navy" size="1">“This message and any attachments are solely for the intended recipient and may contain confidential or privileged information. If you are not the intended recipient, any disclosure, copying, use, or distribution of
the information included in this message and any attachments is prohibited. If you have received this communication in error, please notify us by reply e-mail and immediately and permanently delete this message and any attachments. Thank you.”<br>
</font><br>
<font face="Arial" color="Green" size="2">“Please consider our environment before printing this email.”<br>
</font>
</body>
</html>