Debian Codegraph @

src/GenericShape.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 GENERICSHAPE_H
14 #define GENERICSHAPE_H
15
16 #include <iostream>
17 #include <boost/regex.hpp>
18 #include "util/vector3.h"
19 #include "Shape.h"
20 #include "string"
21
22 using std::string;
23 using boost::regex;
24 using boost::regex_match;
25
26 class GenericShape : public Shape {
27 public:
28 GenericShape(string, string);
29 void insert(Vector3 pos, double radius, MNTable3D* ntable, int, int);
30 int bias();
31 void setBias(int);
32
33 protected:
34 vector<Vector3> origins;
35 vector<double> radii;
36 vector<vector<int> > bonds;
37 };
38
39
40 #endif /* GENERICSHAPE_H */