[vtk-developers] Linking a VTK viewer in MFC Application

David Cole david.cole at kitware.com
Wed Nov 16 06:37:47 EST 2011


Please see the MFC related examples in VTK/Examples/GUI/Win32.

Adding your ITK support to an app based on one of those examples
should be a good start.


HTH,
David

On Wed, Nov 16, 2011 at 12:49 AM, Sridhar Ponnangatti Masilamani
<Sridhar.Masilamani at hcl.com> wrote:
> Hi,
>
>
>
> I have made a application in which I read an image using ITK, display it in
> VTK viewer.
>
> I have combined the above two in a MFC Single Document application.
>
>
>
> So when I click a button on GUI,
>
>
>
> The image is read in ITK and displayed using a VTK viewer.
>
>
>
> My concern is I am getting two separate windows i.e. one for the MFC and the
> other the VTK viewer.
>
>
>
> Can we combine the VTK Viewer into an MFC GUI i.e. I want to embed that VTK
> viewer my MFC. I don’t want two separate windows coming up.
>
>
>
> Please provide some suggestions on this.
>
>
>
>
>
> Regards,
>
> Sridhar.
>
> ________________________________
> ::DISCLAIMER::
> -----------------------------------------------------------------------------------------------------------------------
>
> The contents of this e-mail and any attachment(s) are confidential and
> intended for the named recipient(s) only.
> It shall not attach any liability on the originator or HCL or its
> affiliates. Any views or opinions presented in
> this email are solely those of the author and may not necessarily reflect
> the opinions of HCL or its affiliates.
> Any form of reproduction, dissemination, copying, disclosure, modification,
> distribution and / or publication of
> this message without the prior written consent of the author of this e-mail
> is strictly prohibited. If you have
> received this email in error please delete it and notify the sender
> immediately. Before opening any mail and
> attachments please check them for viruses and defect.
>
> -----------------------------------------------------------------------------------------------------------------------
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
>
>



More information about the vtk-developers mailing list