<html>
At 4/30/2002 02:35 PM, Dean Inglis wrote:<br>
<blockquote type=cite class=cite cite>Hi all,<br><br>
Started this thread in vtkusers but would like to continue in<br>
vtk-developers:<br><br>
<br>
Heres is a possible pipeline: all Renderers (ren1, ren2 ...) in one<br>
RenderWindow (renWin) with one Interactor (iren);<br>
ren1: 3 ImagePlaneWidgets: widgX, widgY, widgZ in ren1<br>
ren2: an Actor2D/ImageMapper pair to display the output from the
widgX's<br>
internal ImageReslice (GetResliceOutput not implemented yet)<br>
ren3: as above but for widgY<br>
ren4: as above but for widgZ<br><br>
ren1 to ren4 are spatially arranged in renWin via SetViewport
calls.<br><br>
With most actor/mapper pairs, as in ren2 to ren4, the actor is added to
the<br>
renderer.  In the case of the widget, the widget is associated with
the<br>
interactor and not, in this case, the desired renderer ren1. 
Currently, the<br>
interactor does a FindPokedRenderer to determine the renderer and
hence<br>
which props are candidates for GUI interaction.  The problem with
the widget<br>
is that its actors are added to a renderer according to the 
'global'<br>
interactor.<br><br>
 e.g., from vtkBoxWidget:<br>
 this->CurrentRenderer =<br>
     
this->Interactor->FindPokedRenderer(this->Interactor-><br>
GetLastEventPosition()[0],<br><br>
this->Interactor->GetLastEventPosition()[1]);<br><br>
Doesn't this lead to ambiguity? </blockquote>
<dl>
<dd>Sorry, I don't understand your problem, Dean.
</dl>Where is the ambiguity ? What information is lacking ?<br>
<br>
<br>
<div>--</div>
Sebastien Barre
</html>