Yes, the points are arranged in a regular way forming an uniform grid. So I should try to convert it directly to a vtkImageData? Do you have a code fragment to do this?<br><br><div class="gmail_quote">On Wed, Apr 27, 2011 at 10:57 AM, Liam Kurmos <span dir="ltr">&lt;<a href="mailto:quantum.leaf@gmail.com">quantum.leaf@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Are your points already arranged in a regular array?<br>
<br>
vtkImageData usually uses the scalar values at the points anyway and<br>
the cell value is commonly not used (this is the understanding i came<br>
to anyway).<br>
<br>
Liam<br>
<div><div></div><div class="h5"><br>
<br>
On Tue, Apr 26, 2011 at 9:33 PM, Federico Milano &lt;<a href="mailto:fmilano@gmail.com">fmilano@gmail.com</a>&gt; wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; I would like to convert vtkPointSet to vtkImageData using the scalar<br>
&gt; associated to each point as the intensity for each voxel, that is keeping<br>
&gt; the scalar value associated with the correct voxel in the vtkImageData.<br>
&gt;<br>
&gt;<br>
&gt; Thanks in advance,<br>
&gt;<br>
&gt; Federico<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at<br>
&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the VTK FAQ at:<br>
&gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt;<br>
&gt;<br>
</blockquote></div><br>