ESyS-Particle  2.3.2
PointCloud.h
Go to the documentation of this file.
1 
2 // //
3 // Copyright (c) 2003-2014 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.opensource.org/licenses/osl-3.0.php //
10 // //
12 
13 #ifndef __POINTCLOUD_H
14 #define __POINTCLOUD_H
15 
16 // --- project includes ---
17 #include "Foundation/vec3.h"
18 #include "Geometry/Plane3D.h"
19 
20 // --- STL includes ---
21 #include <vector>
22 
23 using std::vector;
24 
34 {
35  private:
36  vector<Vec3> m_points;
37 
38  public:
39  PointCloud();
40 
41  Vec3 getCenter();
42  void addPoint(const Vec3&);
44 };
45 
46 #endif // __POINTCLOUD_H