<!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.1264" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>From</FONT></DIV>
<DIV><FONT face=Arial size=2>Vidyadhar</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I use Windows2000 with VC++ 6.0.</FONT></DIV>
<DIV><FONT face=Arial size=2>I needed a zoom window facility. I found suitable
code in TCL from which I converted code to C++. I have subclassed
vtkInteractorStyle to create new style for my purpose. It works fine. I have
fairly large volume data and in its presence the render call from style
(this->Interactor->Render()) is very slow. So I tried something like
this.</FONT></DIV>
<DIV><FONT face=Arial size=2>I created two renderers for same render window and
they share camera too. I added my actual data in layer 0 renderer and nothing is
added to layer 1 renderer. I checked that in style code, PokedRenderer turns out
to be the one on layer 1 and it is to this that my style code will add its
actor. My idea is to render just the top layer and leave the slower rendering
actual data alone. I tried using Render() methods of both vtkRenderer and
vtkActor. Each executes without problem but the screen is not updated. Which
method should I use and what else I need to do so the render window gets
selectively updated.</FONT></DIV>
<DIV><FONT face=Arial size=2>Thanks for listening to me.</FONT></DIV>
<DIV><FONT face=Arial size=2>Any guidance will be appreciated.</FONT></DIV>
<DIV><FONT face=Arial size=2>Yours</FONT></DIV>
<DIV><FONT face=Arial size=2>Vidyadhar</FONT></DIV></BODY></HTML>