From: Juan Prieto Date: Wed, 2 Dec 2009 16:28:06 +0000 (+0000) Subject: export de la funcio npara crear el viewer X-Git-Tag: CREATOOLS.2-0-3~83 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=6dc7534dff25fd12b882ac520c4befdbaf9d4709;p=creaImageIO.git export de la funcio npara crear el viewer --- diff --git a/src2/creaImageIOGimmickReaderDialog.cpp b/src2/creaImageIOGimmickReaderDialog.cpp index 3bf6f22..edf6a60 100644 --- a/src2/creaImageIOGimmickReaderDialog.cpp +++ b/src2/creaImageIOGimmickReaderDialog.cpp @@ -7,7 +7,7 @@ -CREAIMAGEIO_EXPORT vtkImageData* getImageDataDialog() { +vtkImageData* getImageDataDialog() { // wxApp::OnInit(); #ifdef __WXGTK__ //See http://www.wxwindows.org/faqgtk.htm#locale @@ -21,7 +21,7 @@ CREAIMAGEIO_EXPORT vtkImageData* getImageDataDialog() { int min_dim = GIMMICK_2D_IMAGE_SELECTION; int max_dim = GIMMICK_3D_IMAGE_SELECTION; int output_dim = NATIVE; - int threads = 1; + int threads = 1; creaImageIO::WxGimmickReaderDialog w( 0, @@ -30,7 +30,7 @@ CREAIMAGEIO_EXPORT vtkImageData* getImageDataDialog() { "Local Database", _T("Select image(s) - Gimmick! (c) CREATIS-LRMN 2008"), wxDefaultPosition, - wxSize(810,750), + wxSize(1200,800), min_dim, max_dim, output_dim, diff --git a/src2/creaImageIOGimmickReaderDialog.h b/src2/creaImageIOGimmickReaderDialog.h index a9fdf0a..df640ff 100644 --- a/src2/creaImageIOGimmickReaderDialog.h +++ b/src2/creaImageIOGimmickReaderDialog.h @@ -5,8 +5,10 @@ #include #include - -CREAIMAGEIO_EXPORT vtkImageData* getImageDataDialog(); + extern "C" + { + CREAIMAGEIO_EXPORT vtkImageData* getImageDataDialog(); + } namespace creaImageIO {