Changeset 5598 for anuga_work/development/anugavis/src/height_quantity.hh
- Timestamp:
- Aug 4, 2008, 9:07:10 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/development/anugavis/src/height_quantity.hh
r5502 r5598 15 15 # include <OpenGL/gl.h> 16 16 #endif 17 #include "sww_file.hh"18 17 19 18 using std::string; 20 19 20 /* HeightQuantity instances cannot be shared amongst different 21 AnugaVis instances. This shouldn't matter since AnugaVis' 22 initialisation does SDL initialisation and that should only happen 23 once. 24 */ 25 21 26 class HeightQuantity { 22 27 public: 23 HeightQuantity(const SWWFile &sww, conststring &name,28 HeightQuantity(const string &name, 24 29 const GLdouble offset, GLdouble scale, 25 30 GLfloat red, GLfloat green, GLfloat blue); 26 31 ~HeightQuantity(void); 27 32 void draw(int frame); 33 const string &get_name(void); 34 void set_dynamic(bool dynamic); 28 35 GLdouble offset; 29 36 GLdouble scale; … … 38 45 bool dynamic; 39 46 GLuint display_list; 40 const SWWFile &sww;41 47 }; 42 48
Note: See TracChangeset
for help on using the changeset viewer.