Are you hoping that this will make its way into the main VTK repo or is this personal code that you plan on maintaining yourself and plan on linking with VTK?<br><br>There are people that know more about this than me but this sounds like a bad idea for the main VTK repo.  A lot of the OpenGL specific calls are hidden by factories which create them as needed.  For example, you&#39;d create a vtkPolyDataMapper and the factory would create the vtkOpenGLPolyDataMapper, vtkMesaPolyDataMapper, etc as needed by the build.<br>
<br>Andy<br><br><div class="gmail_quote">On Tue, Oct 4, 2011 at 6:34 PM, Sohail Shafii <span dir="ltr">&lt;<a href="mailto:sohailshafii@yahoo.com">sohailshafii@yahoo.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: arial,helvetica,sans-serif; font-size: 12pt;"><div><span>Hi,</span></div><div><br><span></span></div><div><span>If I were to write a typical VTK filter C++ (i.e. the type with VTKRequestData, not existing in the VTK/Rendering folder), would it be fine to have OpenGL calls in there?  I&#39;m guessing based on the way VTK is designed, most classes that access OpenGL directly might exist in the Rendering folder.  This is more of a design question anyway and relates to how to VTK classes are designed.</span></div>
<div><br><span></span></div><div><span>My class will add data structures to the pipeline but it may need a fragment shader for computations.</span></div><div><br><span></span></div><font color="#888888"><div><span>Sohail<br>
</span></div><div><br><span></span></div><div><span><br></span></div><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br></div></font></div></div><br>_______________________________________________<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 ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br>