<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>InteractorStyle in vtkBorlandRenderWindow</TITLE>
</HEAD>
<BODY>

<P><FONT FACE="Arial" SIZE=2 COLOR="#000000"> &lt;&lt;planewidget.jpg&gt;&gt; </FONT>
<BR><FONT SIZE=2 FACE="Arial">Dear vtkusers,</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I use a vtkPlaneWidget to &quot;probe&quot; a volume data set and render my image </FONT>
<BR><FONT SIZE=2 FACE="Arial">on a vtkBorlandRenderWindow (RenWin). This works OK and I could interact </FONT>
<BR><FONT SIZE=2 FACE="Arial">with the planewidget (see attachment). The problem is that I had to set</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">RenWin-&gt;GetInteractor()-&gt;SetInteractorStyle(planeWidget);</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">By doing this, I can rotate, resize, and translate the planewidget. But other</FONT>
<BR><FONT SIZE=2 FACE="Arial">actors are static and never respond to any mouse action after I press &quot;i&quot; key</FONT>
<BR><FONT SIZE=2 FACE="Arial">to exit planewidget interaction.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">FYI, I have a simple class (DisableRotation) to disable the rotation by the left</FONT>
<BR><FONT SIZE=2 FACE="Arial">mouse button, which is inherited from vtkInteractorStyleTrackballCamera. My</FONT>
<BR><FONT SIZE=2 FACE="Arial">RenWin's interactor style is switched back and forth between DisableRotation &amp;</FONT>
<BR><FONT SIZE=2 FACE="Arial">vtkInteractorStyleTrackballCamera because I show different images in RenWin</FONT>
<BR><FONT SIZE=2 FACE="Arial">one after another. If I set the interactorstyle to vtkInteractorStyleTrackballCamera,</FONT>
<BR><FONT SIZE=2 FACE="Arial">I could never see my planewidget after pressing &quot;i&quot; key.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I'd like to achieve the effect in VTK/Examples/GUI/Tcl/ProbingWithPlaneWidget.tcl,</FONT>
<BR><FONT SIZE=2 FACE="Arial">but do not know what is the right interactorstyle.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Thank you for your help.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Yang</FONT>
</P>
<BR>
<BR>
<BR>
<BR>

</BODY>
</HTML>