#include <glutil.h>
Static Public Member Functions | |
static unsigned int | gen_glu_mipmaps (const EMData *const emdata) |
create an OpenGL mipmap set | |
static unsigned int | gen_gl_texture (const EMData *const emdata) |
create an OpenGL texture | |
static unsigned int | render_amp8_gl_texture (EMData *emdata, int x0, int y0, int ixsize, int iysize, int bpl, float scale, int mingray, int maxgray, float render_min, float render_max, float gamma, int flags) |
create an OpenGL texture using render_amp8 | |
static int | nearest_projected_points (const vector< float > &model_matrix, const vector< float > &proj_matrix, const vector< int > &view_matrix, const vector< Vec3f > &points, const float mouse_x, const float mouse_y, const float &nearnes) |
Determine the intersection of . | |
static void | colored_rectangle (const vector< float > &data, const float &alpha, const bool center_point=false) |
static void | mx_bbox (const vector< float > &data, const vector< float > &text_color, const vector< float > &bg_color) |
static std::string | render_amp8 (EMData *emdata, int x, int y, int xsize, int ysize, int bpl, float scale, int min_gray, int max_gray, float min_render, float max_render, float gamma, int flags) |
Render the image into an 8-bit image. | |
static unsigned long | get_isosurface_dl (MarchingCubes *mc, unsigned int tex_id=0, bool surface_face_z=false) |
Get an isosurface display list Traverses the tree, marches the cubes, and renders a display list using the associated vertices and normals Uses OpenGL arrays for maximum performance. |
Definition at line 48 of file glutil.h.
|
|
|
create an OpenGL texture
|
|
create an OpenGL mipmap set
|
|
Get an isosurface display list Traverses the tree, marches the cubes, and renders a display list using the associated vertices and normals Uses OpenGL arrays for maximum performance.
|
|
|
|
Determine the intersection of . ... just ask David Woolford |
|
Render the image into an 8-bit image. 2D images only. flags provide a way to do unusual things with this function, such as calculating a histogram of the rendered area.
|
|
create an OpenGL texture using render_amp8
|