[vtkusers] [Insight-users] Fwd: renWin->InitializeFromCurrentContext() ;

Joachim Pouderoux joachim.pouderoux at kitware.com
Tue Mar 5 02:18:12 EST 2013


Hi,

Indeed, I added InitializeFromCurrentContext() recently and it will not be
available in vtk5.
2 solutions:
- use vtk 6 available on the git repository
- try to apply the patch of this change on your favorite vtk version - you
will find it in the logs of http://vtk.org/VTK.git

Joachim

Le 5 mars 2013 à 00:22, "Dženan Zukić" <dzenanz at gmail.com> a écrit :

I don't know when will vtk6 be released. It has been in preparation for
quite some time now.

As renderer and renderWindow are among the main classes of vtk, I don't
think copying will work.


On Mon, Mar 4, 2013 at 5:39 PM, yas --- <yas2349 at gmail.com> wrote:

> your welcome!
>
> when  will vtk 6 realese ?
> Do I copy replace  classes relate  rendering of vtk 6 in vtk 5.10 and use InitializeFromCurrentContext
> in classvtkWin32OpenGLRenderWindow<http://www.vtk.org/doc/nightly/html/classvtkWin32OpenGLRenderWindow.html>
> ?
> thanks
>
>
> On Tue, Mar 5, 2013 at 1:34 AM, Dženan Zukić <dzenanz at gmail.com> wrote:
>
>> F*ck! That is nightly, for yet unreleased vtk 6. Sorry about confusion.
>>
>>
>> On Mon, Mar 4, 2013 at 4:36 PM, yas --- <yas2349 at gmail.com> wrote:
>>
>>> thanks ,
>>> I downloade vtkDocHtml-5.10.1.tar,and there is not  InitializeFromCurrentContext
>>> in classvtkWin32OpenGLRenderWindow<http://www.vtk.org/doc/nightly/html/classvtkWin32OpenGLRenderWindow.html>
>>> .
>>> Is  this doc that you said relate to whick vertion of vtk?
>>> thanks alot!
>>>
>>>
>>>
>>> On Mon, Mar 4, 2013 at 10:54 PM, Dženan Zukić <dzenanz at gmail.com> wrote:
>>>
>>>>  [image: Boxbe] <https://www.boxbe.com/overview> =?UTF-8?B?RMW+ZW5hbiBadWtpxIc=?=
>>>> (dzenanz at gmail.com) is not on your Guest List<https://www.boxbe.com/approved-list>| Approve
>>>> sender<https://www.boxbe.com/anno?tc_serial=13679843654&tc_rand=400713989&utm_source=stf&utm_medium=email&utm_campaign=ANNO_MWTP&utm_content=001>| Approve
>>>> domain<https://www.boxbe.com/anno?tc_serial=13679843654&tc_rand=400713989&utm_source=stf&utm_medium=email&utm_campaign=ANNO_MWTP&utm_content=001&dom>
>>>>
>>>> VTK 5.10.1 is the latest release of VTK
>>>> http://www.vtk.org/VTK/resources/software.html#latest
>>>>
>>>> The docs say that current version has this method:
>>>> http://www.vtk.org/doc/nightly/html/classvtkWin32OpenGLRenderWindow.html
>>>>
>>>>
>>>> On Mon, Mar 4, 2013 at 12:54 PM, yas --- <yas2349 at gmail.com> wrote:
>>>>
>>>>>
>>>>> Hi
>>>>>
>>>>>
>>>>> I write follow code,but renwin hast not member InitializeFromCurrentContext()?
>>>>> which vertion of vtk had method  InitializeFromCurrentContext in renderwindow class?
>>>>>
>>>>>  and How I can download it
>>>>>
>>>>> thanks alot
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> _____________________________________
>>>>> Powered by www.kitware.com
>>>>>
>>>>> Visit other Kitware open-source projects at
>>>>> http://www.kitware.com/opensource/opensource.html
>>>>>
>>>>> Kitware offers ITK Training Courses, for more information visit:
>>>>> http://www.kitware.com/products/protraining.php
>>>>>
>>>>> Please keep messages on-topic and check the ITK FAQ at:
>>>>> http://www.itk.org/Wiki/ITK_FAQ
>>>>>
>>>>> Follow this link to subscribe/unsubscribe:
>>>>> http://www.itk.org/mailman/listinfo/insight-users
>>>>>
>>>>>
>>>>
>>>>
>>>
>>
>
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the VTK FAQ at:
http://www.vtk.org/Wiki/VTK_FAQ

Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130305/adeff952/attachment.htm>


More information about the vtkusers mailing list