[vtkusers] About vtkPoints::InsertPoint()

Wenlong scc.wwl at gmail.com
Thu Apr 26 08:46:18 EDT 2012


Dear all,

I'm trying to insert point coordinates into a vtkPoints instance. Here is
what I do

vtkPoints* points = vtkPoints::New();
float x[3];
x[0] = 1;
x[1] = 2;
x[3] = 3;
points->InsertPoint(0, x);

However, the compiler pops an error says there is acess conflict happens.
How can I solve this problem?

I used above operations on Windows Vista with Visual Studio 2008 before.
There was  no such problem.

Now the program is working on Windows 7 with Visual Studion 2008. Could
there be something related with the operation system?

Many thanks in advance.

Best regards
Wenlong

--
View this message in context: http://vtk.1045678.n5.nabble.com/About-vtkPoints-InsertPoint-tp5667490p5667490.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list