FastBoxTables.hpp
Go to the documentation of this file.
1 
28  /*
29  * FastBoxTables.hpp
30  *
31  * Created on: 09.03.2011
32  * Author: Thomas Wiemann
33  */
34 
35 #ifndef FASTBOXTABLES_HPP_
36 #define FASTBOXTABLES_HPP_
37 
38 namespace lvr2
39 {
40 
41 const static int neighbor_table[12][3] = {
42  {12, 10, 9}, // 0
43  {22, 12, 21}, // 1
44  {16, 12, 15}, // 2
45  { 4, 3, 12}, // 3
46  {14, 10, 11}, // 4
47  {23, 22, 14}, // 5
48  {14, 16, 17}, // 6
49  { 4, 5, 14}, // 7
50  { 4, 1, 10}, // 8
51  {22, 19, 10}, // 9
52  { 4, 7, 16}, // 10
53  {22, 25, 16} // 11
54 };
55 
56 const static int neighbor_vertex_table[12][3] = {
57  { 4, 2, 6},
58  { 3, 5, 7},
59  { 0, 6, 4},
60  { 1, 5, 7},
61  { 0, 6, 2},
62  { 3, 7, 1},
63  { 2, 4, 0},
64  { 5, 1, 3},
65  { 9, 11, 10},
66  { 8, 10, 11},
67  {11, 9, 8},
68  {10, 8, 9}
69 };
70 
71 const static int vertex_edge_table[12][2] = {
72  {0, 1},
73  {1, 2},
74  {2, 3},
75  {3, 0},
76  {4, 5},
77  {5, 6},
78  {6, 7},
79  {7, 4},
80  {0, 4},
81  {1, 5},
82  {3, 7},
83  {2, 6}
84 };
85 
86 const static int edge_vertex_table[8][3] = {
87  { 0, 3, 8}, // 0
88  { 0, 1, 9}, // 1
89  { 1, 2, 11},// 2
90  { 2, 3, 10}, // 3
91  { 4, 7, 8}, // 4
92  { 9, 4, 5}, // 5
93  { 5, 6, 11},// 6
94  { 10, 6, 7} // 7
95 };
96 
97 const static int edge_neighbour_table[8][12] = {
98  { 4, -1, -1, 10, -1, -1, -1, -1, 12, -1, -1, -1}, // 0
99  { 22, 10, -1, -1, -1, -1, -1, -1, -1, 12, -1, -1}, // 1
100  { -1, 16, 22, -1, -1, -1, -1, -1, -1, -1, -1, 12}, // 2
101  { -1, -1, 4, 16, -1, -1, -1, -1, -1, -1, 12, -1}, // 3
102  { -1, -1, -1, -1, 4, -1, -1, 10, 14, -1, -1, -1}, // 4
103  { -1, -1, -1, -1, 22, 10, -1, -1, -1, 14, -1, -1}, // 5
104  { -1, -1, -1, -1, -1, 16, 22, -1, -1, -1, -1, 14}, // 6
105  { -1, -1, -1, -1, -1, -1, 4, 16, -1, -1, 14, -1} // 7
106 };
107 
108 
109 } // namespace lvr
110 #endif /* FASTBOXTABLES_HPP_ */
lvr2::vertex_edge_table
const static int vertex_edge_table[12][2]
Definition: FastBoxTables.hpp:71
lvr2::neighbor_vertex_table
const static int neighbor_vertex_table[12][3]
Definition: FastBoxTables.hpp:56
lvr2::neighbor_table
const static int neighbor_table[12][3]
Definition: FastBoxTables.hpp:41
lvr2::edge_neighbour_table
const static int edge_neighbour_table[8][12]
Definition: FastBoxTables.hpp:97
lvr2
Definition: BaseBufferManipulators.hpp:39
lvr2::edge_vertex_table
const static int edge_vertex_table[8][3]
Definition: FastBoxTables.hpp:86


lvr2
Author(s): Thomas Wiemann , Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Wed Mar 2 2022 00:37:23