How to render vtk objects in different thread.

Hello Everyone,
I am building an application using VTK , OpenGL and QT . I am using VTKGenericOpenGLRenderWindow for rendering. I need to execute a part of my module in different thread. I tried by using thread but since OpenGL and vtk does not support Threads, Iam getting "OpenGL context cannot be shared "error . I tried to solve by using separate context and "donecurrent()"before calling the thread. But i couldn’t do that. Basically i have a foreverloop
while(true)
{
//i am using renderwindow and interactor in this loop
}
which i wish to execute in the background thread, while the vtk’s interaction loop needs to be executed in the main thread. Any ideas would be highly appreciated…