#include <display_image_frame.h>
Collaboration diagram for DisplayImageFrame:
Definition at line 76 of file display_image_frame.h.
Public Member Functions | |
DisplayImageFrame () | |
Constructors. | |
virtual | ~DisplayImageFrame () |
DisplayImageFrame (wxWindow *parent, int stream_id, const wxSize &size=SYMBOL_DISPLAYIMAGEFRAME_SIZE, wxWindowID id=SYMBOL_DISPLAYIMAGEFRAME_IDNAME, const wxString &caption=SYMBOL_DISPLAYIMAGEFRAME_TITLE, const wxPoint &pos=SYMBOL_DISPLAYIMAGEFRAME_POSITION, long style=SYMBOL_DISPLAYIMAGEFRAME_STYLE) | |
bool | Create (wxWindow *parent, wxWindowID id=SYMBOL_DISPLAYIMAGEFRAME_IDNAME, const wxString &caption=SYMBOL_DISPLAYIMAGEFRAME_TITLE, const wxPoint &pos=SYMBOL_DISPLAYIMAGEFRAME_POSITION, const wxSize &size=SYMBOL_DISPLAYIMAGEFRAME_SIZE, long style=SYMBOL_DISPLAYIMAGEFRAME_STYLE) |
void | CreateControls () |
Creates the controls and sizers. | |
void | OnCloseWindow (wxCloseEvent &event) |
wxEVT_CLOSE_WINDOW event handler for ID_DISPLAY_FRAME | |
wxBitmap | GetBitmapResource (const wxString &name) |
Retrieves bitmap resources. | |
wxIcon | GetIconResource (const wxString &name) |
Retrieves icon resources. | |
void | DisplayIplImage (IplImage *image) |
Static Public Member Functions | |
static bool | ShowToolTips () |
Should we show tooltips? | |
Private Attributes | |
DisplayCanvas * | _display_canvas |
bool | _can_display |
int | _window_width |
int | _window_height |
int | _stream_id |
wxPanel * | itemPanel2 |
DisplayImageFrame::DisplayImageFrame | ( | ) |
DisplayImageFrame constructors
Definition at line 65 of file display_image_frame.cpp.
DisplayImageFrame::~DisplayImageFrame | ( | ) | [virtual] |
Definition at line 69 of file display_image_frame.cpp.
DisplayImageFrame::DisplayImageFrame | ( | wxWindow * | parent, | |
int | stream_id, | |||
const wxSize & | size = SYMBOL_DISPLAYIMAGEFRAME_SIZE , |
|||
wxWindowID | id = SYMBOL_DISPLAYIMAGEFRAME_IDNAME , |
|||
const wxString & | caption = SYMBOL_DISPLAYIMAGEFRAME_TITLE , |
|||
const wxPoint & | pos = SYMBOL_DISPLAYIMAGEFRAME_POSITION , |
|||
long | style = SYMBOL_DISPLAYIMAGEFRAME_STYLE | |||
) |
Definition at line 73 of file display_image_frame.cpp.
References Create().
Here is the call graph for this function:
bool DisplayImageFrame::Create | ( | wxWindow * | parent, | |
wxWindowID | id = SYMBOL_DISPLAYIMAGEFRAME_IDNAME , |
|||
const wxString & | caption = SYMBOL_DISPLAYIMAGEFRAME_TITLE , |
|||
const wxPoint & | pos = SYMBOL_DISPLAYIMAGEFRAME_POSITION , |
|||
const wxSize & | size = SYMBOL_DISPLAYIMAGEFRAME_SIZE , |
|||
long | style = SYMBOL_DISPLAYIMAGEFRAME_STYLE | |||
) |
DisplayImage creator
Definition at line 99 of file display_image_frame.cpp.
References _can_display, _window_height, _window_width, and CreateControls().
Referenced by DisplayImageFrame().
Here is the call graph for this function:
Here is the caller graph for this function:
void DisplayImageFrame::CreateControls | ( | ) |
Control creation for DisplayImage
Definition at line 121 of file display_image_frame.cpp.
References _display_canvas, ID_PANEL, itemPanel2, and NULL.
Referenced by Create().
Here is the caller graph for this function:
void DisplayImageFrame::DisplayIplImage | ( | IplImage * | image | ) |
Definition at line 167 of file display_image_frame.cpp.
References _can_display, _display_canvas, DisplayCanvas::DrawIplImage(), itemPanel2, and NULL.
Here is the call graph for this function:
wxBitmap DisplayImageFrame::GetBitmapResource | ( | const wxString & | name | ) |
Get bitmap resources
Definition at line 145 of file display_image_frame.cpp.
wxIcon DisplayImageFrame::GetIconResource | ( | const wxString & | name | ) |
Get icon resources
Definition at line 157 of file display_image_frame.cpp.
void DisplayImageFrame::OnCloseWindow | ( | wxCloseEvent & | event | ) |
wxEVT_CLOSE_WINDOW event handler for ID_DISPLAY_FRAME
Definition at line 190 of file display_image_frame.cpp.
References _can_display.
bool DisplayImageFrame::ShowToolTips | ( | ) | [static] |
Should we show tooltips?
Definition at line 136 of file display_image_frame.cpp.
bool DisplayImageFrame::_can_display [private] |
Definition at line 130 of file display_image_frame.h.
Referenced by Create(), DisplayIplImage(), and OnCloseWindow().
DisplayCanvas* DisplayImageFrame::_display_canvas [private] |
Definition at line 129 of file display_image_frame.h.
Referenced by CreateControls(), and DisplayIplImage().
int DisplayImageFrame::_stream_id [private] |
Definition at line 133 of file display_image_frame.h.
int DisplayImageFrame::_window_height [private] |
int DisplayImageFrame::_window_width [private] |
wxPanel* DisplayImageFrame::itemPanel2 [private] |
Definition at line 134 of file display_image_frame.h.
Referenced by CreateControls(), and DisplayIplImage().