Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

objects/TeEngineExplorer.h

Go to the documentation of this file.
00001 #ifndef TE_ENGINE_EXPLORER_H
00002 #define TE_ENGINE_EXPLORER_H
00003 
00004 /*****************************************************************************\
00005  *
00006  * TeEngineExplorer.h
00007  *
00008  * Engine object that displays stats while flying above surface
00009  *
00010  * Author: Martin Havlíček (xhavli15 AT stud.fit.vutbr.cz)
00011  * Contributors:
00012  *
00013  * ----------------------------------------------------------------------------
00014  *
00015  * THIS SOFTWARE IS NOT COPYRIGHTED
00016  *
00017  * This source code is offered for use in the public domain.
00018  * You may use, modify or distribute it freely.
00019  *
00020  * This source code is distributed in the hope that it will be useful but
00021  * WITHOUT ANY WARRANTY.  ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
00022  * DISCLAIMED.  This includes but is not limited to warranties of
00023  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
00024  *
00025  * If you find the source code useful, authors will kindly welcome
00026  * if you give them credit and keep their names with their source code.
00027  *
00028 \*****************************************************************************/
00029 
00037 #include <Inventor/nodes/SoText2.h>
00038 
00039 #include "objects/TeObject.h"
00040 
00041 //class TeEngine;
00042 
00053 class TeEngineExplorer : public TeObject {
00054 
00055   friend class TeEngine;
00056 
00057 private:
00058 
00060   SoText2 *posText;
00062   SoText2 *speedText;
00064   SoText2 *fpsText;
00066   SoText2 *tasksInQueueText;
00068   SoText2 *patchNumText;
00070   SoText2 *rootLevelText;
00072   SbVec3f defaultCamDistance;
00073 
00074 protected:
00075 
00076   virtual void createHUD();
00077   virtual void updateHUD();
00078 
00079 public:
00080 
00081   TeEngineExplorer();
00082 
00083   virtual void handleEvent(const SoEvent *event);
00084 
00085 };
00086 
00087 
00088 #endif /* TE_ENGINE_EXPLORER_H */

Generated on Sun May 8 16:45:06 2005 for TerrainEngine by Doxygen 1.4.1