[vtk-developers] VTKOpenGLExtensionManager in VTK 7.0?

Deepak Surti dmsurti at gmail.com
Thu Feb 11 09:06:05 EST 2016


On Wed, Feb 10, 2016 at 11:56 PM, Ken Martin <ken.martin at kitware.com> wrote:

> You could try calling renWin.ReportCapabilities() and extract the pieces
> you need form it maybe.
>

That works. Thanks Ken.

Regards,
Deepak


> On Tue, Feb 9, 2016 at 7:23 AM, Deepak Surti <dmsurti at gmail.com> wrote:
>
>> Hi,
>>
>> vtkOpenGLExtensionManager is missing in VTK 7.0 with the default
>> VTK_RENDERING_BACKEND OpenGL2.
>>
>> With the old OpenGL Backend up to VTK 6.3, I did something like this to
>> get hold of the GL Driver, Renderer version etc.
>>
>> ```
>>     ren = vtk.vtkRenderer()
>>     renWin = vtk.vtkRenderWindow()
>>     renWin.AddRenderer(ren)
>>
>>     # Now check the OpenGL metadata using the extension manager
>>     em = vtk.vtkOpenGLExtensionManager()
>>     em.SetRenderWindow(renWin)
>>     renWin.Render()
>>     em.Update()
>>
>>     vtk_ver = vtk.vtkVersion().GetVTKVersion()
>>     gl_driver = em.GetDriverGLVersion()
>>     gl_renderer = em.GetDriverGLRenderer()
>> ```
>>
>> What is the replacement for vtkOpenGLExtensionManager or with OpenGL2
>> backend, how do I get the above information?
>>
>> Thanks,
>> Deepak
>>
>>
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Search the list archives at: http://markmail.org/search/?q=vtk-developers
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/vtk-developers
>>
>>
>>
>
>
> --
> Ken Martin PhD
> Chairman & CFO
> Kitware Inc.
> 28 Corporate Drive
> Clifton Park NY 12065
> 518 371 3971
>
> This communication, including all attachments, contains confidential and
> legally privileged information, and it is intended only for the use of the
> addressee.  Access to this email by anyone else is unauthorized. If you are
> not the intended recipient, any disclosure, copying, distribution or any
> action taken in reliance on it is prohibited and may be unlawful. If you
> received this communication in error please notify us immediately and
> destroy the original message.  Thank you.
>



-- 
http://deepaksurti.com
To see a miracle, be the miracle.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20160211/05e10eaa/attachment-0001.html>


More information about the vtk-developers mailing list