<html>
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 10 (filtered)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
pre
{margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.EmailStyle17
{font-family:Arial;
color:windowtext;}
@page Section1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1><pre><font size=2 face="Courier New"><span
style='font-size:10.0pt'>Hi,</span></font></pre><pre><font size=2
face="Courier New"><span style='font-size:10.0pt'> </span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'>In Aug 2004 JB wrote on this topic</span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'> </span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'>It's not so much that that the design of the polydata is bad, (well, it is</span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'>really), but you need to know that all filters operate on cells in order of</span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'>verts/lines/polys/strips and so all cell data needs to be stored in this</span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'>order. Its extremely annoying and everyone who's used vtk for some length of</span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'>time will have been bitten by this one - however, once you know about it,</span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'>you always write your filters/importers/etc to operate like this and all is</span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'>well.</span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'> </span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'>Could someone please give me a hint as to why? It’s not obvious to me because vtkPolyData::InsertNextCell() returns a unique cellId which can be used for the cell scalars.</span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'> </span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'>Thanks for any help.</span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'> </span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'>John.</span></font></pre>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
</div>
</body>
</html>