IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
BoostPointCloud2dAdapter.h
Go to the documentation of this file.
1 // BoostPointCloud2dAdapter.h:
3 // ---------------------------
4 //
14 
15 #ifndef __IPSDKGEOMETRY_BOOSTPOINTCLOUD2DADAPTER_H__
16 #define __IPSDKGEOMETRY_BOOSTPOINTCLOUD2DADAPTER_H__
17 
19 #include <IPSDKGeometry/Entity/2d/PointCloud/PointCloud2d.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 BoostPointCloud2d : public std::vector<ipsdk::geom::Point2dData<T> >
37  {
38  };
39  }
40 }
41 
42 // registration of multi point 2d models
43 BOOST_GEOMETRY_REGISTER_MULTI_POINT(ipsdk::geom::BoostPointCloud2d<ipsdk::ipInt32>);
44 BOOST_GEOMETRY_REGISTER_MULTI_POINT(ipsdk::geom::BoostPointCloud2d<ipsdk::ipUInt32>);
45 BOOST_GEOMETRY_REGISTER_MULTI_POINT(ipsdk::geom::BoostPointCloud2d<ipsdk::ipReal32>);
46 BOOST_GEOMETRY_REGISTER_MULTI_POINT(ipsdk::geom::BoostPointCloud2d<ipsdk::ipReal64>);
47 
50 
51 #endif // __IPSDKGEOMETRY_BOOSTPOINTCLOUD2DADAPTER_H__
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
Definition: BoostPointCloud2dAdapter.h:36
Points 2d adapters for boost geometry library.