22 #ifndef __H2D_VECTOR_BASE_VIEW_H
23 #define __H2D_VECTOR_BASE_VIEW_H
24 #include "vector_view.h"
34 template<
typename Scalar>
35 class HERMES_API VectorBaseView :
public VectorView
39 VectorBaseView(
const char* title =
"BaseView", WinGeom* wg = NULL);
41 VectorBaseView(
char* title, WinGeom* wg = NULL);
43 void show(Space<Scalar>* space);
45 virtual void set_title(
const char* t);
47 virtual ~VectorBaseView();
53 Solution<Scalar>* sln;
61 void update_solution();
64 virtual void on_special_key(
int key,
int x,
int y);
65 virtual const char* get_help_text()
const;
68 template<
typename Scalar>
69 class HERMES_API VectorBaseView :
public VectorView
72 VectorBaseView(
const char* title =
"BaseView", WinGeom* wg = NULL) {
throw Hermes::Exceptions::Exception(
"GLUT disabled."); }
74 VectorBaseView(
char* title, WinGeom* wg = NULL) {
throw Hermes::Exceptions::Exception(
"GLUT disabled."); }
76 void show(Space<Scalar>* space) {
throw Hermes::Exceptions::Exception(
"GLUT disabled."); }
78 virtual void set_title(
const char* t) {
throw Hermes::Exceptions::Exception(
"GLUT disabled."); }