<!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 have a C++ .Net form which parents a
vtkRenderWindow. I am able to choose between vtkInteractorStyleSwitch and
vtkInteractorStyleUser before initializing the interactor. When I try to change
this later (say on button click) it does not work properly. Let us say I start
with Switch style. Interactions are as expected. Next I change to User style.
Now interactions are off as expected. Again I change to Switch style without
problem. But next if I change to User style, things do not work as expected. I
know the style gets assigned (I added some observer on User style to verify) but
the behavior is like that of Switch style. Later on (during orbiting) I get vtk
warning --></FONT></DIV><FONT face=Arial size=2>
<DIV><BR>ERROR: In C:\martink\vtk42\VTK\Rendering\vtkInteractorStyle.cxx, line
404<BR>vtkInteractorStyleJoystickCamera (0x1825B120): Timer stop
failed<BR></DIV>
<DIV>For my application I want to be able to change between these two styles any
number of times.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Is this a bug? If so, is there some work
around?<BR>Any help/suggestion will welcome.</FONT></DIV>
<DIV><FONT face=Arial size=2>Vidyadhar</FONT></DIV></BODY></HTML>