dlg = new creaImageIO::WxAnySimpleDlg(0,crea::std2wx(bbGetInputTitle()),"localdatabase_Descriptor.dscp","Local Database");
dlg->ShowModal();
-
- // FCY to test
+
bbtk::TypeInfo typ = bbitk::GetITKImagePtrTypeInfoFromPixelTypeInfoAndDimension(*dlg->getTypes().front(), dlg->getDims().front());
BBTK_TEMPLATE_ITK_IMAGE_SWITCH(typ, Export);
bbSetOutputOutVImages(dlg->getVtkImagesSelected());
}
else if (dlg->getImagesSelected().size() > 1)
{
-// bbSetOutputOutImages( bbSetOutputOutIImages( dlg->getTemplatedImagesSelected<TImage>() ));
+ OutputImagesITKType temp;
+ //std::vector<TImage*> temp;
+ std::vector<TImage::Pointer>::iterator it = dlg->getTemplatedImagesSelected<TImage>().begin();
+ for(;it != dlg->getTemplatedImagesSelected<TImage>().end(); ++it)
+ {
+ temp.push_back( (*it).GetPointer() );
+ }
+ bbSetOutputOutIImages( temp);
}
else
{