[vtkusers] How to embed VTK rendering context into Windows Form

Gib Bogle g.bogle at auckland.ac.nz
Wed Jun 11 08:22:08 EDT 2014


I use the same combination (and with ITK), and I agree, it works very well.

Gib
________________________________________
From: vtkusers [vtkusers-bounces at vtk.org] on behalf of John Drescher [drescherjm at gmail.com]
Sent: Thursday, 12 June 2014 12:19 a.m.
To: Sonya Blade
Cc: vtkusers at vtk.org
Subject: Re: [vtkusers] How to embed VTK rendering context into Windows Form

On Wed, Jun 11, 2014 at 8:14 AM, Sonya Blade <sonyablade2010 at hotmail.com> wrote:
> Thanks for the advice John,
>
> At least, its good to know that VTK runs on one of the IDEs, I do have the
> Qt Creator 2.6 and Qt 4.8
> installed, but I kinda don't like the Qt as IDE bcoz it really is slow
> during the compilaiton process.

Since 2008 I use VTK and Qt with Visual Studio everyday at work. This
works very well. Instead of the Qt visual studio addon I use CMake to
generate my projects. These days I am using VS 2010 and Qt-4.8.6,
CMake 3.0 and VTK 5.10.

>
> Normally it's only matter of swapping the handles of intended graphical
> content to the OPenGL rendering context
> in any case it will go into OpenGL function of SwapBuffers(DC); But this
> time I couldn't succeed to do it so and I'm
> tearing my hair out.
>
> Do you know where exactly teh Qt Gui examples resides after compilation in
> build directory, in source files they are in
> D:\..........\VTK-6.1.0\Examples\GUI\Qt folder but after the build
> D:\..........\VTK-6.1.0_BUILD\Examples\GUI\Qt doesn't exist.
>

You need to enable Qt in CMake-gui

John
_______________________________________________
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


More information about the vtkusers mailing list