+
#include "creaImageIOSimpleView.h"
#include <creaWx.h>
#include <itkImageFileReader.h>
*/
/// Simple Wxwidgets interface to select file(s) or directory or from creaImageIO database to display
- class __declspec(dllexport) WxAnySimpleDlg : public wxDialog
+//EED class __declspec(dllexport) WxAnySimpleDlg : public wxDialog
+ class CREAIMAGEIO_EXPORT WxAnySimpleDlg : public wxDialog
{
public:
/// Ctor
// get an Image on wanted type
template <typename TImage>
- typename TImage::Pointer getImage(boost::any i_AnyImage)
+ typename TImage::Pointer getImage(boost::any i_AnyImage)
{
- typedef itk::Image<TImage> ImageOut;
- ImageOut::Pointer img = ImageOut::New();
+ typedef itk::Image<TImage> ImageOut;
+ typename ImageOut::Pointer img = ImageOut::New();
img = boost::any_cast< ImageOut::Pointer>(i_AnyImage);
return img;
}