22 #ifndef __H2D_ORDER_VIEW_H
23 #define __H2D_ORDER_VIEW_H
35 static const int H2DV_MAX_VIEWABLE_ORDER = 10;
51 template<
typename Scalar>
53 void set_b_orders(
bool set);
59 int num_boxes, order_min;
60 const char* box_names[H2DV_MAX_VIEWABLE_ORDER + 1];
61 char text_buffer[H2DV_MAX_VIEWABLE_ORDER*4];
62 float order_colors[H2DV_MAX_VIEWABLE_ORDER + 1][3];
64 void init_order_palette(double3* vert);
66 virtual void on_display();
67 virtual void on_key_down(
unsigned char key,
int x,
int y);
68 virtual void scale_dispatch();
69 virtual int measure_scale_labels();
70 virtual const char* get_help_text()
const;
77 OrderView(
const char* title =
"OrderView",
WinGeom* wg = NULL) {
throw Hermes::Exceptions::Exception(
"GLUT disabled."); }
81 OrderView(
char* title, WinGeom* wg = NULL) {
throw Hermes::Exceptions::Exception(
"GLUT disabled."); }
83 template<
typename Scalar>
84 void show(
const Space<Scalar>* space) {
throw Hermes::Exceptions::Exception(
"GLUT disabled."); }