dispmap/svdefs.h
Andrey Tkachenko b6b4bf3eb6 Fixed seg fault
2014-07-29 15:22:01 +04:00

26 lines
509 B
C++

#ifndef SVDEFS_H
#define SVDEFS_H
#include <QDebug>
#include <QRgb>
typedef unsigned int SvPointId;
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