00001
00002
00003
00004
00005 #ifndef _ROMANGLEPOOL_H_
00006 #define _ROMANGLEPOOL_H_
00007
00008 #include <Inventor/nodes/SoNode.h>
00009 #include <iostream>
00010 #include <vector>
00011
00013
00014 class RomAnglePool {
00015 public:
00017 RomAnglePool() {};
00018
00020 ~RomAnglePool() {};
00021
00023
00027 void append(float phi, float theta);
00028
00030 int length();
00031
00033
00038 void get(int index, float *phi, float *theta);
00039
00041
00046 SoNode* createVisualizationCone() const;
00047
00048
00049 private:
00050
00052 typedef struct {
00053 float phi;
00054 float theta;
00055 } PoolElement;
00056
00058 std::vector<PoolElement*> poolElementVector;
00059 };
00060
00061 #endif // _ROMANGLEPOOL_H_
00062