#include <options_dialog.h>
Collaboration diagram for DialogOptions:
Definition at line 116 of file options_dialog.h.
Public Member Functions | |
DialogOptions () | |
Constructors. | |
DialogOptions (wxWindow *parent, StreamerCtrlThread *streamer_thread, ReceiverCtrlThread *receiver_thread, MainFrame *mainframe_pointer, wxWindowID id=SYMBOL_DIALOGOPTIONS_IDNAME, const wxString &caption=SYMBOL_DIALOGOPTIONS_TITLE, const wxPoint &pos=SYMBOL_DIALOGOPTIONS_POSITION, const wxSize &size=SYMBOL_DIALOGOPTIONS_SIZE, long style=SYMBOL_DIALOGOPTIONS_STYLE) | |
bool | Create (wxWindow *parent, wxWindowID id=SYMBOL_DIALOGOPTIONS_IDNAME, const wxString &caption=SYMBOL_DIALOGOPTIONS_TITLE, const wxPoint &pos=SYMBOL_DIALOGOPTIONS_POSITION, const wxSize &size=SYMBOL_DIALOGOPTIONS_SIZE, long style=SYMBOL_DIALOGOPTIONS_STYLE) |
Creation. | |
void | CreateControls () |
Creates the controls and sizers. | |
void | OnButton3Click (wxCommandEvent &event) |
wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_BUTTON2 | |
void | OnComboboxSelected (wxCommandEvent &event) |
wxEVT_COMMAND_COMBOBOX_SELECTED event handler for ID_COMBOBOX | |
void | OnButton1Click (wxCommandEvent &event) |
wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_BUTTON1 | |
void | OnCheckboxXmlFile1 (wxCommandEvent &event) |
wxEVT_COMMAND_CHECKBOX_CLICKED event handler for ID_CHECK_XML1 | |
void | OnButton2Click (wxCommandEvent &event) |
wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_BUTTON | |
void | OnCheckboxXmlFile2 (wxCommandEvent &event) |
wxEVT_COMMAND_CHECKBOX_CLICKED event handler for ID_CHECK_XML2 | |
void | OnGcardUseClick (wxCommandEvent &event) |
wxEVT_COMMAND_CHECKBOX_CLICKED event handler for ID_CHECKBOX3 | |
void | OnOptionsButtonCancelClick (wxCommandEvent &event) |
wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_OPTIONS_BUTTON_CANCEL | |
void | OnOptionsButtonOkClick (wxCommandEvent &event) |
wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_OPTIONS_BUTTON_OK | |
wxBitmap | GetBitmapResource (const wxString &name) |
Retrieves bitmap resources. | |
wxIcon | GetIconResource (const wxString &name) |
Retrieves icon resources. | |
Static Public Member Functions | |
static bool | ShowToolTips () |
Should we show tooltips? | |
Public Attributes | |
wxPanel * | m_panel_streamer |
wxTextCtrl * | m_rtsp_stream_text |
wxCheckBox * | m_start_rtsp_check |
wxTextCtrl * | m_rtsp_port_text |
wxTextCtrl * | m_rtsp_fps_text |
wxComboBox * | m_proto_choose |
wxCheckBox * | m_multi_face_stream_check |
wxTextCtrl * | m_multi_face_stream_text |
wxCheckBox * | m_grab_video_check |
wxTextCtrl * | m_grab_video_text |
wxCheckBox * | m_grab_file_check |
wxTextCtrl * | m_grab_file_text |
wxCheckBox * | m_grab_audio_check |
wxTextCtrl * | m_grab_audio_text |
wxStaticBox * | m_uni_setting |
wxTextCtrl * | m_stream_receive_iface_text |
wxTextCtrl * | m_stream_send_iface_text |
wxPanel * | m_panel_client |
wxTextCtrl * | m_receive_stream_text |
wxCheckBox * | m_receive_stream_check |
wxCheckBox * | m_receive_audio_check |
wxPanel * | m_panel_preferences |
wxCheckBox * | m_face_tracking_check |
wxComboBox * | m_algorithm_choose |
wxCheckBox * | m_flipped_mode_check |
wxTextCtrl * | m_xml_file_1 |
wxButton * | xml_button_1 |
wxCheckBox * | m_xml_enable_1 |
wxTextCtrl * | m_xml_file_2 |
wxButton * | xml_button_2 |
wxCheckBox * | m_xml_enable_2 |
wxTextCtrl * | m_freeze_time |
wxTextCtrl * | m_hitrate |
wxCheckBox * | m_gcard_use_check |
wxTextCtrl * | m_radius_min |
wxTextCtrl * | m_radius_max |
wxTextCtrl * | m_center_x |
wxTextCtrl * | m_center_y |
StreamerCtrlThread * | m_streamer_thread |
ReceiverCtrlThread * | m_receiver_thread |
MainFrame * | m_mainframe_pointer |
DialogOptions::DialogOptions | ( | ) |
DialogOptions constructors
Definition at line 87 of file options_dialog.cpp.
DialogOptions::DialogOptions | ( | wxWindow * | parent, | |
StreamerCtrlThread * | streamer_thread, | |||
ReceiverCtrlThread * | receiver_thread, | |||
MainFrame * | mainframe_pointer, | |||
wxWindowID | id = SYMBOL_DIALOGOPTIONS_IDNAME , |
|||
const wxString & | caption = SYMBOL_DIALOGOPTIONS_TITLE , |
|||
const wxPoint & | pos = SYMBOL_DIALOGOPTIONS_POSITION , |
|||
const wxSize & | size = SYMBOL_DIALOGOPTIONS_SIZE , |
|||
long | style = SYMBOL_DIALOGOPTIONS_STYLE | |||
) |
Definition at line 91 of file options_dialog.cpp.
References Create(), m_mainframe_pointer, m_receiver_thread, and m_streamer_thread.
Here is the call graph for this function:
bool DialogOptions::Create | ( | wxWindow * | parent, | |
wxWindowID | id = SYMBOL_DIALOGOPTIONS_IDNAME , |
|||
const wxString & | caption = SYMBOL_DIALOGOPTIONS_TITLE , |
|||
const wxPoint & | pos = SYMBOL_DIALOGOPTIONS_POSITION , |
|||
const wxSize & | size = SYMBOL_DIALOGOPTIONS_SIZE , |
|||
long | style = SYMBOL_DIALOGOPTIONS_STYLE | |||
) |
DialogOptions creator
Definition at line 112 of file options_dialog.cpp.
References CreateControls(), ReceiverCtrlThread::isReceiving(), StreamerCtrlThread::isStreaming(), m_algorithm_choose, m_center_x, m_center_y, m_face_tracking_check, m_flipped_mode_check, m_freeze_time, m_gcard_use_check, m_grab_audio_check, m_grab_audio_text, m_grab_file_check, m_grab_file_text, m_grab_video_check, m_grab_video_text, m_hitrate, m_multi_face_stream_check, m_multi_face_stream_text, m_panel_client, m_panel_preferences, m_panel_streamer, m_proto_choose, m_radius_max, m_radius_min, m_receive_audio_check, m_receive_stream_check, m_receive_stream_text, m_receiver_thread, m_rtsp_fps_text, m_rtsp_port_text, m_rtsp_stream_text, m_start_rtsp_check, m_stream_receive_iface_text, m_stream_send_iface_text, m_streamer_thread, m_uni_setting, m_xml_enable_1, m_xml_enable_2, m_xml_file_1, m_xml_file_2, NULL, xml_button_1, and xml_button_2.
Referenced by DialogOptions().
Here is the call graph for this function:
Here is the caller graph for this function:
void DialogOptions::CreateControls | ( | ) |
Control creation for DialogOptions
Definition at line 193 of file options_dialog.cpp.
References ID_BUTTON, ID_BUTTON1, ID_BUTTON2, ID_CHECK_XML1, ID_CHECK_XML2, ID_CHECKBOX, ID_CHECKBOX1, ID_CHECKBOX2, ID_CHECKBOX3, ID_CHECKBOX4, ID_CHECKBOX5, ID_CHECKBOX6, ID_CHECKBOX7, ID_CHECKBOX8, ID_CHECKBOX9, ID_COMBOBOX, ID_COMBOBOX1, ID_NOTEBOOK, ID_OPTIONS_BUTTON_CANCEL, ID_OPTIONS_BUTTON_OK, ID_PANEL_CLIENT_STREAM, ID_PANEL_PREFERENCES, ID_PANEL_STREAMER, ID_TEXTCTRL, ID_TEXTCTRL1, ID_TEXTCTRL10, ID_TEXTCTRL11, ID_TEXTCTRL13, ID_TEXTCTRL14, ID_TEXTCTRL15, ID_TEXTCTRL16, ID_TEXTCTRL17, ID_TEXTCTRL18, ID_TEXTCTRL2, ID_TEXTCTRL3, ID_TEXTCTRL4, ID_TEXTCTRL5, ID_TEXTCTRL6, ID_TEXTCTRL7, ID_TEXTCTRL8, ID_TEXTCTRL9, m_algorithm_choose, m_center_x, m_center_y, m_face_tracking_check, m_flipped_mode_check, m_freeze_time, m_gcard_use_check, m_grab_audio_check, m_grab_audio_text, m_grab_file_check, m_grab_file_text, m_grab_video_check, m_grab_video_text, m_hitrate, m_multi_face_stream_check, m_multi_face_stream_text, m_panel_client, m_panel_preferences, m_panel_streamer, m_proto_choose, m_radius_max, m_radius_min, m_receive_audio_check, m_receive_stream_check, m_receive_stream_text, m_rtsp_fps_text, m_rtsp_port_text, m_rtsp_stream_text, m_start_rtsp_check, m_stream_receive_iface_text, m_stream_send_iface_text, m_uni_setting, m_xml_enable_1, m_xml_enable_2, m_xml_file_1, m_xml_file_2, ShowToolTips(), xml_button_1, and xml_button_2.
Referenced by Create().
Here is the call graph for this function:
Here is the caller graph for this function:
wxBitmap DialogOptions::GetBitmapResource | ( | const wxString & | name | ) |
Get bitmap resources
Definition at line 635 of file options_dialog.cpp.
wxIcon DialogOptions::GetIconResource | ( | const wxString & | name | ) |
Get icon resources
Definition at line 647 of file options_dialog.cpp.
void DialogOptions::OnButton1Click | ( | wxCommandEvent & | event | ) |
wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_BUTTON1
Definition at line 964 of file options_dialog.cpp.
References m_xml_file_1.
void DialogOptions::OnButton2Click | ( | wxCommandEvent & | event | ) |
wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_BUTTON
Definition at line 982 of file options_dialog.cpp.
References m_xml_file_2.
void DialogOptions::OnButton3Click | ( | wxCommandEvent & | event | ) |
wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_BUTTON
Definition at line 1000 of file options_dialog.cpp.
References m_grab_file_text.
void DialogOptions::OnCheckboxXmlFile1 | ( | wxCommandEvent & | event | ) |
wxEVT_COMMAND_CHECKBOX_CLICKED event handler for ID_CHECKBOX4
Definition at line 1017 of file options_dialog.cpp.
References m_xml_enable_1, m_xml_file_1, and xml_button_1.
void DialogOptions::OnCheckboxXmlFile2 | ( | wxCommandEvent & | event | ) |
wxEVT_COMMAND_CHECKBOX_CLICKED event handler for ID_CHECKBOX3
Definition at line 1034 of file options_dialog.cpp.
References m_xml_enable_2, m_xml_file_2, and xml_button_2.
void DialogOptions::OnComboboxSelected | ( | wxCommandEvent & | event | ) |
wxEVT_COMMAND_COMBOBOX_SELECTED event handler for ID_COMBOBOX
Definition at line 1072 of file options_dialog.cpp.
void DialogOptions::OnGcardUseClick | ( | wxCommandEvent & | event | ) |
wxEVT_COMMAND_CHECKBOX_CLICKED event handler for ID_CHECKBOX3
Definition at line 1051 of file options_dialog.cpp.
References OmniGCardConverter::check_for_3d_gcard_availability(), and m_gcard_use_check.
Here is the call graph for this function:
void DialogOptions::OnOptionsButtonCancelClick | ( | wxCommandEvent & | event | ) |
wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_OPTIONS_BUTTON_CANCEL
Definition at line 658 of file options_dialog.cpp.
void DialogOptions::OnOptionsButtonOkClick | ( | wxCommandEvent & | event | ) |
wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_OPTIONS_BUTTON_OK
Definition at line 670 of file options_dialog.cpp.
References ReceiverCtrlThread::Create(), StreamerCtrlThread::Create(), ReceiverCtrlThread::isReceiving(), StreamerCtrlThread::isStreaming(), m_algorithm_choose, m_center_x, m_center_y, m_face_tracking_check, m_flipped_mode_check, m_freeze_time, m_gcard_use_check, m_grab_audio_check, m_grab_audio_text, m_grab_file_check, m_grab_file_text, m_grab_video_check, m_grab_video_text, m_hitrate, m_mainframe_pointer, m_multi_face_stream_check, m_multi_face_stream_text, m_proto_choose, m_radius_max, m_radius_min, m_receive_stream_check, m_receive_stream_text, m_receiver_thread, m_rtsp_fps_text, m_rtsp_port_text, m_rtsp_stream_text, m_start_rtsp_check, m_streamer_thread, m_xml_enable_1, m_xml_enable_2, m_xml_file_1, m_xml_file_2, MainFrame::PrintStatusBarMessage(), and MainFrame::SetFacetrackOptions().
Here is the call graph for this function:
bool DialogOptions::ShowToolTips | ( | ) | [static] |
Should we show tooltips?
Definition at line 626 of file options_dialog.cpp.
Referenced by CreateControls().
Here is the caller graph for this function:
wxComboBox* DialogOptions::m_algorithm_choose |
Definition at line 205 of file options_dialog.h.
Referenced by Create(), CreateControls(), and OnOptionsButtonOkClick().
wxTextCtrl* DialogOptions::m_center_x |
Definition at line 218 of file options_dialog.h.
Referenced by Create(), CreateControls(), and OnOptionsButtonOkClick().
wxTextCtrl* DialogOptions::m_center_y |
Definition at line 219 of file options_dialog.h.
Referenced by Create(), CreateControls(), and OnOptionsButtonOkClick().
wxCheckBox* DialogOptions::m_face_tracking_check |
Definition at line 204 of file options_dialog.h.
Referenced by Create(), CreateControls(), and OnOptionsButtonOkClick().
wxCheckBox* DialogOptions::m_flipped_mode_check |
Definition at line 206 of file options_dialog.h.
Referenced by Create(), CreateControls(), and OnOptionsButtonOkClick().
wxTextCtrl* DialogOptions::m_freeze_time |
Definition at line 213 of file options_dialog.h.
Referenced by Create(), CreateControls(), and OnOptionsButtonOkClick().
wxCheckBox* DialogOptions::m_gcard_use_check |
Definition at line 215 of file options_dialog.h.
Referenced by Create(), CreateControls(), OnGcardUseClick(), and OnOptionsButtonOkClick().
wxCheckBox* DialogOptions::m_grab_audio_check |
Definition at line 194 of file options_dialog.h.
Referenced by Create(), CreateControls(), and OnOptionsButtonOkClick().
wxTextCtrl* DialogOptions::m_grab_audio_text |
Definition at line 195 of file options_dialog.h.
Referenced by Create(), CreateControls(), and OnOptionsButtonOkClick().
wxCheckBox* DialogOptions::m_grab_file_check |
Definition at line 192 of file options_dialog.h.
Referenced by Create(), CreateControls(), and OnOptionsButtonOkClick().
wxTextCtrl* DialogOptions::m_grab_file_text |
Definition at line 193 of file options_dialog.h.
Referenced by Create(), CreateControls(), OnButton3Click(), and OnOptionsButtonOkClick().
wxCheckBox* DialogOptions::m_grab_video_check |
Definition at line 190 of file options_dialog.h.
Referenced by Create(), CreateControls(), and OnOptionsButtonOkClick().
wxTextCtrl* DialogOptions::m_grab_video_text |
Definition at line 191 of file options_dialog.h.
Referenced by Create(), CreateControls(), and OnOptionsButtonOkClick().
wxTextCtrl* DialogOptions::m_hitrate |
Definition at line 214 of file options_dialog.h.
Referenced by Create(), CreateControls(), and OnOptionsButtonOkClick().
Definition at line 224 of file options_dialog.h.
Referenced by DialogOptions(), and OnOptionsButtonOkClick().
wxCheckBox* DialogOptions::m_multi_face_stream_check |
Definition at line 188 of file options_dialog.h.
Referenced by Create(), CreateControls(), and OnOptionsButtonOkClick().
wxTextCtrl* DialogOptions::m_multi_face_stream_text |
Definition at line 189 of file options_dialog.h.
Referenced by Create(), CreateControls(), and OnOptionsButtonOkClick().
wxPanel* DialogOptions::m_panel_client |
wxPanel* DialogOptions::m_panel_preferences |
wxPanel* DialogOptions::m_panel_streamer |
wxComboBox* DialogOptions::m_proto_choose |
Definition at line 187 of file options_dialog.h.
Referenced by Create(), CreateControls(), and OnOptionsButtonOkClick().
wxTextCtrl* DialogOptions::m_radius_max |
Definition at line 217 of file options_dialog.h.
Referenced by Create(), CreateControls(), and OnOptionsButtonOkClick().
wxTextCtrl* DialogOptions::m_radius_min |
Definition at line 216 of file options_dialog.h.
Referenced by Create(), CreateControls(), and OnOptionsButtonOkClick().
wxCheckBox* DialogOptions::m_receive_audio_check |
wxCheckBox* DialogOptions::m_receive_stream_check |
Definition at line 201 of file options_dialog.h.
Referenced by Create(), CreateControls(), and OnOptionsButtonOkClick().
wxTextCtrl* DialogOptions::m_receive_stream_text |
Definition at line 200 of file options_dialog.h.
Referenced by Create(), CreateControls(), and OnOptionsButtonOkClick().
Definition at line 223 of file options_dialog.h.
Referenced by Create(), DialogOptions(), and OnOptionsButtonOkClick().
wxTextCtrl* DialogOptions::m_rtsp_fps_text |
Definition at line 186 of file options_dialog.h.
Referenced by Create(), CreateControls(), and OnOptionsButtonOkClick().
wxTextCtrl* DialogOptions::m_rtsp_port_text |
Definition at line 185 of file options_dialog.h.
Referenced by Create(), CreateControls(), and OnOptionsButtonOkClick().
wxTextCtrl* DialogOptions::m_rtsp_stream_text |
Definition at line 183 of file options_dialog.h.
Referenced by Create(), CreateControls(), and OnOptionsButtonOkClick().
wxCheckBox* DialogOptions::m_start_rtsp_check |
Definition at line 184 of file options_dialog.h.
Referenced by Create(), CreateControls(), and OnOptionsButtonOkClick().
wxTextCtrl* DialogOptions::m_stream_receive_iface_text |
wxTextCtrl* DialogOptions::m_stream_send_iface_text |
Definition at line 222 of file options_dialog.h.
Referenced by Create(), DialogOptions(), and OnOptionsButtonOkClick().
wxStaticBox* DialogOptions::m_uni_setting |
wxCheckBox* DialogOptions::m_xml_enable_1 |
Definition at line 209 of file options_dialog.h.
Referenced by Create(), CreateControls(), OnCheckboxXmlFile1(), and OnOptionsButtonOkClick().
wxCheckBox* DialogOptions::m_xml_enable_2 |
Definition at line 212 of file options_dialog.h.
Referenced by Create(), CreateControls(), OnCheckboxXmlFile2(), and OnOptionsButtonOkClick().
wxTextCtrl* DialogOptions::m_xml_file_1 |
Definition at line 207 of file options_dialog.h.
Referenced by Create(), CreateControls(), OnButton1Click(), OnCheckboxXmlFile1(), and OnOptionsButtonOkClick().
wxTextCtrl* DialogOptions::m_xml_file_2 |
Definition at line 210 of file options_dialog.h.
Referenced by Create(), CreateControls(), OnButton2Click(), OnCheckboxXmlFile2(), and OnOptionsButtonOkClick().
wxButton* DialogOptions::xml_button_1 |
Definition at line 208 of file options_dialog.h.
Referenced by Create(), CreateControls(), and OnCheckboxXmlFile1().
wxButton* DialogOptions::xml_button_2 |
Definition at line 211 of file options_dialog.h.
Referenced by Create(), CreateControls(), and OnCheckboxXmlFile2().