22 #ifndef __H2D_VECTOR_VIEW_H
23 #define __H2D_VECTOR_VIEW_H
50 inline void set_grid_type(
bool hexa) { this->hexa = hexa; refresh(); };
51 void set_mode(
int mode);
66 void plot_arrow(
double x,
double y,
double xval,
double yval,
double max,
double min,
double gs);
68 virtual void on_display();
69 virtual void on_mouse_move(
int x,
int y);
70 virtual void on_key_down(
unsigned char key,
int x,
int y);
71 virtual const char* get_help_text()
const;
77 VectorView(
const char* title =
"VectorView",
WinGeom* wg = NULL) {
throw Hermes::Exceptions::Exception(
"GLUT disabled."); }
78 VectorView(
char* title, WinGeom* wg = NULL) {
throw Hermes::Exceptions::Exception(
"GLUT disabled."); }
80 void show(MeshFunction<double>* vsln,
double eps = HERMES_EPS_NORMAL) {
throw Hermes::Exceptions::Exception(
"GLUT disabled."); }
81 void show(MeshFunction<double>* xsln, MeshFunction<double>* ysln,
double eps = HERMES_EPS_NORMAL) {
throw Hermes::Exceptions::Exception(
"GLUT disabled."); }
82 void show(MeshFunction<double>* xsln, MeshFunction<double>* ysln,
double eps,
int xitem,
int yitem) {
throw Hermes::Exceptions::Exception(
"GLUT disabled."); }
84 inline void set_grid_type(
bool hexa) {
throw Hermes::Exceptions::Exception(
"GLUT disabled."); }