[vtkusers] HighlightSelectedPoints.cxx example crash

R M mlokida at yahoo.fr
Tue Oct 11 05:01:43 EDT 2011



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


More information about the vtkusers mailing list