IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
GeometryTransform2dHdrMacros.h
Go to the documentation of this file.
1 // GeometryTransform2dHdrMacros.h:
3 // -------------------------------
4 //
14 
15 #ifndef __IPSDKGEOMETRY_GEOMETRYTRANSFORM2DHDRMACROS_H__
16 #define __IPSDKGEOMETRY_GEOMETRYTRANSFORM2DHDRMACROS_H__
17 
19 #include <boost/preprocessor/seq/for_each.hpp>
20 
23 
26 #define IPSDK_DECLARE_GEOMETRY_TRANSFORM_2D(libraryName, className) \
27  IPSDK_DECLARE_SERIAL_WITH_COPY(libraryName, className) \
28  IPSDK_ENUMERATE_FRIEND_GEOMETRY_ENTITY_2D_TYPES() \
29 public: \
30  bool applyInSitu(BaseGeometryEntity2d& entity) const; \
31  GeometryEntity2dPtr apply(const BaseGeometryEntity2d& entity) const; \
32 protected: \
33  bool processInSitu(BaseGeometryEntity2d&) const \
34  { \
35  return false; \
36  } \
37  GeometryEntity2dPtr process(const BaseGeometryEntity2d&) const \
38  { \
39  return GeometryEntity2dPtr(); \
40  }
41 
44 
45 #endif // __IPSDKGEOMETRY_GEOMETRYTRANSFORM2DHDRMACROS_H__
Predefined macros for geometry entity 2d management.