Classes | |
class | creaImageIO::TreeView |
Abstract class that handles the view of a Tree through its TreeHandler. More... | |
class | creaImageIO::WxAnySimpleDlg |
Simple Wxwidgets interface to select file(s) or directory or from creaImageIO database to display. More... | |
class | creaImageIO::WxGimmickView |
Concrete derivative of GimmickView which implements a wxWidgets-based view. More... | |
class | creaImageIO::WxSimpleDlg |
Simple Wxwidgets interface to select file(s) or directory or from creaImageIO database to display. More... | |
class | creaImageIO::WxTreeView |
Abstract class that handles the view of a Tree through its TreeHandler. More... | |
class | creaImageIO::GimmickView |
Abstract class that handles views, attributes and previews (GUI) for Gimmick. More... | |
Functions | |
template<typename TImage > | |
class | creaImageIO::__declspec (dllexport) WxISimpleDlg |
Simple Wxwidgets interface to select file(s) or directory or from creaImageIO database to display. |
class creaImageIO::__declspec | ( | dllexport | ) |
Simple Wxwidgets interface to select file(s) or directory or from creaImageIO database to display.
Ctor
Callback to read file(s)
Callback to read directory, no recursive
Callback to select from creaImageIO database
return a vtkImageData vector of selected images, if available
return a itkImage vector of selected images, if available
interface to read data
Definition at line 19 of file creaImageIOWxIsimpleDlg.h.
: public wxDialog { public: WxISimpleDlg( wxWindow *parent, wxString i_title =_T(""), const std::string i_namedescp = "localdatabase_Descriptor.dscp", const std::string i_namedb = "Local Database" ); ~WxISimpleDlg(){}; void setExts(std::vector<std::string>); void OnReadFile(wxCommandEvent& event); void OnReadDirectory(wxCommandEvent &event); void OnReadGimmick(wxCommandEvent &event); std::vector<vtkImageData*> getVtkImagesSelected() {return m_Vresults;} std::vector<typename TImage::Pointer> getImagesSelected(); wxString getInfoImage(); void split4Din3Dvtk(const std::string &i_dir); void split3Din3Dvtk( ); void set(bool i_dicom){m_dicom= i_dicom;} private: std::vector<std::string> m_exts; std::string namedescp; std::string namedb; wxString infoimage; bool m_dicom; SimpleView m_view; void readImg(const std::string &i_name); void readDicomImg(const std::vector<std::string> &i_names); std::vector <typename TImage::Pointer> m_Iresults; std::vector <vtkImageData*> m_Vresults; };