GraphPyramidLookupTable.h
Go to the documentation of this file.
1 // *****************************************************************
2 // Filename: GraphPyramidLookupTable.h
3 // Copyright: Kai Welke, Chair Prof. Dillmann (IAIM),
4 // Institute for Computer Science and Engineering (CSE),
5 // University of Karlsruhe. All rights reserved.
6 // Author: Kai Welke
7 // Date: 10.10.2008
8 // *****************************************************************
9 
10 #pragma once
11 
12 // *****************************************************************
13 // includes
14 // *****************************************************************
15 #include "SphericalGraph.h"
16 #include "GraphLookupTable.h"
17 #include <list>
18 
19 // *****************************************************************
20 // decleration of CGraphPyramidLookupTable
21 // *****************************************************************
23 {
24 public:
25  // construction / destruction
26  CGraphPyramidLookupTable(int nMaxZenithBins, int nMaxAzimuthBins);
28 
29  // build table
30  void buildLookupTable(CSphericalGraph* pGraph);
31 
32  // operation
33  int getClosestNode(Eigen::Vector3d position);
34  int getClosestNode(TSphereCoord position);
35 
36 private:
37  std::list<CGraphLookupTable*> m_Tables;
38  int m_nSubDivision;
39  int m_nLevels;
40 
41  int m_nMaxZenithBins;
42  int m_nMaxAzimuthBins;
43 };
44 
45 
SphericalGraph.h
GraphLookupTable.h
CGraphPyramidLookupTable::getClosestNode
int getClosestNode(Eigen::Vector3d position)
Definition: GraphPyramidLookupTable.cpp:70
CGraphPyramidLookupTable
Definition: GraphPyramidLookupTable.h:22
CGraphPyramidLookupTable::buildLookupTable
void buildLookupTable(CSphericalGraph *pGraph)
Definition: GraphPyramidLookupTable.cpp:58
CSphericalGraph
Definition: SphericalGraph.h:93
TSphereCoord
Definition: Structs.h:22
CGraphPyramidLookupTable::~CGraphPyramidLookupTable
~CGraphPyramidLookupTable()
Definition: GraphPyramidLookupTable.cpp:46
CGraphPyramidLookupTable::CGraphPyramidLookupTable
CGraphPyramidLookupTable(int nMaxZenithBins, int nMaxAzimuthBins)
Definition: GraphPyramidLookupTable.cpp:21