[vtkusers] Win32RenderWindowInteractor

Jean-Baptiste Estival jeanbaptiste.estival at club-internet.fr
Wed Dec 3 06:36:25 EST 2003


Hi,
I'm trying to add an observer on my interactor like this:
m_pIren->SetRenderWindow(m_pRenWin);

m_pIren->AddObserver(vtkCommand::KeyPressEvent, m_pKeyboardCommand);

m_pKeyboardCommand is an instance of a vtkCommand subclass, but when I press a key, the Execute function is not called.

Does anyone have an idea ?

thanks


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20031203/effae161/attachment.htm>


More information about the vtkusers mailing list