Ignore:
Timestamp:
Aug 4, 2008, 10:21:33 AM (16 years ago)
Author:
jack
Message:

More restructuring to use boost::shared_ptr.

File:
1 edited

Legend:

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

    r5598 r5600  
    99
    1010#include <string>
    11 
     11#include <boost/shared_array.hpp>
     12#include <boost/shared_ptr.hpp>
    1213#ifdef HAVE_GL_GL_H
    1314#  include <GL/gl.h>
     
    1516#  include <OpenGL/gl.h>
    1617#endif
     18#include "sww_file.hh"
    1719
     20using boost::shared_array;
     21using boost::shared_ptr;
    1822using std::string;
    1923
     
    3135  ~HeightQuantity(void);
    3236  void draw(int frame);
    33   const string &get_name(void);
    34   void set_dynamic(bool dynamic);
     37  void set_SWWFile(const shared_ptr<SWWFile> &file);
    3538  GLdouble offset;
    3639  GLdouble scale;
     
    4548  bool dynamic;
    4649  GLuint display_list;
     50  shared_array<float> points;
     51  shared_ptr<SWWFile> sww_file;
    4752};
    4853
Note: See TracChangeset for help on using the changeset viewer.