source: anuga_work/development/anugavis/src/anugavis.hh @ 5598

Last change on this file since 5598 was 5598, checked in by jack, 16 years ago

Progress on height quantities.

File size: 596 bytes
Line 
1#ifndef ANUGAVIS_HH
2#define ANUGAVIS_HH
3
4/* The main controller object. */
5
6#include <list>
7#include <string>
8#include <SDL.h>
9#include "height_quantity.hh"
10#include "sww_file.hh"
11
12using std::list;
13using std::string;
14
15class AnugaVis{
16public:
17  AnugaVis(const string &sww_file, int width, int height);
18  ~AnugaVis(void);
19  void add_HeightQuantity(HeightQuantity &height);
20  void run(void);
21private:
22  void init_SDL(int width, int height);
23  void init_OpenGL(int width, int height);
24  SDL_Surface *screen;
25  SWWFile sww_file;
26  list<HeightQuantity> heights;
27};
28
29#endif
Note: See TracBrowser for help on using the repository browser.