[vtkusers] how to quit VTK when close the MFC single dialog ?

zhq 15891495523 at 126.com
Sun May 31 05:48:00 EDT 2015


I have made sense what's wrong with my project. 

In the function OnClose ( Called when the dialog is closed )

	m_pImageData->SetReferenceCount(0);
	m_pImageViewer->SetReferenceCount(0);
	m_pRenderWindowInteractor->SetReferenceCount(0);

I though it will help me to kill the process. 

But, in fact, if I delete those code, the process will be killed when the
dialog is closed. But I don't know why. 



--
View this message in context: http://vtk.1045678.n5.nabble.com/how-to-quit-VTK-when-close-the-MFC-single-dialog-tp5731600p5732068.html
Sent from the VTK - Users mailing list archive at Nabble.com.


More information about the vtkusers mailing list