Ignore:
Timestamp:
Aug 4, 2008, 9:07:10 AM (17 years ago)
Author:
jack
Message:

Progress on height quantities.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_work/development/anugavis/src/height_quantity.hh

    r5502 r5598  
    1515#  include <OpenGL/gl.h>
    1616#endif
    17 #include "sww_file.hh"
    1817
    1918using std::string;
    2019
     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
    2126class HeightQuantity {
    2227public:
    23   HeightQuantity(const SWWFile &sww, const string &name,
     28  HeightQuantity(const string &name,
    2429                 const GLdouble offset, GLdouble scale,
    2530                 GLfloat red, GLfloat green, GLfloat blue);
    2631  ~HeightQuantity(void);
    2732  void draw(int frame);
     33  const string &get_name(void);
     34  void set_dynamic(bool dynamic);
    2835  GLdouble offset;
    2936  GLdouble scale;
     
    3845  bool dynamic;
    3946  GLuint display_list;
    40   const SWWFile &sww;
    4147};
    4248
Note: See TracChangeset for help on using the changeset viewer.