Subversion Repositories gelsvn

Rev

Rev 443 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 443 Rev 595
-
 
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
 
1
#ifndef __GEOMETRY_NEIGHBOURS_H
12
#ifndef __GEOMETRY_NEIGHBOURS_H
2
#define __GEOMETRY_NEIGHBOURS_H
13
#define __GEOMETRY_NEIGHBOURS_H
3
 
14
 
4
#include "CGLA/Vec3i.h"
15
#include "CGLA/Vec3i.h"
5
#include "CGLA/Vec3f.h"
16
#include "CGLA/Vec3f.h"
6
#include "CGLA/Vec3d.h"
17
#include "CGLA/Vec3d.h"
7
 
18
 
8
namespace Geometry
19
namespace Geometry
9
{
20
{
10
	extern const CGLA::Vec3f N6f[6];
21
	extern const CGLA::Vec3f N6f[6];
11
	extern const CGLA::Vec3i N6i[6];
22
	extern const CGLA::Vec3i N6i[6];
12
	extern const CGLA::Vec3d N6d[6];
23
	extern const CGLA::Vec3d N6d[6];
13
	
24
	
14
	extern const CGLA::Vec3f N26f[26];
25
	extern const CGLA::Vec3f N26f[26];
15
	extern const CGLA::Vec3i N26i[26];
26
	extern const CGLA::Vec3i N26i[26];
16
	extern const CGLA::Vec3d N26d[26];
27
	extern const CGLA::Vec3d N26d[26];
17
 
28
 
18
	extern const CGLA::Vec3i CubeCorners8i[8];
29
	extern const CGLA::Vec3i CubeCorners8i[8];
19
	extern const CGLA::Vec3f CubeCorners8f[8];
30
	extern const CGLA::Vec3f CubeCorners8f[8];
20
}
31
}
21
 
32
 
22
 
33
 
23
#endif
34
#endif
24
 
35