[Insight-users] Interfacing itk+vtk with visual studio

Dora Szasz dora.szasz at yahoo.com
Sun May 22 04:20:09 EDT 2011


Hi Luis,
I have tried to run the example from GettingStarted IV, itk integration with FLTK, but when I am building it, it returns me an error on the generated myProjectGUI.h:
2>D:\Lib\Project\MyProject_Qt\bin\myProjectGUI.h(10) : error C2143: syntax error : missing ';' before '*'


This .h file is automatically generated, so I don't know what is the problem here.
It looks like:
#ifndef myProjectGUI_h
#define myProjectGUI_h
#include <FL/Fl.H>

class myProjectGUI {
public:
  myProjectGUI();
  Window *controlPanel;
  ~myProjectGUI();
  void Quit();
  void Hide();
  void Show();
};
#endif

thank you, Luis for helping me a lot!


________________________________
From: Luis Ibanez <luis.ibanez at kitware.com>
To: Dora Szasz <dora.szasz at yahoo.com>
Cc: "insight-users at itk.org" <insight-users at itk.org>
Sent: Saturday, May 21, 2011 8:40 PM
Subject: Re: [Insight-users] Interfacing itk+vtk with visual studio

Hi Dora,

Please read the Tutorials:
http://www.itk.org/ITK/help/tutorials.html

in particular:
"Getting Started II: Using ITK with VTK"
http://www.itk.org/CourseWare/Training/GettingStarted-II.pdf


You may also find useful the examples in
Insight Applications:

InsightApplications/Auxiliary/vtk

itkReadITKImage3DExtractContourVTK.cxx
itkReadITKImage3DSegmentShowVTK.cxx
itkReadITKImageSegmentShowVTK.cxx
itkReadITKImageShowSplineVTK.cxx
itkReadITKImageShowVTK.cxx


and the following paper in the Insight Journal:
http://www.insight-journal.org/browse/publication/146
http://hdl.handle.net/1926/495



    Luis


----------------------------------------------------
On Thu, May 19, 2011 at 12:14 PM, Dora Szasz <dora.szasz at yahoo.com> wrote:
> Hello all,
> Have you ever made or know an example of interfacing itk+vtk with visual
> studio? I want something from I can begin to make an application. A GUI
> created in Visual Studio in order to coordonate the vtk window. Some
> interactive buttons and to coordonate an image/3d volume or something
> created with vtk.
> I am a beginer in Visual Studio interfacing and vtk and I want something for
> the start point. A basic application.
> Thank you a lot!
> Dora
> _____________________________________
> 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.html
>
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110522/20f94fb4/attachment.htm>


More information about the Insight-users mailing list