dispmap/svdefs.h

25 lines
493 B
C
Raw Normal View History

2014-07-23 20:50:12 +04:00
#ifndef SVDEFS_H
#define SVDEFS_H
#include <QDebug>
2014-07-25 18:44:11 +04:00
typedef unsigned int SvPointId;
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