<div>No I&#39;m not using VTK legacy file.&nbsp;I&#39;m creating the vtkUnstructuredGrid on the fly from scratch.</div>
<div><br><br>&nbsp;</div>
<div><span class="gmail_quote">On 4/5/07, <b class="gmail_sendername">fred</b> &lt;<a href="mailto:fredmfp@gmail.com">fredmfp@gmail.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Vladislav Petyuk a écrit :<br>&gt; Hi vtkUsers,<br>&gt; I need a simple example of how to make an vtkUnstructuredGrid with
<br>&gt; scalar values assigned to the cells.<br>&gt; For example see slide #3 top right corner.<br>Hi,<br><br>Where is the problem ???<br><br>Can you get writing vtkUG with scalars assigned to the points ?<br><br>If yes, assigning to the cells is straightforward: replace POINT_DATA by
<br>CELL_DATA (if you use VTK legacy<br>file).<br>It does the trick.<br>If not, look at <a href="http://www.*vtk*.org/pdf/*file*-*format*s.pdf">http://www.*vtk*.org/pdf/*file*-*format*s.pdf</a><br><br>HTH<br><br>--<br>/F<br>
<br>_______________________________________________<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">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">http://www.vtk.org/mailman/listinfo/vtkusers</a><br></blockquote></div><br>