creaImageIO_lib
|
Simple Wxwidgets interface to select file(s) or directory or from creaImageIO database to display. More...
#include <creaImageIOWxSimpleDlg.h>
Public Member Functions | |
WxSimpleDlg (wxWindow *parent, wxString i_title=_T(""), const std::string i_namedescp="localdatabase_Descriptor.dscp", const std::string i_namedb="Local Database") | |
Ctor. More... | |
~WxSimpleDlg () | |
Dtor. More... | |
void | OnReadFile (wxCommandEvent &event) |
Callback to read file(s) More... | |
void | OnReadDirectory (wxCommandEvent &event) |
Callback to read directory, no recursive. More... | |
void | OnReadGimmick (wxCommandEvent &event) |
Callback to select from creaImageIO database. More... | |
std::vector< vtkImageData * > | getImagesSelected () |
return a vtkImageData vector of selected images, if available More... | |
wxString | getInfoImage () |
void | setInfo (bool i_val) |
std::vector < creaImageIO::OutStrGimmick > | getMapInfos () |
Private Attributes | |
bool | bInfo |
std::string | namedescp |
std::string | namedb |
wxString | infoimage |
SimpleView | m_view |
interface to read data More... | |
std::vector< vtkImageData * > | m_results |
vtkImageData vector More... | |
std::vector < creaImageIO::OutStrGimmick > | m_resultsInfo |
Simple Wxwidgets interface to select file(s) or directory or from creaImageIO database to display.
Definition at line 38 of file creaImageIOWxSimpleDlg.h.
creaImageIO::WxSimpleDlg::WxSimpleDlg | ( | wxWindow * | parent, |
wxString | i_title = _T("") , |
||
const std::string | i_namedescp = "localdatabase_Descriptor.dscp" , |
||
const std::string | i_namedb = "Local Database" |
||
) |
Ctor.
Button to select Bruker directory
Definition at line 36 of file creaImageIOWxSimpleDlg.cpp.
References bInfo, namedb, namedescp, OnReadDirectory(), OnReadFile(), and OnReadGimmick().
|
inline |
std::vector< vtkImageData * > creaImageIO::WxSimpleDlg::getImagesSelected | ( | ) |
return a vtkImageData vector of selected images, if available
Definition at line 187 of file creaImageIOWxSimpleDlg.cpp.
References m_results.
Referenced by getImageDataDialog().
wxString creaImageIO::WxSimpleDlg::getInfoImage | ( | ) |
Definition at line 179 of file creaImageIOWxSimpleDlg.cpp.
References infoimage.
Referenced by getImageDataDialog().
|
inline |
Definition at line 69 of file creaImageIOWxSimpleDlg.h.
Referenced by getImagesInfoDialog().
void creaImageIO::WxSimpleDlg::OnReadDirectory | ( | wxCommandEvent & | event | ) |
Callback to read directory, no recursive.
Definition at line 110 of file creaImageIOWxSimpleDlg.cpp.
References infoimage, m_results, m_view, and creaImageIO::SimpleView::readDirectory().
Referenced by WxSimpleDlg().
void creaImageIO::WxSimpleDlg::OnReadFile | ( | wxCommandEvent & | event | ) |
Callback to read file(s)
Definition at line 69 of file creaImageIOWxSimpleDlg.cpp.
References infoimage, m_results, m_view, and creaImageIO::SimpleView::readFile().
Referenced by WxSimpleDlg().
void creaImageIO::WxSimpleDlg::OnReadGimmick | ( | wxCommandEvent & | event | ) |
Callback to select from creaImageIO database.
Definition at line 135 of file creaImageIOWxSimpleDlg.cpp.
References _3D, bInfo, creaImageIO::WxGimmickReaderDialog::getSelected(), GIMMICK_2D_IMAGE_SELECTION, GIMMICK_3D_IMAGE_SELECTION, m_results, m_resultsInfo, namedb, namedescp, creaImageIO::WxGimmickReaderDialog::OnExit(), and creaImageIO::WxGimmickReaderDialog::stopReading().
Referenced by WxSimpleDlg().
|
inline |
Definition at line 64 of file creaImageIOWxSimpleDlg.h.
Referenced by getImagesInfoDialog().
|
private |
Definition at line 72 of file creaImageIOWxSimpleDlg.h.
Referenced by OnReadGimmick(), and WxSimpleDlg().
|
private |
Definition at line 75 of file creaImageIOWxSimpleDlg.h.
Referenced by getInfoImage(), OnReadDirectory(), and OnReadFile().
|
private |
vtkImageData vector
Definition at line 81 of file creaImageIOWxSimpleDlg.h.
Referenced by getImagesSelected(), OnReadDirectory(), OnReadFile(), and OnReadGimmick().
|
private |
Definition at line 83 of file creaImageIOWxSimpleDlg.h.
Referenced by OnReadGimmick().
|
private |
interface to read data
Definition at line 78 of file creaImageIOWxSimpleDlg.h.
Referenced by OnReadDirectory(), and OnReadFile().
|
private |
Definition at line 74 of file creaImageIOWxSimpleDlg.h.
Referenced by OnReadGimmick(), and WxSimpleDlg().
|
private |
Definition at line 73 of file creaImageIOWxSimpleDlg.h.
Referenced by OnReadGimmick(), and WxSimpleDlg().