18 #ifndef __H2D_VECTOR_BASE_VIEW_H
19 #define __H2D_VECTOR_BASE_VIEW_H
20 #include "vector_view.h"
30 template<
typename Scalar>
31 class HERMES_API VectorBaseView :
public VectorView
35 VectorBaseView(
const char* title =
"BaseView", WinGeom* wg =
nullptr);
37 VectorBaseView(
char* title, WinGeom* wg =
nullptr);
39 void show(SpaceSharedPtr<Scalar> space);
41 virtual ~VectorBaseView();
45 SpaceSharedPtr<Scalar> space;
47 MeshFunctionSharedPtr<Scalar> sln;
55 void update_solution();
58 virtual void on_special_key(
int key,
int x,
int y);
59 virtual const char* get_help_text()
const;
62 template<
typename Scalar>
63 class HERMES_API VectorBaseView :
public VectorView
66 VectorBaseView(
const char* title =
"BaseView", WinGeom* wg =
nullptr) {
throw Hermes::Exceptions::Exception(
"GLUT disabled."); }
68 VectorBaseView(
char* title, WinGeom* wg =
nullptr) {
throw Hermes::Exceptions::Exception(
"GLUT disabled."); }
70 void show(SpaceSharedPtr<Scalar> space) {
throw Hermes::Exceptions::Exception(
"GLUT disabled."); }
::xsd::cxx::tree::string< char, simple_type > string
C++ type corresponding to the string XML Schema built-in type.