[Insight-users] Re: wxWidgets with ITK/VTK?

Mathieu Malaterre mathieu.malaterre at kitware.com
Thu Jul 21 23:36:00 EDT 2005


Wilbur C.K. Wong wrote:
> Hi Ricardo,
> 
> 
>>Does anybody know if there is a simple example available in somewhere
>>about how to use wxWidgets with ITK/VTK?
> 
> 
> The wxVTKRenderWindowInteractor (available at
> http://wxvtk.sourceforge.net/) would help to you connect the VTK
> renderer output to the wxWidgets framework.  This is what I've been
> using for my research work.
> 

best way, if you ask me :)

> # Set useful directories path.
> SET(WXWINDOWS_ROOT C:/wxWindows-2.4.2)
> SET(WXWINDOWS_CONTRIBUTION_ROOT ${WXWINDOWS_ROOT}/contrib/)
> SET(WXWINDOWS_LIBRARY_ROOT ${WXWINDOWS_ROOT}/lib)

Why are you doing this ? I believe a simple:

FIND_PACKAGE(wxWidgets) should work, right ?


Mathieu


More information about the Insight-users mailing list