<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">Hi all,</p>
<p style="margin-top:0;margin-bottom:0">I want to apply my .vtk polydata (which contains x,y,z coordinates) into clusters by using vtkKMeansStatistics.</p>
<p style="margin-top:0;margin-bottom:0">I tried with the coding by calling vtkPoints and listed all the points in the worksheet.</p>
<p style="margin-top:0;margin-bottom:0">The results look fine and I could visualize them.</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">However, I have more than a thousand of .vtk polydata to go through the experiments.</p>
<p style="margin-top:0;margin-bottom:0">I used vtkDelimitedTextReader but it failed to read the x,y,z coordinates into KMeansStatistics.</p>
<p style="margin-top:0;margin-bottom:0">Is there anyway that I can load the .vtk polydata directly into KmeansStatistics?</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Thousand appreciations on the help and advice.</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Regards,</p>
<p style="margin-top:0;margin-bottom:0">Polly</p>
</div>
</body>
</html>