IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
BoostPointCloud3dAdapter.h
Go to the documentation of this file.
1 // BoostPointCloud3dAdapter.h:
3 // ---------------------------
4 //
14 
15 #ifndef __IPSDKGEOMETRY_BOOSTPOINTCLOUD3DADAPTER_H__
16 #define __IPSDKGEOMETRY_BOOSTPOINTCLOUD3DADAPTER_H__
17 
19 #include <IPSDKGeometry/Entity/3d/PointCloud/PointCloud3d.h>
20 #include <boost/geometry/core/tag.hpp>
21 #include <boost/geometry/core/access.hpp>
22 #include <boost/geometry/core/cs.hpp>
23 #include <boost/geometry/core/coordinate_dimension.hpp>
24 #include <boost/geometry/core/coordinate_system.hpp>
25 #include <boost/geometry/core/coordinate_type.hpp>
26 #include <boost/geometry/geometries/register/multi_point.hpp>
27 #include <vector>
28 
31 
32 namespace ipsdk {
33  namespace geom {
34 
35  template <typename T>
36  struct BoostPointCloud3d : public std::vector<ipsdk::geom::Point3dData<T> >
37  {
38  };
39  }
40 }
41 
42 // registration of multi point 3d models
43 BOOST_GEOMETRY_REGISTER_MULTI_POINT(ipsdk::geom::BoostPointCloud3d<ipsdk::ipInt32>);
44 BOOST_GEOMETRY_REGISTER_MULTI_POINT(ipsdk::geom::BoostPointCloud3d<ipsdk::ipUInt32>);
45 BOOST_GEOMETRY_REGISTER_MULTI_POINT(ipsdk::geom::BoostPointCloud3d<ipsdk::ipReal32>);
46 BOOST_GEOMETRY_REGISTER_MULTI_POINT(ipsdk::geom::BoostPointCloud3d<ipsdk::ipReal64>);
47 
50 
51 #endif // __IPSDKGEOMETRY_BOOSTPOINTCLOUD3DADAPTER_H__
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
Points 2d adapters for boost geometry library.
Definition: BoostPointCloud3dAdapter.h:36