26 lines
509 B
C++
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
|