<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2>I'm trying to add an observer on my interactor like 
this:</FONT></DIV>
<DIV><FONT color=#808080>
<P>m_pIren</FONT>-&gt;SetRenderWindow(<FONT color=#808080>m_pRenWin</FONT>);</P>
<P><FONT color=#808080>m_pIren</FONT>-&gt;AddObserver(vtkCommand::KeyPressEvent, 
<FONT color=#808080>m_pKeyboardCommand</FONT>);</P>
<P><FONT color=#808080>m_pKeyboardCommand is an instance of a vtkCommand 
subclass, but when I press a key, the Execute function is not called.</FONT></P>
<P><FONT color=#808080>Does anyone have an idea ?</FONT></P>
<P><FONT color=#808080>thanks</FONT></P>
<P><FONT face=Arial size=2></FONT>&nbsp;</P></DIV></BODY></HTML>