2014-07-23 20:50:12 +04:00
|
|
|
#ifndef SVDEFS_H
|
|
|
|
#define SVDEFS_H
|
|
|
|
|
|
|
|
#include <QDebug>
|
|
|
|
|
|
|
|
typedef unsigned int SvFrameId;
|
2014-07-25 11:32:00 +04:00
|
|
|
typedef unsigned int uint;
|
|
|
|
|
|
|
|
#include "svpointcloud.h"
|
|
|
|
#include "svimage.h"
|
|
|
|
|
|
|
|
class SvPointCloud;
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
SvPointCloud *pointCloud;
|
|
|
|
SvImage *image;
|
|
|
|
int line;
|
|
|
|
} SvProcessorTask;
|
2014-07-23 20:50:12 +04:00
|
|
|
|
|
|
|
#define sign(a) (a == 0 ? 0 : (a > 0 ? 1 : -1))
|
|
|
|
#define max(a,b,c) (a > b ? (a > c ? a : c) : (b > c ? b : c))
|
|
|
|
#define min(a,b,c) (a < b ? (a < c ? a : c) : (b < c ? b : c))
|
|
|
|
|
|
|
|
#endif // SVDEFS_H
|