34 #ifndef OCTOMAP_OCTREE_LUT_H 35 #define OCTOMAP_OCTREE_LUT_H 47 bool operator() (
const unsigned short int* key1,
const unsigned short int* key2)
const {
48 return ((key1[0]==key2[0]) && (key1[1] == key2[1]) && (key1[2] == key2[2]));
53 unsigned short int operator()(
const unsigned short int* key)
const {
54 return (((31 + key[0]) * 31 + key[1]) * 31 + key[2]);
75 W = 0, E, N, S , T , B,
76 SW, NW, SE, NE,
TW, BW, TE, BE, TN, TS, BN, BS,
77 TNW,
TSW, TNE, TSE, BNW, BSW, BNE, BSE
86 bool genNeighborKey(
const OcTreeKey& node_key,
const signed char& dir,
93 unsigned int genPos(
const OcTreeKey& key,
const int& i)
const;
94 void changeKey(
const int& val,
OcTreeKey& key,
const unsigned short int& i)
const;
100 signed char nf_values[8][26];
101 signed char nf_rec_values[8][26];
102 signed char nf_multiple_values[26][4];
bool operator()(const unsigned short int *key1, const unsigned short int *key2) const
unsigned short int operator()(const unsigned short int *key) const