[vtkusers] Re : HighlightSelectedPoints.cxx example crash

R M mlokida at yahoo.fr
Tue Oct 11 08:44:24 EDT 2011


I have resolved the problem. I had a bad path for my vtk binaries libraries.
Sorry for the inconvenience


________________________________
De : R M <mlokida at yahoo.fr>
À : "vtkusers at vtk.org" <vtkusers at vtk.org>
Envoyé le : Mardi 11 Octobre 2011 11h01
Objet : [vtkusers] HighlightSelectedPoints.cxx  example crash




Hi,

I use vtk 5.6.1 under windows XP win32 with visual c++ 2008.


I have test several vtk examples but the  HighlightSelectedPoints http://www.vtk.org/Wiki/VTK/Examples/Picking/HighlightSelectedPoints crashes when I execute it.
I just use the mouse and the program exit and the debugger stop on  for(vtkIdType i = 0; i < ids->GetNumberOfTuples(); i++) because ids is NULL

.  I test ids and return if null.


Now, If I use the r for the selection and I make the selection, Points has a strange address. this->Points 00000001 whereas when in SetInput Points is OK.

Any idea ?

Thank you.
_______________________________________________
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20111011/a7816f1c/attachment.htm>


More information about the vtkusers mailing list