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