[vtkusers] need a simple example of vtkUnstructuredGrid with scalar values assigned to the cells
fred
fredmfp at gmail.com
Thu Apr 5 15:59:27 EDT 2007
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
More information about the vtkusers
mailing list