IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Shape2dTypes.h
Go to the documentation of this file.
1 // Shape2dTypes.h:
3 // ---------------
4 //
14 
15 #ifndef __IPSDKGEOMETRY_SHAPE2DTYPES_H__
16 #define __IPSDKGEOMETRY_SHAPE2DTYPES_H__
17 
19 #include <IPSDKGeometry/Entity/2d/Polygon/Polygon2d.h>
20 #include <IPSDKUtil/BaseTypes.h>
21 #include <vector>
22 
23 namespace ipsdk {
24 namespace geom {
25 
26 template <typename T>
27 struct Point2dData;
28 template <typename T>
29 class PolygonWithHoles2d;
30 class Shape2d;
31 
34 
36 typedef boost::shared_ptr<Shape2d> Shape2dPtr;
37 
39 typedef boost::shared_ptr<const Shape2d> Shape2dConstPtr;
40 
42 typedef std::vector<Shape2dPtr> Shape2dVector;
43 
45 typedef std::vector<Shape2dConstPtr> Shape2dConstVector;
46 
49 
52 
55 
58 
60 typedef boost::shared_ptr<Shape2dPolygon> Shape2dPolygonPtr;
61 
63 typedef boost::shared_ptr<const Shape2dPolygon> Shape2dPolygonConstPtr;
64 
67 
69 typedef boost::shared_ptr<Shape2dPolygonWithHoles> Shape2dPolygonWithHolesPtr;
70 
72 typedef boost::shared_ptr<const Shape2dPolygonWithHoles> Shape2dPolygonWithHolesConstPtr;
73 
75 typedef std::vector<Shape2dPolygonWithHolesConstPtr> Shape2dPolygonWithHolesConstColl;
76 
78 typedef std::vector<Shape2dPolygonWithHolesPtr> Shape2dPolygonWithHolesColl;
79 
82 
83 } // end of namespace geom
84 } // end of namespace ipsdk
85 
86 #endif // __IPSDKGEOMETRY_SHAPE2DTYPES_H__
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
std::vector< Shape2dPtr > Shape2dVector
collection of shape 2d shared pointers
Definition: Shape2dTypes.h:42
boost::shared_ptr< Shape2d > Shape2dPtr
shared pointer to Shape2d
Definition: Shape2dTypes.h:30
Shape2dPolygon::PointColl Shape2dPointColl
point collection associated to shape
Definition: Shape2dTypes.h:57
boost::shared_ptr< const Shape2d > Shape2dConstPtr
shared pointer to const Shape2d
Definition: Shape2dTypes.h:39
std::vector< Shape2dPolygonWithHolesPtr > Shape2dPolygonWithHolesColl
collection of polygon with holes
Definition: Shape2dTypes.h:78
Shape2dPolygon::PointType Shape2dPoint
point type associated to shape
Definition: Shape2dTypes.h:54
Closed polygon potentially associated to interior polygonal holes.
Definition: PolygonWithHoles2d.h:40
geom::PolygonWithHoles2d< Shape2dDataType > Shape2dPolygonWithHoles
polygon with holes type associated to shape
Definition: Shape2dTypes.h:66
Base types for multiplatform compatibility.
geom::Polygon2d< Shape2dDataType > Shape2dPolygon
polygon type associated to shape
Definition: Shape2dTypes.h:51
boost::shared_ptr< const Shape2dPolygonWithHoles > Shape2dPolygonWithHolesConstPtr
shared pointer to const polygon with holes associated to shape
Definition: Shape2dTypes.h:72
ipReal32 Shape2dDataType
underlying data type associated to shape 2d
Definition: Shape2dTypes.h:48
Closed polygon associated to an ordered collection of 2d points.
Definition: Polygon2d.h:38
std::vector< Shape2dConstPtr > Shape2dConstVector
collection of shape 2d const shared pointers
Definition: Shape2dTypes.h:45
boost::shared_ptr< const Shape2dPolygon > Shape2dPolygonConstPtr
shared pointer to const polygon associated to shape
Definition: Shape2dTypes.h:63
std::vector< PointType > PointColl
collection of points associated to polygon
Definition: Polygon2d.h:55
Shape 2d associated to one or more closed polygon 2d.
Definition: Shape2d.h:35
boost::shared_ptr< Shape2dPolygon > Shape2dPolygonPtr
shared pointer to polygon associated to shape
Definition: Shape2dTypes.h:60
Predefined types for entity 2d management.
Lightweight structure used to store Point2d data.
Definition: GeometryEntity2dTypes.h:26
std::vector< Shape2dPolygonWithHolesConstPtr > Shape2dPolygonWithHolesConstColl
collection of const polygon with holes
Definition: Shape2dTypes.h:75
float ipReal32
Base types definition.
Definition: BaseTypes.h:56
boost::shared_ptr< Shape2dPolygonWithHoles > Shape2dPolygonWithHolesPtr
shared pointer to polygon with holes associated to shape
Definition: Shape2dTypes.h:69