IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
GeometryTransform2dUtils.h
Go to the documentation of this file.
1 // GeometryTransform2dUtils.h:
3 // ---------------------------
4 //
14 
15 #ifndef __IPSDKGEOMETRY_GEOMETRYTRANSFORM2DUTILS_H__
16 #define __IPSDKGEOMETRY_GEOMETRYTRANSFORM2DUTILS_H__
17 
20 #include <IPSDKGeometry/Transform/2d/BaseGeometryTransform2d.h>
22 #include <IPSDKUtil/BaseTypes.h>
23 #include <boost/shared_ptr.hpp>
24 
25 namespace ipsdk {
26 namespace geom {
27 
28 class RigidTransform2d;
29 class BaseGeometryTransform2d;
30 class BaseGeometryEntity2d;
31 
34 
38 convert(const math::transform::BaseGeometricTransform2d& transform);
39 
43 apply(const BaseGeometryTransform2d& transform, BaseGeometryEntity2d& entity);
44 
49 apply(const BaseGeometryTransform2d& transform, const GeometryEntity2dConstPtr& pEntity);
51 apply(const math::transform::BaseGeometricTransform2d& transform, const GeometryEntity2dConstPtr& pEntity);
53 
58 applyAll(const BaseGeometryTransform2d& transform, GeometryEntity2dPtrColl& coll);
59 
64 applyAll(const BaseGeometryTransform2d& transform,
65  const GeometryEntity2dPtrColl& inputColl,
66  GeometryEntity2dPtrColl& outputColl);
67 
73 applyAll(const BaseGeometryTransform2d& transform,
74  const GeometryEntity2dPtrColl& inputColl);
76 applyAll(const math::transform::BaseGeometricTransform2d& transform,
77  const GeometryEntity2dPtrColl& inputColl);
79 
82 
83 } // end of namespace geom
84 } // end of namespace ipsdk
85 
86 #endif // __IPSDKGEOMETRY_GEOMETRYTRANSFORM2DUTILS_H__
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
IPSDKGEOMETRY_API bool applyAll(const BaseGeometryTransform2d &transform, GeometryEntity2dPtrColl &coll)
function allowing to apply in situ a given transformation on a collection of entity ...
boost::shared_ptr< const BaseGeometryEntity2d > GeometryEntity2dConstPtr
shared pointer to const BaseGeometryEntity2d
Definition: GeometryEntity2dTypes.h:91
IPSDKGEOMETRY_API bool apply(const BaseGeometryTransform2d &transform, BaseGeometryEntity2d &entity)
function allowing to apply in situ a given transformation on an entity
std::vector< GeometryEntity2dPtr > GeometryEntity2dPtrColl
collection of geometry entity 2d
Definition: GeometryEntity2dTypes.h:94
Definition of import/export macro for library.
Base types for multiplatform compatibility.
#define IPSDKGEOMETRY_API
Import/Export macro for library IPSDKGeometry.
Definition: IPSDKGeometryExports.h:25
boost::shared_ptr< BaseGeometryEntity2d > GeometryEntity2dPtr
shared pointer to BaseGeometryEntity2d
Definition: GeometryEntity2dTypes.h:88
IPSDKGEOMETRY_API Vector2d convert(const Point2d< T > &pt)
conversion operator for ipsdk::geom::Point2d and ipsdk::geom::Vector2d convertion ...
boost::shared_ptr< BaseGeometryTransform2d > GeometryTransform2dPtr
shared pointer to BaseGeometryTransform2d
Definition: GeometryTransform2dTypes.h:65
Predefined types for entity 2d management.
Predefined types for geometric transform 2d management.