tunnel_play_box_graphics.h

Go to the documentation of this file.
00001 
00014 #ifndef _TUNNEL_PLAY_BOX_GRAPHICS_H_
00015 #define _TUNNEL_PLAY_BOX_GRAPHICS_H_
00016 
00017 #include <Inventor/SbColor4f.h>
00018 
00019 #include "play_box_graphics.h"
00020 
00027 class TunnelPlayBoxGraphics: public PlayBoxGraphics
00028 {
00029         private:
00030 
00032                 static const SbColor4f TUNNEL_COLOUR_START;
00033 
00035                 static const SbColor4f TUNNEL_COLOUR_END;
00036 
00038                 SoTextureCoordinate2* _textureCoord;
00039 
00041                 float _textureOffset;
00042 
00043         private:
00044 
00045                 // Disable copy constructor and assignment operator
00046                 TunnelPlayBoxGraphics(const TunnelPlayBoxGraphics &);
00047                 TunnelPlayBoxGraphics & operator=(const TunnelPlayBoxGraphics &);
00048 
00049                 // override
00050                 virtual SoGroup* createWalls();
00051 
00052                 // override
00053                 virtual SoGroup* createBackWall();
00054 
00055         public:
00056 
00060                 TunnelPlayBoxGraphics();
00061 
00065                 virtual ~TunnelPlayBoxGraphics();
00066 
00067                 // Override
00068                 virtual void timeUpdate(float dt);
00069 };
00070 
00071 #endif
00072 

Generated on Sat Dec 20 19:21:24 2008 for PGR2008 by  doxygen 1.5.6