Main Page   Namespace List   Alphabetical List   Compound List   File List   Compound Members   File Members  

romanglepool.h

Go to the documentation of this file.
00001 /* romanglepool.h Stores the ROM values obtained by the simulation 
00002                   Physical Based Simulation, ETH Zuerich
00003                   Rene Mueller, June 16th, 2003 */
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 

Generated on Tue Jul 8 13:22:55 2003 for ROM-Visualizer by doxygen 1.3.1