[vtkusers] Re: Draw and Color Polygons

Janny Dong janny.dong at gmail.com
Mon Oct 1 08:06:25 EDT 2007


Thanks Mike, Eugene and Dominik! I was surprised to get so many replies.:)

OK, Mike, if you are interested, the attached is the data file I am using.
vtkDelauney2D doesn't work... All I got from the filter is an irregular
polygon, not a map.

Eugene, is your solution different from claiming there are 3 cells in the
data file directly? I have something in my data file like
CELL_DATA 3
SCALARS cell_scalars float 1
LOOKUP_TABLE colors
100 100 100

But it doesn't hurt to give it a try.

Dominik, yes, it's a good way to check what is wrong. I should figure how to
display ids...

I'll come back to report updates.

Janny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20071001/effe3216/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: greatlakes.vtk
Type: application/octet-stream
Size: 32393 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20071001/effe3216/attachment.obj>


More information about the vtkusers mailing list