// Qt
#include <QRect>
-class ShapeRec_Parameters
+#ifdef WIN32
+ #if defined GEOM_SHAPEREC_EXPORTS || defined GEOMShapeRec_EXPORTS
+ #define GEOM_SHAPEREC_EXPORT __declspec( dllexport )
+ #else
+ #define GEOM_SHAPEREC_EXPORT __declspec( dllimport )
+ #endif
+#else
+ #define GEOM_SHAPEREC_EXPORT
+#endif
+
+class GEOM_SHAPEREC_EXPORT ShapeRec_Parameters
{
public:
ShapeRec_Parameters();
int findContoursMethod;
};
-class ShapeRec_CornersParameters : public ShapeRec_Parameters
+class GEOM_SHAPEREC_EXPORT ShapeRec_CornersParameters : public ShapeRec_Parameters
{
public:
ShapeRec_CornersParameters();
double epsilon;
};
-class ShapeRec_CannyParameters : public ShapeRec_Parameters
+class GEOM_SHAPEREC_EXPORT ShapeRec_CannyParameters : public ShapeRec_Parameters
{
public:
ShapeRec_CannyParameters();
bool L2gradient;
};
-class ShapeRec_ColorFilterParameters : public ShapeRec_Parameters
+class GEOM_SHAPEREC_EXPORT ShapeRec_ColorFilterParameters : public ShapeRec_Parameters
{
public:
ShapeRec_ColorFilterParameters();
double maxThreshold;
};
-class ShapeRec_FeatureDetector
+class GEOM_SHAPEREC_EXPORT ShapeRec_FeatureDetector
{
public: