#include <creaImageIOWxGimmickPanel.h>
Public Types | |
typedef boost::signal< void(bool)> | SendImageSignalType |
typedef SendImageSignalType::slot_function_type | SendImageCallbackType |
Public Member Functions | |
WxGimmickPanel () | |
WxGimmickPanel (wxWindow *parent, const wxWindowID id, const wxPoint &pos, const wxSize &size, int threads=0) | |
~WxGimmickPanel () | |
void | ConnectSendImageObserver (SendImageCallbackType callback) |
void | GetSelectedImages (std::vector< vtkImageData * > &s, int dim) |
void | OnSelectedImage (bool t) |
void | AddImagesToDB (std::string dir) |
Private Attributes | |
Gimmick * | mGimmick |
WxGimmickView * | mView |
SendImageSignalType | mSendImageSignal |
The sendImage signal. |
Definition at line 20 of file creaImageIOWxGimmickPanel.h.
typedef boost::signal<void (bool)> creaImageIO::WxGimmickPanel::SendImageSignalType |
Definition at line 33 of file creaImageIOWxGimmickPanel.h.
typedef SendImageSignalType::slot_function_type creaImageIO::WxGimmickPanel::SendImageCallbackType |
Definition at line 34 of file creaImageIOWxGimmickPanel.h.
creaImageIO::WxGimmickPanel::WxGimmickPanel | ( | ) |
creaImageIO::WxGimmickPanel::WxGimmickPanel | ( | wxWindow * | parent, | |
const wxWindowID | id, | |||
const wxPoint & | pos, | |||
const wxSize & | size, | |||
int | threads = 0 | |||
) |
creaImageIO::WxGimmickPanel::~WxGimmickPanel | ( | ) |
void creaImageIO::WxGimmickPanel::ConnectSendImageObserver | ( | SendImageCallbackType | callback | ) |
Adds the function f to the list of functions to call when the addition progresses. f is of type ProgressCallbackType which is: void (*ProgressCallbackType)(Progress&) To pass a member function 'f' of an instance 'c' of a class 'C' as callback you have to 'bind' it, i.e. call: ConnectSendImageObserver ( boost::bind( &C::f , c, _1 ) );
void creaImageIO::WxGimmickPanel::GetSelectedImages | ( | std::vector< vtkImageData * > & | s, | |
int | dim | |||
) | [inline] |
Definition at line 52 of file creaImageIOWxGimmickPanel.h.
00053 { mView->GetSelectedImages(s, dim); }
void creaImageIO::WxGimmickPanel::OnSelectedImage | ( | bool | t | ) |
void creaImageIO::WxGimmickPanel::AddImagesToDB | ( | std::string | dir | ) |
Gimmick* creaImageIO::WxGimmickPanel::mGimmick [private] |
Definition at line 62 of file creaImageIOWxGimmickPanel.h.
WxGimmickView* creaImageIO::WxGimmickPanel::mView [private] |
Definition at line 63 of file creaImageIOWxGimmickPanel.h.