<div class="gmail_extra">You are correct, that teaches me to send email before I am fully awake.<br><br><div class="gmail_quote">On Thu, Apr 26, 2012 at 9:49 AM, David Doria <span dir="ltr">&lt;<a href="mailto:daviddoria@gmail.com" target="_blank">daviddoria@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Thu, Apr 26, 2012 at 9:42 AM, Robert Maynard<br>
&lt;<a href="mailto:robert.maynard@kitware.com">robert.maynard@kitware.com</a>&gt; wrote:<br>
&gt; To be extra clear, you are trying to insert a point into unallocated memory.<br>
&gt; Before calling SetPoint you need to first specify<br>
&gt; the number of points you want stored with the call SetNumberOfPoints.<br>
<br>
</div>Robert,<br>
<br>
Hm, actually after reading the description:<br>
<a href="http://www.vtk.org/doc/nightly/html/classvtkPoints.html#ab7f990c73fb291737abe4203994ce2a2" target="_blank">http://www.vtk.org/doc/nightly/html/classvtkPoints.html#ab7f990c73fb291737abe4203994ce2a2</a><br>
<br>
it sounds like what he was doing originally with InsertPoint(n,x)<br>
should work? I&#39;ve never used this function, but it sounds like you<br>
would NOT have to call SetNumberOfPoints prior to using InsertPoint<br>
(unlike using SetPoint). Is that correct? If so, I guess Wenlong&#39;s<br>
originally question stands? Wenlong - can you make a minimal working<br>
example that demonstrates your problem on one OS and not the other?<br>
<span class="HOEnZb"><font color="#888888"><br>
David<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>Robert Maynard<br>
</div>