[vtkusers] Unhandled exception at the time of Unregistering vtkSmartPointer

cel02000 cel02000 at yahoo.com
Mon Jun 11 20:22:09 EDT 2012


I used the following.

    vtkPolyData * singlePolyData = vtkPolyData::New();
    vector< vtkPolyData * > vectorOfPolyData;

Then I store the content of a file by vtkTecplotReader to singlePolyData and
then:
    vectorOfPolyData.push_back( singlePolyData );

Actually I don't initialize the vector. However, when I try to initialize
the vector with the following, I get Debug Assertion Fail.
    vectorOfPolyData[0] = vtkPolyData::New().

Ahmad


--
View this message in context: http://vtk.1045678.n5.nabble.com/Unhandled-exception-at-the-time-of-Unregistering-vtkSmartPointer-tp5713691p5713766.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list