<div><br></div><div class="gmail_quote">On Wed, Feb 24, 2010 at 8:54 AM, Sebastian Gatzka <span dir="ltr"><<a href="mailto:sebastian.gatzka@stud.tu-darmstadt.de">sebastian.gatzka@stud.tu-darmstadt.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div lang="DE" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D">I was afraid you would say that.</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D"> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D">I don’t know how to extract the cell center coordinates out of
the cell Center class/object/filter.</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D"></span></p></div></div></blockquote></div>Please keep the discussion on the mailing list so everyone can help/benefit.<br><div><br></div><div>
<div> for(vtkIdType i = 0; i < cellCentersFilter->GetOutput()->GetNumberOfPoints(); i++)</div><div> {</div><div> double p[3];</div><div> cellCentersFilter->GetOutput()->GetPoint(i, p);</div><div> cout << "Point " << i << " : " << p[0] << " , " << p[1] << " , " << p[2] << endl;</div>
<div> }</div><div><br></div>Thanks,<br><br>David<br></div>