fermisurfer
2.0.0
fermisurfer
|
#include <operation.hpp>
Public Member Functions | |
TestGLCanvas (wxWindow *parent, wxWindowID id=wxID_ANY, int *gl_attrib=NULL) | |
virtual | ~TestGLCanvas () |
void | OnPaint (wxPaintEvent &event) |
Glut Display function called by glutDisplayFunc. More... | |
void | OnSize (wxSizeEvent &event) |
void | OnChar (wxKeyEvent &event) |
Glut special key function. More... | |
void | OnMouseEvent (wxMouseEvent &event) |
Glut mouse function. More... | |
void | InitGL () |
Private Member Functions | |
wxDECLARE_NO_COPY_CLASS (TestGLCanvas) | |
wxDECLARE_EVENT_TABLE () | |
Private Attributes | |
wxGLContext * | m_glRC |
Definition at line 30 of file operation.hpp.
TestGLCanvas::TestGLCanvas | ( | wxWindow * | parent, |
wxWindowID | id = wxID_ANY , |
||
int * | gl_attrib = NULL |
||
) |
Definition at line 285 of file operation.cpp.
References m_glRC.
|
virtual |
Definition at line 294 of file operation.cpp.
References m_glRC.
void TestGLCanvas::InitGL | ( | ) |
Definition at line 268 of file operation.cpp.
References m_glRC.
void TestGLCanvas::OnChar | ( | wxKeyEvent & | event | ) |
Glut special key function.
Modify : trans
Definition at line 226 of file operation.cpp.
References myf, MyFrame::textbox_positionx, MyFrame::textbox_positiony, and trans.
void TestGLCanvas::OnMouseEvent | ( | wxMouseEvent & | event | ) |
Glut mouse function.
Definition at line 89 of file operation.cpp.
References linewidth, lmouse, myf, rot, scl, sx, sy, MyFrame::textbox_linewidth, MyFrame::textbox_positionx, MyFrame::textbox_positiony, MyFrame::textbox_rotatex, MyFrame::textbox_rotatey, MyFrame::textbox_rotatez, MyFrame::textbox_scale, thetax, thetay, thetaz, and trans.
void TestGLCanvas::OnPaint | ( | wxPaintEvent & | event | ) |
Glut Display function called by glutDisplayFunc.
Definition at line 554 of file draw.cpp.
References batch_name, draw_band, draw_bz_lines(), draw_circles(), draw_colorbar(), draw_fermi(), draw_fermi_line(), fbz, frmsf_file_name, lbatch, lcolorbar, lsection, lstereo, m_glRC, and scl.
void TestGLCanvas::OnSize | ( | wxSizeEvent & | event | ) |
|
private |
|
private |
|
private |
Definition at line 46 of file operation.hpp.
Referenced by InitGL(), OnPaint(), TestGLCanvas(), and ~TestGLCanvas().