22 #ifndef __H2D_MESH_VIEW_H
23 #define __H2D_MESH_VIEW_H
25 #include "../function/exact_solution.h"
49 void show (
Mesh* mesh);
51 void set_b_elem_mrk(
bool set);
57 bool b_ids, b_markers, b_elem_mrk;
69 float* get_marker_color(
int marker);
71 virtual void on_display();
72 virtual void on_key_down(
unsigned char key,
int x,
int y);
73 virtual void scale_dispatch() {}
74 virtual const char* get_help_text()
const;
79 class HERMES_API MeshView :
public View
83 MeshView(
const char* title =
"MeshView", WinGeom* wg = NULL) {
throw Hermes::Exceptions::Exception(
"GLUT disabled."); }
84 MeshView(
char* title, WinGeom* wg = NULL) {
throw Hermes::Exceptions::Exception(
"GLUT disabled."); }
85 void show(Mesh* mesh) {
throw Hermes::Exceptions::Exception(
"GLUT disabled."); }