<div dir="ltr">Thank you so much for your response and looking into this. Please let me know if you need a specific complete code example which illustrates this interaction between QGLWidget and VTK.<div><br></div><div>Thank you again</div><div>Ram.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 7, 2015 at 11:55 PM, Sankhesh Jhaveri <span dir="ltr"><<a href="mailto:sankhesh.jhaveri@kitware.com" target="_blank">sankhesh.jhaveri@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:#0b5394">Hi Ram,</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:#0b5394"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:#0b5394">Seems like a bug. What you are doing is right.</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:#0b5394"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:#0b5394">Following your email, I too tested the external renderer in the QGLWidget. We'll have to look deeper to find out what's going on.</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:#0b5394"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:#0b5394">I'll update here once I have a fix.</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:#0b5394"><br></div></div><div class="gmail_extra"><br clear="all"><div><div><div dir="ltr"><div><div dir="ltr"><div><span style="color:rgb(11,83,148)"><br></span></div><div><span style="color:rgb(11,83,148)"><span style="font-family:verdana,sans-serif">Best Regards,<br><br></span></span></div><span style="color:rgb(11,83,148)"><span style="font-family:verdana,sans-serif">Sankhesh Jhaveri<br>Research & Development Engineer</span></span><div><span style="color:rgb(11,83,148)"><span style="font-family:verdana,sans-serif">Kitware, Inc.<br><b>Phone</b>: <a href="tel:%28518%29%20881%204417" value="+15188814417" target="_blank">(518) 881 4417</a><br><b>Fax</b>: <a href="tel:%28518%29%20371%204573" value="+15183714573" target="_blank">(518) 371 4573</a></span></span><br><b></b><br> </div></div></div></div></div></div>
<br><div class="gmail_quote"><div><div class="h5">On Tue, Mar 31, 2015 at 3:28 AM, Ram Sampath <span dir="ltr"><<a href="mailto:ram@centroidpic.com" target="_blank">ram@centroidpic.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><font face="monospace, monospace" style="font-size:13px">Hello everyone,<br><br> I tried the ExternalVTK calls as instructed by the blog page and I am doing the following but for some reason VTK doesn't seem to render.<br><br>I am using Qt 5.4 as well. If someone could throw some light on how to mix native OpenGL calls with VTK renders I would really appreciate it.</font><div style="font-size:13px"><font face="monospace, monospace"><br></font></div><div style="font-size:13px"><font face="monospace, monospace"><div class="gmail_default" style="font-family:'courier new',monospace;display:inline">Thank you very much</div></font></div><div style="font-size:13px"><font face="monospace, monospace"><div class="gmail_default" style="font-family:'courier new',monospace;display:inline">Ram.</div><br><br><br>VisWidget::VisWidget( QWidget* parent, const GLWidget* shareWidget, Qt::WindowFlags f ): NEGLWidget( parent, shareWidget, f )<br><br>{<br>#if WIN32<br> this->m_externalVTKWidget = vtkSmartPointer<ExternalVTKWidget>::New();<br> this->m_renWin =<div class="gmail_default" style="display:inline"> </div>vtkSmartPointer<vtkExternalOpenGLRenderWindow>::New();<br> this->m_externalVTKWidget->SetRenderWindow( m_renWin.GetPointer() );<br> this->m_ren = vtkSmartPointer<vtkExternalOpenGLRenderer>( this->m_externalVTKWidget->AddRenderer() );<br> this->m_cam = vtkSmartPointer<vtkExternalOpenGLCamera>::New();<br> m_ren->SetActiveCamera( this->m_cam );<br>#endif<br><br> m_VTK = false;<br><br>}</font><div><font face="monospace, monospace"><br></font></div></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-size:13px"><br></div></div></blockquote></div></div></div>
<br></div></div>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>