ESyS-Particle  2.3.4
PointCloud.h
Go to the documentation of this file.
1 // //
3 // Copyright (c) 2003-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 // //
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
Plane3D.h
PointCloud::addPoint
void addPoint(const Vec3 &)
Definition: PointCloud.cpp:26
PointCloud::PointCloud
PointCloud()
Definition: PointCloud.cpp:18
Plane3D
Class representing a Plane3D.
Definition: Plane3D.h:29
Vec3::X
VEC3_INLINE double & X()
Definition: vec3.h:119
PointCloud::getCenter
Vec3 getCenter()
Definition: PointCloud.cpp:34
Vec3::Z
VEC3_INLINE double & Z()
Definition: vec3.h:121
Vec3::Y
VEC3_INLINE double & Y()
Definition: vec3.h:120
Vec3
Definition: vec3.h:47
esys::lsm::bpu::iter
boost::python::object iter(const boost::python::object &pyOb)
Definition: Util.h:25
PointCloud
A class representing a cloud.of points.
Definition: PointCloud.h:34
PointCloud.h
vec3.h
Matrix3
3x3 Matrix
Definition: Matrix3.h:48
PointCloud::getFitPlane
Plane3D getFitPlane()
Definition: PointCloud.cpp:59
PointCloud::m_points
vector< Vec3 > m_points
Definition: PointCloud.h:36
Matrix3::eigen
void eigen(Vec3 &, Vec3 &, Vec3 &, double &, double &, double &)
Definition: Matrix3.cpp:186