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 <list>
16 
17 #include "GraphLookupTable.h"
18 #include "SphericalGraph.h"
19 
20 // *****************************************************************
21 // decleration of CGraphPyramidLookupTable
22 // *****************************************************************
24 {
25 public:
26  // construction / destruction
27  CGraphPyramidLookupTable(int nMaxZenithBins, int nMaxAzimuthBins);
29 
30  // build table
31  void buildLookupTable(CSphericalGraph* pGraph);
32 
33  // operation
34  int getClosestNode(Eigen::Vector3d position);
35  int getClosestNode(TSphereCoord position);
36 
37 private:
38  std::list<CGraphLookupTable*> m_Tables;
39  int m_nSubDivision;
40  int m_nLevels;
41 
42  int m_nMaxZenithBins;
43  int m_nMaxAzimuthBins;
44 };
SphericalGraph.h
GraphLookupTable.h
CGraphPyramidLookupTable::getClosestNode
int getClosestNode(Eigen::Vector3d position)
Definition: GraphPyramidLookupTable.cpp:73
CGraphPyramidLookupTable
Definition: GraphPyramidLookupTable.h:23
CGraphPyramidLookupTable::buildLookupTable
void buildLookupTable(CSphericalGraph *pGraph)
Definition: GraphPyramidLookupTable.cpp:60
CSphericalGraph
Definition: SphericalGraph.h:105
TSphereCoord
Definition: Structs.h:23
CGraphPyramidLookupTable::~CGraphPyramidLookupTable
~CGraphPyramidLookupTable()
Definition: GraphPyramidLookupTable.cpp:47
CGraphPyramidLookupTable::CGraphPyramidLookupTable
CGraphPyramidLookupTable(int nMaxZenithBins, int nMaxAzimuthBins)
Definition: GraphPyramidLookupTable.cpp:23