namespace creaImageIO
{
/**
- * \ingroup View
- */
+ * \ingroup View
+ */
/// Simple Wxwidgets interface to select file(s) or directory or from creaImageIO database to display
//EED class __declspec(dllexport) WxAnySimpleDlg : public wxDialog
WxAnySimpleDlg( wxWindow *parent,
wxString i_title =_T(""),
const std::string i_namedescp = "localdatabase_Descriptor.dscp",
- const std::string i_namedb = "Local Database"
- );
+ const std::string i_namedb = "Local Database"
+ );
~WxAnySimpleDlg(){};
std::vector <boost::any>& getImagesSelected(){ return m_AnyImages;}
// return the size of readed images
- //strange compile error // JPR
- std::vector<const size_t> getDims(){ return m_AnyDims;}
+ std::vector</*const*/ size_t> getDims(){ return m_AnyDims;} // comment out const // JPR
// return the type of readed images
- std::vector<const std::type_info *> getTypes(){ return m_AnyType;}
+ std::vector</*const */std::type_info *> getTypes(){ return m_AnyType;} // comment out const // JPR
// get an Image on wanted type
+ /*
+ // strange compile error, commented out on Fred's advice // JPR
template <typename TImage>
typename TImage::Pointer getImage(boost::any i_AnyImage)
{
img = boost::any_cast< ImageOut::Pointer>(i_AnyImage);
return img;
}
+ */
// get the images on itk type defined by user
template <typename TImage>
private:
// strange compile error with gcc 4.5.1-4 //JPR
- std::vector<const size_t> m_AnyDims;
- std::vector<const std::type_info *> m_AnyType;
- std::vector<boost::any> m_AnyImages;
+ std::vector</*const*/ size_t> m_AnyDims; //comment out const JPR
+ std::vector</*const*/ std::type_info *> m_AnyType; //comment out const JPR
+ std::vector<boost::any> m_AnyImages; //comment out const JPR
std::vector<std::string> m_exts;
std::string namedescp;
std::string namedb;