688 |
khor |
1 |
/* ----------------------------------------------------------------------- *
|
|
|
2 |
* This file is part of GEL, http://www.imm.dtu.dk/GEL
|
|
|
3 |
* Copyright (C) the authors and DTU Informatics
|
|
|
4 |
* For license and list of authors, see ../../doc/intro.pdf
|
|
|
5 |
* ----------------------------------------------------------------------- */
|
|
|
6 |
|
|
|
7 |
/**
|
|
|
8 |
* @file Neighbours.h
|
|
|
9 |
* @brief A number of arrays with relative 3D voxel indices.
|
|
|
10 |
*/
|
|
|
11 |
|
|
|
12 |
#ifndef __GEOMETRY_NEIGHBOURS_H
|
|
|
13 |
#define __GEOMETRY_NEIGHBOURS_H
|
|
|
14 |
|
|
|
15 |
#include "../CGLA/Vec3i.h"
|
|
|
16 |
#include "../CGLA/Vec3f.h"
|
|
|
17 |
#include "../CGLA/Vec3d.h"
|
|
|
18 |
|
|
|
19 |
namespace Geometry
|
|
|
20 |
{
|
|
|
21 |
extern const CGLA::Vec3f N6f[6];
|
|
|
22 |
extern const CGLA::Vec3i N6i[6];
|
|
|
23 |
extern const CGLA::Vec3d N6d[6];
|
|
|
24 |
|
|
|
25 |
extern const CGLA::Vec3f N26f[26];
|
|
|
26 |
extern const CGLA::Vec3i N26i[26];
|
|
|
27 |
extern const CGLA::Vec3d N26d[26];
|
|
|
28 |
|
|
|
29 |
extern const CGLA::Vec3i CubeCorners8i[8];
|
|
|
30 |
extern const CGLA::Vec3f CubeCorners8f[8];
|
|
|
31 |
}
|
|
|
32 |
|
|
|
33 |
|
|
|
34 |
#endif
|