Debian Codegraph @

src/Model2D.h

raw
1 /////////////////////////////////////////////////////////////
2 // //
3 // Copyright (c) 2007-2017 by The University of Queensland //
4 // Centre for Geoscience Computing //
5 // http://earth.uq.edu.au/centre-geoscience-computing //
6 // //
7 // Primary Business: Brisbane, Queensland, Australia //
8 // Licensed under the Open Software License version 3.0 //
9 // http://www.apache.org/licenses/LICENSE-2.0 //
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