IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
GeometryMeasure3dHdrMacros.h
Go to the documentation of this file.
1 // GeometryMeasure3dHdrMacros.h:
3 // -----------------------------
4 //
14 
15 #ifndef __IPSDKGEOMETRY_GEOMETRYMEASURE3DHDRMACROS_H__
16 #define __IPSDKGEOMETRY_GEOMETRYMEASURE3DHDRMACROS_H__
17 
19 #include <boost/preprocessor/seq/for_each.hpp>
20 
23 
26 #define IPSDK_DECLARE_GEOMETRY_MEASURE_3D(libraryName, className) \
27  IPSDK_DECLARE_SERIAL_WITH_COPY(libraryName, className) \
28  IPSDK_ENUMERATE_FRIEND_GEOMETRY_ENTITY_3D_TYPES() \
29 public: \
30  static DataType measure(const BaseGeometryEntity3d& entity); \
31  bool measure(const BaseGeometryEntity3d& entity, DataType& result) const; \
32 protected: \
33  bool process(const BaseGeometryEntity3d& entity, DataType& result) const \
34  { \
35  return false; \
36  }
37 
40 
41 #endif // __IPSDKGEOMETRY_GEOMETRYMEASURE3DHDRMACROS_H__
Predefined macros for geometry entity 3d management.