creaImageIO::WxGimmickPanel Class Reference
[Top level graphical user interfaces]

#include <creaImageIOWxGimmickPanel.h>

Collaboration diagram for creaImageIO::WxGimmickPanel:

Collaboration graph
[legend]

List of all members.

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

GimmickmGimmick
WxGimmickViewmView
SendImageSignalType mSendImageSignal
 The sendImage signal.


Detailed Description

Definition at line 20 of file creaImageIOWxGimmickPanel.h.


Member Typedef Documentation

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.


Constructor & Destructor Documentation

creaImageIO::WxGimmickPanel::WxGimmickPanel (  ) 

creaImageIO::WxGimmickPanel::WxGimmickPanel ( wxWindow *  parent,
const wxWindowID  id,
const wxPoint &  pos,
const wxSize &  size,
int  threads = 0 
)

creaImageIO::WxGimmickPanel::~WxGimmickPanel (  ) 


Member Function Documentation

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  ) 


Member Data Documentation

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.

SendImageSignalType creaImageIO::WxGimmickPanel::mSendImageSignal [private]

The sendImage signal.

Definition at line 66 of file creaImageIOWxGimmickPanel.h.


The documentation for this class was generated from the following file:
Generated on Mon Jun 22 10:50:06 2009 for CreaImageIO by  doxygen 1.5.3