<br><br><div class="gmail_quote">On 13 May 2010 00:10, David Doria <span dir="ltr">&lt;<a href="mailto:daviddoria%2Bvtk@gmail.com">daviddoria+vtk@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">&gt; Hi again<br>
&gt; I thought this was working but it turns out not to be.<br>
&gt; I&#39;ve tried several ways to do this but no success. I would have thought that<br>
&gt;  vtkStructuredPointsToUnstructuredGrid would work but for some reason, I<br>
&gt; keep getting compilation errors whenever I try to instantiate this.<br>
&gt; I&#39;d appreciate if someone could show me how to accomplish this.<br>
&gt; Thanks<br>
&gt; Theodore<br>
<br>
</div>vtkStructuredPointsToUnstructuredGrid is an abstract class, so you<br>
can&#39;t instantiate it. I don&#39;t see any derived classes, so it looks<br>
like this is just supposed to be for the user to subclass and write<br>
their own algorithm that takes a structuredpoints and produces an<br>
unstructuredgrid.<br>
<br>
I think this is what you want though:<br>
<br>
<a href="http://www.vtk.org/Wiki/VTK/Examples/StructuredPoints/StructuredPointsToUnstructuredGrid" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/StructuredPoints/StructuredPointsToUnstructuredGrid</a><br>
<br>
There is no reason this should be so hard/not built in...<br>
<br>
Thanks,<br>
<font color="#888888"><br>
David<br>
</font></blockquote></div><br><div><br></div><div>Hi David</div><div><br></div><div>Thanks for this. I wrote some code along these lines earlier but when I opened it in Paraview, I get, </div><div>&quot;Cannot volume render since no point (or cell) data is available.&quot; So, I assumed it was not correctly converted. </div>
<div><br></div><div>I also get the same result/error message with the code at the above link you sent.</div><div><br></div><div>This is why I&#39;m tearing my hair out. I&#39;d be very grateful if a solution can be found.</div>
<div><br></div><div>Theodore</div>