fermisurfer
2.0.0
fermisurfer
|
Functions for actual displaying. More...
#include "wx/wx.h"
#include "wx/glcanvas.h"
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include "variable.hpp"
#include "operation.hpp"
Go to the source code of this file.
Functions | |
static void | draw_fermi () |
Draw Fermi surfaces. More... | |
static void | draw_bz_lines () |
Draw lines of BZ boundaries. More... | |
static void | draw_colorbar () |
Draw color-bar or colr-circle (periodic) as a color scale. More... | |
static void | draw_circles (GLfloat dx2d) |
Draw eye-points for the stereogram. More... | |
static void | draw_fermi_line () |
Draw 2D Fermi lines. More... | |
Functions for actual displaying.
Definition in file draw.cpp.
|
static |
|
static |
Draw eye-points for the stereogram.
[in] | dx2d | [in] Translation used for the section-mode |
Definition at line 493 of file draw.cpp.
References LineColor, and scl.
Referenced by TestGLCanvas::OnPaint().
|
static |
Draw color-bar or colr-circle (periodic) as a color scale.
Definition at line 355 of file draw.cpp.
References BackGroundColor, BarColor, bgray, blue, bvec, color_scale, cyan, green, linewidth, magenta, red, rot, wgray, and yellow.
Referenced by TestGLCanvas::OnPaint().
|
static |
Draw Fermi surfaces.
Modify : nmlp_rot, kvp_rot, kvnl_rot
First, rotate nmlp and kvp with OpenMP then draw them. Also draw nodeline in the same way.
Definition at line 50 of file draw.cpp.
References arw, arw_rot, black, bvec, BZ_number, clr, color_scale, draw_band, kveq, kveq_rot, kvnl, kvnl_rot, kvp, kvp_rot, lequator, nb, nequator, nmlp, nmlp_rot, nnl, nodeline, ntri, rot, side, and trans.
Referenced by TestGLCanvas::OnPaint().