IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Macros
GeometryTransform3dHdrMacros.h File Reference

Header part of macros for geometry transform 3d management. More...

#include <IPSDKGeometry/Entity/3d/GeometryEntity3dListMacros.h>
#include <boost/preprocessor/seq/for_each.hpp>

Go to the source code of this file.

Macros

#define IPSDK_DECLARE_GEOMETRY_TRANSFORM_3D(libraryName, className)
 Macro allowing to declare a geometry transform 3d. More...
 

Detailed Description

Header part of macros for geometry transform 3d management.

Author
E. Noirfalise
Date
2015/04/22

Macro Definition Documentation

◆ IPSDK_DECLARE_GEOMETRY_TRANSFORM_3D

#define IPSDK_DECLARE_GEOMETRY_TRANSFORM_3D (   libraryName,
  className 
)
Value:
IPSDK_DECLARE_SERIAL_WITH_COPY(libraryName, className) \
IPSDK_ENUMERATE_FRIEND_GEOMETRY_ENTITY_3D_TYPES() \
public: \
bool applyInSitu(BaseGeometryEntity3d& entity) const; \
GeometryEntity3dPtr apply(const BaseGeometryEntity3d& entity) const; \
protected: \
bool processInSitu(BaseGeometryEntity3d&) const \
{ \
return false; \
} \
GeometryEntity3dPtr process(const BaseGeometryEntity3d&) const \
{ \
return GeometryEntity3dPtr(); \
}
#define IPSDK_DECLARE_SERIAL_WITH_COPY(libraryName, className)
macro enabling serialization on class
Definition: SerializationHdrMacro.h:73
IPSDKGEOMETRY_API bool apply(const BaseGeometryTransform2d &transform, BaseGeometryEntity2d &entity)
function allowing to apply in situ a given transformation on an entity
boost::shared_ptr< BaseGeometryEntity3d > GeometryEntity3dPtr
shared pointer to BaseGeometryEntity3d
Definition: GeometryEntity3dTypes.h:120

Macro allowing to declare a geometry transform 3d.