[vtkusers] About vtkPoints::InsertPoint()
Jothybasu Selvaraj
jothybasu at gmail.com
Thu Apr 26 10:03:40 EDT 2012
Some hawk-eye reading
vtkPoints* points = vtkPoints::New();
float x[3];
x[0] = 1;
x[1] = 2;
x[*3*] = 3; //should be *2
Jothy
*
On Thu, Apr 26, 2012 at 1:46 PM, Wenlong <scc.wwl at gmail.com> wrote:
> 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.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
--
Jothy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120426/be3b0775/attachment.htm>
More information about the vtkusers
mailing list