[Insight-users] ITK & VTK & MFC help

J Mst gave_edgar@hotmail.com
Thu, 20 Mar 2003 08:25:06 +0000


Thanx for the reply Luis,

But after reading the post you mentioned, I didn't really got further in my 
example application. Therefore I still have some questions:

Can I easily integrate ITK and VTK in an MFC project made in VC++ by the 
'MFC app wizard'? So without the extern usage of CMake nor other extern 
software.

Could anyone give me an simple example of an MFC GUI project with the use of 
ITK/VTK? This would really help me further because I aint a genie in 
programming.

Luis, can you give me a more exact explanation on the Event/Observer issue 
you mentioned in your reply?

Thanx for all reactions in advance...

Joris
Enschede
The Netherlands




>Hi Joris,
>
>
>Details about how to use CMake for configuring a project that is using
>
>ITK + VTK + MFC
>
>were posted recently to the list.
>
>Please take a look at the following message 
>http://www.itk.org/pipermail/insight-users/2003-March/002751.html
>
>You may want to look closer at the Event/Observer mechanism implemented in 
>ITK in order to support GUI integration. This mechanism is pretty similar 
>to the one used by VTK.
>
>
>Let us know if you have further questions,
>
>
>Regards,
>
>
>Luis
>
>
>
>-----------------------------------
>
>
>k nuppel wrote:
>>Hello everyone,
>>
>>I've recently discovered ITK and I am planning to do some Image 
>>Registration with this toolkit. I first need to say that the documentation 
>>which is accessable on the ITK site and CVS is very helpful and the amount 
>>of documentation has pleased me.
>>
>>I am working on a project for a medical institute which contains image 
>>registration. It is desirable that the application is interpreted in a 
>>windows-like environment for best compatability and user-friendlyness. 
>>Therefore I am planning to work with the MFC within visual C++ 6.0. I have 
>>managed myself to work with VC++ but I am not a specialist. I discovered 
>>the connectivity with VTK and some examples have been performed 
>>succesfully.
>>
>>But now am I planning to create a simple GUI with MFC in order to test 
>>this and now I'm stuck. I have succesfully built the example from the 
>>"gettingstartedII.ppt" presentation in the command line and now I want to 
>>make a simple GUI around this example. So I aim at pushing a button in a 
>>GUI (MFC) so that a image is being displayed by VTK (very simple but it 
>>haven't been accomplished by me :/ ).
>>
>>I have viewed most threads in this mailing list, but I didn't ran into 
>>sortlike problems. I really want to work with MFC and not with other GUI's 
>>such as FLTK. If anyone could give me some helpful information, such as an 
>>ITK/VTK/MFC example application or some document which could bring me 
>>further, I would be very grathfull.
>>
>>greetings,
>>
>>ps: Sorry for my bad english :s
>>
>>
>>
>>Joris
>>
>>Medisch Spectrum Twente
>>
>>Enschede, The Netherlands



_________________________________________________________________
Hotmail en Messenger on the move 
http://www.msn.nl/communicatie/smsdiensten/hotmailsmsv2/