<div dir="ltr">Some hawk-eye reading<br><br>vtkPoints* points = vtkPoints::New();<br>
float x[3];<br>
x[0] = 1;<br>
x[1] = 2;<br>
x[<font style="color:rgb(255,0,0)" size="4"><b>3</b></font>] = 3; //should be <font style="color:rgb(255,0,0)" size="4"><b>2<br><br><font style="color:rgb(0,0,0)" size="2">Jothy</font><br></b></font><br><div class="gmail_quote">
On Thu, Apr 26, 2012 at 1:46 PM, Wenlong <span dir="ltr"><<a href="mailto:scc.wwl@gmail.com" target="_blank">scc.wwl@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dear all,<br>
<br>
I'm trying to insert point coordinates into a vtkPoints instance. Here is<br>
what I do<br>
<br>
vtkPoints* points = vtkPoints::New();<br>
float x[3];<br>
x[0] = 1;<br>
x[1] = 2;<br>
x[3] = 3;<br>
points->InsertPoint(0, x);<br>
<br>
However, the compiler pops an error says there is acess conflict happens.<br>
How can I solve this problem?<br>
<br>
I used above operations on Windows Vista with Visual Studio 2008 before.<br>
There was no such problem.<br>
<br>
Now the program is working on Windows 7 with Visual Studion 2008. Could<br>
there be something related with the operation system?<br>
<br>
Many thanks in advance.<br>
<br>
Best regards<br>
Wenlong<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/About-vtkPoints-InsertPoint-tp5667490p5667490.html" target="_blank">http://vtk.1045678.n5.nabble.com/About-vtkPoints-InsertPoint-tp5667490p5667490.html</a><br>
Sent from the VTK - Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">Jothy<br></div><br>
</div>