[vtkusers] need a simple example of vtkUnstructuredGrid with scalar values assigned to the cells

Vladislav Petyuk petyuk at gmail.com
Thu Apr 5 16:42:21 EDT 2007


No I'm not using VTK legacy file. I'm creating the vtkUnstructuredGrid on
the fly from scratch.



On 4/5/07, fred <fredmfp at gmail.com> wrote:
>
> Vladislav Petyuk a écrit :
> > Hi vtkUsers,
> > I need a simple example of how to make an vtkUnstructuredGrid with
> > scalar values assigned to the cells.
> > For example see slide #3 top right corner.
> Hi,
>
> Where is the problem ???
>
> Can you get writing vtkUG with scalars assigned to the points ?
>
> If yes, assigning to the cells is straightforward: replace POINT_DATA by
> CELL_DATA (if you use VTK legacy
> file).
> It does the trick.
> If not, look at http://www.*vtk*.org/pdf/*file*-*format*s.pdf
>
> HTH
>
> --
> /F
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070405/f1f4ebd2/attachment.htm>


More information about the vtkusers mailing list