fermisurfer
2.0.0
fermisurfer
|
#include <menu.hpp>
Public Member Functions | |
MyFrame (wxFrame *frame, const wxString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_FRAME_STYLE) | |
virtual | ~MyFrame () |
void | modify_band () |
Private Member Functions | |
void | OnExit (wxCommandEvent &event) |
void | check_band (wxCommandEvent &event) |
Toggle the appearance of each band (draw_band) More... | |
void | radio_brillouinzone (wxCommandEvent &event) |
Change Brillouin zone (fbz) More... | |
void | textctrl_BackGround (wxCommandEvent &event) |
Change background color (::blackback) More... | |
void | textctrl_LineColor (wxCommandEvent &event) |
Change Line color color (::blackback) More... | |
void | check_colorbar (wxCommandEvent &event) |
Toggle Colorbar (lcolorbar) More... | |
void | radiovalue_colorscale (wxCommandEvent &event) |
Change color scale mode (color_scale) More... | |
void | checkvalue_equator (wxCommandEvent &event) |
Modify and toggle appearance of equator (lequator) More... | |
void | textctrl_interpol (wxCommandEvent &event) |
Modify interpolation ratio. More... | |
void | radio_lighting (wxCommandEvent &event) |
Toggle Lighting. More... | |
void | textctrl_line (wxCommandEvent &event) |
Line width. More... | |
void | radio_mouse (wxCommandEvent &event) |
Change the function associated to the mouse movement(::lmouse) More... | |
void | check_nodeline (wxCommandEvent &event) |
Toggle apearance of nodale-line. More... | |
void | radiovalue_section (wxCommandEvent &event) |
Modify and toggle appearance of 2D Fermi lines (lsection) More... | |
void | textctrl_shift (wxCommandEvent &event) |
Shift Fermi energy. More... | |
void | radio_stereo (wxCommandEvent &event) |
Tern stereogram (lstereo) More... | |
void | radio_tetra (wxCommandEvent &event) |
Change tetrahedron (itet) More... | |
void | textctrl_view (wxCommandEvent &event) |
Setting of view. More... | |
void | button_refresh (wxCommandEvent &event) |
void | button_compute (wxCommandEvent &event) |
void | radio_BarColor (wxCommandEvent &event) |
Change Brillouin zone (fbz) More... | |
void | button_section (wxCommandEvent &event) |
void | textctrl_BZ_number (wxCommandEvent &event) |
Change Number of Brillouin zone. More... | |
void | textctrl_Section (wxCommandEvent &event) |
Change section color (::blackback) More... | |
void | textctrl_Band (wxCommandEvent &event) |
Change band color (::blackback) More... | |
void | textctrl_Arrow (wxCommandEvent &event) |
Change arrow (::blackback) More... | |
void | textctrl_sphere (wxCommandEvent &event) |
Change Line color color (::blackback) More... | |
MyFrame::MyFrame | ( | wxFrame * | frame, |
const wxString & | title, | ||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxDefaultSize , |
||
long | style = wxDEFAULT_FRAME_STYLE |
||
) |
|
private |
[in] | event | [in] Selected menu |
Definition at line 164 of file menu.cpp.
References compute_patch_segment(), and free_patch().
|
private |
|
private |
|
private |
Toggle the appearance of each band (draw_band)
[in] | event | [in] Selected menu |
Definition at line 490 of file menu.cpp.
References draw_band, and icheck_band.
Referenced by modify_band().
|
private |
|
private |
|
private |
Modify and toggle appearance of equator (lequator)
[in] | event | [in] Selected menu |
Definition at line 614 of file menu.cpp.
References bvec, eqvec, eqvec_fr, icheck_equator, itext_equatorx, itext_equatory, itext_equatorz, lequator, and refresh_equator.
void MyFrame::modify_band | ( | ) |
Definition at line 1271 of file menu.cpp.
References blue, check_band(), color_scale, cyan, gbsizer, green, icheck_band, itet, lbatch, nb, panel, radiobox_color, radiobox_tetra, red, rgb_band, splitterH, splitterV, textctrl_Band(), and yellow.
Referenced by MyApp::OnInit().
|
private |
|
private |
Change Brillouin zone (fbz)
[in] | event | [in] Selected menu |
Definition at line 506 of file menu.cpp.
References fbz, and refresh_patch.
|
private |
|
private |
|
private |
|
private |
Change tetrahedron (itet)
[in] | event | [in] Selected menu |
Definition at line 790 of file menu.cpp.
References init_corner(), itet, and refresh_patch.
|
private |
Change color scale mode (color_scale)
[in] | event | [in] Selected menu |
Definition at line 579 of file menu.cpp.
References color_scale, itext_colorscalemax, itext_colorscalemin, patch_max, patch_min, refresh_color, and skip_minmax.
|
private |
Modify and toggle appearance of 2D Fermi lines (lsection)
[in] | event | [in] Selected menu |
Definition at line 724 of file menu.cpp.
References bvec, icheck_gamma, icheck_section, itext_sectionx, itext_sectiony, itext_sectionz, lsection, refresh_section, secscale, secvec, and secvec_fr.
|
private |
Change arrow (::blackback)
[in] | event | [in] Selected menu |
Definition at line 205 of file menu.cpp.
References arrow, itext_ArrowDiff0, itext_ArrowDiff1, itext_ArrowDiff2, itext_ArrowEnd0, itext_ArrowEnd1, itext_ArrowEnd2, itext_ArrowStart0, itext_ArrowStart1, itext_ArrowStart2, textbox_ArrowDiff0, textbox_ArrowDiff1, textbox_ArrowDiff2, textbox_ArrowEnd0, textbox_ArrowEnd1, and textbox_ArrowEnd2.
|
private |
Change background color (::blackback)
[in] | event | [in] Selected menu |
Definition at line 428 of file menu.cpp.
References BackGroundColor, itext_BackGroundB, itext_BackGroundG, and itext_BackGroundR.
|
private |
Change band color (::blackback)
[in] | event | [in] Selected menu |
Definition at line 396 of file menu.cpp.
References icheck_band, paint(), and rgb_band.
Referenced by modify_band().
|
private |
Change Number of Brillouin zone.
[in] | event | [in] Selected menu |
Definition at line 462 of file menu.cpp.
References BZ_number, itext_BZ_number0, itext_BZ_number1, and itext_BZ_number2.
|
private |
Modify interpolation ratio.
This routine modify interpolation ratio (interpol) then compute Fermi surfaces, etc.
[in] | event | [in] Selected menu |
Definition at line 654 of file menu.cpp.
References interpol, and refresh_interpol.
|
private |
|
private |
Change Line color color (::blackback)
[in] | event | [in] Selected menu |
Definition at line 340 of file menu.cpp.
References itext_LineColorB, itext_LineColorG, itext_LineColorR, and LineColor.
|
private |
Change section color (::blackback)
[in] | event | [in] Selected menu |
Definition at line 368 of file menu.cpp.
References itext_SectionB, itext_SectionG, itext_SectionR, and SectionColor.
|
private |
Shift Fermi energy.
[in] | event | [in] Selected menu |
Definition at line 766 of file menu.cpp.
References EF, and refresh_patch.
|
private |
Change Line color color (::blackback)
[in] | event | [in] Selected menu |
Definition at line 275 of file menu.cpp.
References itext_sphereR, itext_sphereX, itext_sphereY, itext_sphereZ, sphere_c, sphere_r, and sphere_v.
|
private |
Setting of view.
This modify scale (scl) & tarnslation (trans) & rotation (thetax, thetay, thetaz, rot),
[in] | event | [in] Selected menu |
Definition at line 804 of file menu.cpp.
References ibutton_rotate, itext_positionx, itext_positiony, itext_rotx, itext_roty, itext_rotz, itext_scale, linewidth, rot, scl, textbox_linewidth, thetax, thetay, thetaz, and trans.
wxGridBagSizer* MyFrame::gbsizer |
Definition at line 48 of file menu.hpp.
Referenced by modify_band().
TestGLCanvas* MyFrame::m_canvas |
Definition at line 47 of file menu.hpp.
Referenced by ~MyFrame().
wxScrolledWindow* MyFrame::panel |
Definition at line 49 of file menu.hpp.
Referenced by modify_band().
wxRadioBox* MyFrame::radiobox_color |
Definition at line 50 of file menu.hpp.
Referenced by modify_band().
wxRadioBox* MyFrame::radiobox_tetra |
Definition at line 51 of file menu.hpp.
Referenced by modify_band().
wxSplitterWindow* MyFrame::splitterH |
Definition at line 53 of file menu.hpp.
Referenced by modify_band().
wxSplitterWindow* MyFrame::splitterV |
Definition at line 52 of file menu.hpp.
Referenced by modify_band().
wxTextCtrl* MyFrame::textbox_ArrowDiff0 |
Definition at line 84 of file menu.hpp.
Referenced by textctrl_Arrow().
wxTextCtrl* MyFrame::textbox_ArrowDiff1 |
Definition at line 85 of file menu.hpp.
Referenced by textctrl_Arrow().
wxTextCtrl* MyFrame::textbox_ArrowDiff2 |
Definition at line 86 of file menu.hpp.
Referenced by textctrl_Arrow().
wxTextCtrl* MyFrame::textbox_ArrowEnd0 |
Definition at line 81 of file menu.hpp.
Referenced by textctrl_Arrow().
wxTextCtrl* MyFrame::textbox_ArrowEnd1 |
Definition at line 82 of file menu.hpp.
Referenced by textctrl_Arrow().
wxTextCtrl* MyFrame::textbox_ArrowEnd2 |
Definition at line 83 of file menu.hpp.
Referenced by textctrl_Arrow().
wxTextCtrl* MyFrame::textbox_linewidth |
Definition at line 65 of file menu.hpp.
Referenced by allocate_griddata(), TestGLCanvas::OnMouseEvent(), and textctrl_view().
wxTextCtrl* MyFrame::textbox_max |
Definition at line 64 of file menu.hpp.
Referenced by max_and_min().
wxTextCtrl* MyFrame::textbox_min |
Definition at line 63 of file menu.hpp.
Referenced by max_and_min().
wxTextCtrl* MyFrame::textbox_positionx |
Definition at line 58 of file menu.hpp.
Referenced by TestGLCanvas::OnChar(), and TestGLCanvas::OnMouseEvent().
wxTextCtrl* MyFrame::textbox_positiony |
Definition at line 59 of file menu.hpp.
Referenced by TestGLCanvas::OnChar(), and TestGLCanvas::OnMouseEvent().
wxTextCtrl* MyFrame::textbox_rotatex |
Definition at line 60 of file menu.hpp.
Referenced by TestGLCanvas::OnMouseEvent().
wxTextCtrl* MyFrame::textbox_rotatey |
Definition at line 61 of file menu.hpp.
Referenced by TestGLCanvas::OnMouseEvent().
wxTextCtrl* MyFrame::textbox_rotatez |
Definition at line 62 of file menu.hpp.
Referenced by TestGLCanvas::OnMouseEvent().
wxTextCtrl* MyFrame::textbox_scale |
Definition at line 57 of file menu.hpp.
Referenced by allocate_griddata(), and TestGLCanvas::OnMouseEvent().