Oops, I meant vtkCommand::EndEvent which is fired on end of rendering (not EndRender event).<br><br>Utkarsh<br><br><div class="gmail_quote">On Wed, Jun 11, 2008 at 8:04 AM, Rishabh Kapoor &lt;<a href="mailto:kapoorrishabh@gmail.com">kapoorrishabh@gmail.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>Dear Utkarsh,</div>
<div>&nbsp;</div>
<div>Thanks for your reply. Can you guide me how to go about doing this. I could not find the endrender event. Pls guide me.</div>
<div>&nbsp;</div><font color="#888888">
<div>Rishabh<br><br></div></font><div><div></div><div class="Wj3C7c">
<div class="gmail_quote">On Wed, Jun 11, 2008 at 5:21 PM, Utkarsh Ayachit &lt;<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;">One possibility is to listen to the EndRender event fired by the vtkRenderWindow (or vtkRenderer) and then make OpenGL calls in the callback.<br>

<br>Utkarsh<br><br>
<div class="gmail_quote">
<div>
<div></div>
<div>On Wed, Jun 11, 2008 at 7:35 AM, Rishabh Kapoor &lt;<a href="mailto:kapoorrishabh@gmail.com" target="_blank">kapoorrishabh@gmail.com</a>&gt; wrote:<br></div></div>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div></div>
<div>
<div>Hi all.</div>
<div>&nbsp;</div>
<div>Is there a way in vtk in which I can execute opengl commands in the vtk renderer. we have code written in opengl and now we want to use vtk . So is there a way in which we can combine the two to render the scene.&nbsp; I mean render both vtk and opengl commands in the same window.</div>


<div>&nbsp;</div>
<div>Thanks..<br clear="all"><br>-- <br>Rishabh Kapoor<br>Medical Physics Consultant<br>202 Ashok Bhavan <br>93 Nehru Place<br>New Delhi 110019 <br>Ph. +91-11-26423266, +91-11-26420136. <br>Mobile: 9910772490<br>EMail: <a href="mailto:tsgintegrations@gmail.com" target="_blank">tsgintegrations@gmail.com</a><br>

Web: <a href="http://www.tsgintegrations.com/" target="_blank">www.tsgintegrations.com</a> </div><br></div></div>_______________________________________________<br>This is the private VTK discussion list.<br>Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>

Follow this link to subscribe/unsubscribe:<br><a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br><br></blockquote></div><br></blockquote></div><br><br clear="all">

<br>-- <br>Rishabh Kapoor<br>Medical Physics Consultant<br>202 Ashok Bhavan <br>93 Nehru Place<br>New Delhi 110019 <br>Ph. +91-11-26423266, +91-11-26420136. <br>Mobile: 9910772490<br>EMail: <a href="mailto:tsgintegrations@gmail.com" target="_blank">tsgintegrations@gmail.com</a><br>

Web: <a href="http://www.tsgintegrations.com" target="_blank">www.tsgintegrations.com</a> 
</div></div></blockquote></div><br>