~ubuntu-branches/ubuntu/quantal/python-demgengeo/quantal

« back to all changes in this revision

Viewing changes to src/Model2D.h

  • Committer: Package Import Robot
  • Author(s): Anton Gladky
  • Date: 2011-11-18 21:47:18 UTC
  • Revision ID: package-import@ubuntu.com-20111118214718-4ysqm3dhpqwdd7gd
Tags: upstream-0.99~bzr106
ImportĀ upstreamĀ versionĀ 0.99~bzr106

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/////////////////////////////////////////////////////////////
 
2
//                                                         //
 
3
// Copyright (c) 2007-2011 by The University of Queensland //
 
4
// Earth Systems Science Computational Centre (ESSCC)      //
 
5
// http://www.uq.edu.au/esscc                              //
 
6
//                                                         //
 
7
// Primary Business: Brisbane, Queensland, Australia       //
 
8
// Licensed under the Open Software License version 3.0    //
 
9
// http://www.opensource.org/licenses/osl-3.0.php          //
 
10
//                                                         //
 
11
/////////////////////////////////////////////////////////////
 
12
 
 
13
#ifndef __MODEL2D_H
 
14
#define __MODEL2D_H
 
15
 
 
16
// --- Project includes ---
 
17
#include "src/MNTable2D.h"
 
18
#include "src/AParticleGroup.h"
 
19
#include "util/vector3.h"
 
20
 
 
21
// --- STL includes ---
 
22
#include <list>
 
23
#include <string>
 
24
 
 
25
using std::list;
 
26
using std::string;
 
27
/*!
 
28
  \class Model2D
 
29
  \brief 
 
30
*/
 
31
class Model2D
 
32
{
 
33
 private:
 
34
  MNTable2D* m_ntable;
 
35
  list<AParticleGroup*> m_pgroups;
 
36
  Vector3 m_min_pt;
 
37
  Vector3 m_max_pt;
 
38
  int m_ngroups;
 
39
  int m_max_gid;
 
40
 
 
41
 public:
 
42
  Model2D(const Vector3&,const Vector3&,double);
 
43
  ~Model2D();
 
44
 
 
45
  int AddParticleGroup(AParticleGroup*);
 
46
 
 
47
  void WriteAsGeoFile(const string&);
 
48
};
 
49
 
 
50
 
 
51
#endif // __MODEL2D_H