IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
BoostPoint3dAdapter.h
Go to the documentation of this file.
1 // BoostPoint3dAdapter.h:
3 // ----------------------
4 //
14 
15 #ifndef __IPSDKGEOMETRY_BOOSTPOINT3DADAPTER_H__
16 #define __IPSDKGEOMETRY_BOOSTPOINT3DADAPTER_H__
17 
18 #include <IPSDKGeometry/Entity/3d/Point/Point3d.h>
19 #include <boost/geometry/core/tag.hpp>
20 #include <boost/geometry/core/access.hpp>
21 #include <boost/geometry/core/cs.hpp>
22 #include <boost/geometry/core/coordinate_dimension.hpp>
23 #include <boost/geometry/core/coordinate_system.hpp>
24 #include <boost/geometry/core/coordinate_type.hpp>
25 #include <boost/geometry/geometries/register/point.hpp>
26 
29 
30 // registration of point 3d model
31 BOOST_GEOMETRY_REGISTER_POINT_3D_GET_SET(ipsdk::geom::Point3d<ipsdk::ipInt32>, ipsdk::ipInt32, boost::geometry::cs::cartesian, getX, getY, getZ, setX, setY, setZ);
32 BOOST_GEOMETRY_REGISTER_POINT_3D_GET_SET(ipsdk::geom::Point3d<ipsdk::ipUInt32>, ipsdk::ipUInt32, boost::geometry::cs::cartesian, getX, getY, getZ, setX, setY, setZ);
33 BOOST_GEOMETRY_REGISTER_POINT_3D_GET_SET(ipsdk::geom::Point3d<ipsdk::ipReal32>, ipsdk::ipReal32, boost::geometry::cs::cartesian, getX, getY, getZ, setX, setY, setZ);
34 BOOST_GEOMETRY_REGISTER_POINT_3D_GET_SET(ipsdk::geom::Point3d<ipsdk::ipReal64>, ipsdk::ipReal64, boost::geometry::cs::cartesian, getX, getY, getZ, setX, setY, setZ);
35 BOOST_GEOMETRY_REGISTER_POINT_3D(ipsdk::geom::Point3dData<ipsdk::ipInt32>, ipsdk::ipInt32, boost::geometry::cs::cartesian, _x, _y, _z);
36 BOOST_GEOMETRY_REGISTER_POINT_3D(ipsdk::geom::Point3dData<ipsdk::ipUInt32>, ipsdk::ipUInt32, boost::geometry::cs::cartesian, _x, _y, _z);
37 BOOST_GEOMETRY_REGISTER_POINT_3D(ipsdk::geom::Point3dData<ipsdk::ipReal32>, ipsdk::ipReal32, boost::geometry::cs::cartesian, _x, _y, _z);
38 BOOST_GEOMETRY_REGISTER_POINT_3D(ipsdk::geom::Point3dData<ipsdk::ipReal64>, ipsdk::ipReal64, boost::geometry::cs::cartesian, _x, _y, _z);
39 
42 
43 #endif // __IPSDKGEOMETRY_BOOSTPOINT3DADAPTER_H__
Point class associated to cartesian 3d coordinates.
Definition: GeometryEntity3dTypes.h:29
double ipReal64
Base types definition.
Definition: BaseTypes.h:57
int32_t ipInt32
Base types definition.
Definition: BaseTypes.h:52
Lightweight structure used to store Point3d data.
Definition: GeometryEntity3dTypes.h:27
float ipReal32
Base types definition.
Definition: BaseTypes.h:56
uint32_t ipUInt32
Base types definition.
Definition: BaseTypes.h:53