#include <display_canvas.h>
Definition at line 41 of file display_canvas.h.
Public Member Functions | |
DisplayCanvas (wxWindow *frame, const wxSize &size) | |
virtual | ~DisplayCanvas () |
void | DrawIplImage (IplImage *ipl_image) |
void | Draw (wxDC &dc) |
Private Member Functions | |
void | OnPaint (wxPaintEvent &event) |
Private Attributes | |
bool | _new_image_available |
bool | _drawing |
int | _canvas_height |
int | _canvas_width |
wxBitmap | _new_wxbitmap |
DisplayCanvas::DisplayCanvas | ( | wxWindow * | frame, | |
const wxSize & | size | |||
) |
Definition at line 29 of file display_canvas.cpp.
DisplayCanvas::~DisplayCanvas | ( | ) | [virtual] |
Definition at line 39 of file display_canvas.cpp.
void DisplayCanvas::Draw | ( | wxDC & | dc | ) |
Definition at line 79 of file display_canvas.cpp.
References _drawing, _new_image_available, and _new_wxbitmap.
Referenced by OnPaint().
Here is the caller graph for this function:
void DisplayCanvas::DrawIplImage | ( | IplImage * | ipl_image | ) |
Definition at line 51 of file display_canvas.cpp.
References _canvas_height, _canvas_width, _drawing, _new_image_available, and _new_wxbitmap.
Referenced by DisplayImageFrame::DisplayIplImage().
Here is the caller graph for this function:
void DisplayCanvas::OnPaint | ( | wxPaintEvent & | event | ) | [private] |
Definition at line 45 of file display_canvas.cpp.
References Draw().
Here is the call graph for this function:
int DisplayCanvas::_canvas_height [private] |
int DisplayCanvas::_canvas_width [private] |
bool DisplayCanvas::_drawing [private] |
bool DisplayCanvas::_new_image_available [private] |
wxBitmap DisplayCanvas::_new_wxbitmap [private] |