dispmap/svdefs.h
2014-07-25 12:32:46 +04:00

25 lines
493 B
C++

#ifndef SVDEFS_H
#define SVDEFS_H
#include <QDebug>
typedef unsigned int SvFrameId;
typedef unsigned int uint;
#include "svpointcloud.h"
#include "svimage.h"
class SvPointCloud;
typedef struct {
SvPointCloud *pointCloud;
SvImage *image;
int line;
} SvProcessorTask;
#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