[vtkusers] Access violation in vtkDataSetMapper

Jeff Lee jeff at cdnorthamerica.com
Thu Sep 4 10:14:49 EDT 2003


John,
I think Ingo has the right idea - this likely not due to reference 
counting, but probably related to a call to ReleaseGraphicsResources 
which occurs when you delete the mapper.  can you post the stack trace 
or the error?
-Jeff

Dubois, John R (MED) wrote:

>Thanks, but this was no help...
>
>-----Original Message-----
>From: de Boer Ingo [mailto:I.deBoer at polytec.de]
>Sent: Thursday, September 04, 2003 9:36 AM
>To: Dubois, John R (MED); vtkusers at vtk.org
>Subject: AW: [vtkusers] Access violation in vtkDataSetMapper
>
>
>
>Hi,
>
>  
>
>>m_mapper->Delete(); // access violation on exit
>>    
>>
>Are you sure this comes from the mapper ? I do the same without any
>problems...
>I have had problems with the renderer, because you have to set the
>window to NULL and Delete afterwards, like:
>
>vtkRenderer->SetRenderWindow(NULL);
>vtkRenderer->Delete();
>
>greets
>  Ingo
>_______________________________________________
>This is the private VTK discussion list. 
>Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://www.vtk.org/mailman/listinfo/vtkusers
>
>
>  
>





More information about the vtkusers mailing list