00001 00014 #ifndef _PLAY_BOX_GRAPHICS_H_ 00015 #define _PLAY_BOX_GRAPHICS_H_ 00016 00017 #include <Inventor/nodes/SoTranslation.h> 00018 00019 #include "graphical_node.h" 00020 #include "time_updateable.h" 00021 00027 class PlayBoxGraphics: public TimeUpdateable, public GraphicalNode 00028 { 00029 private: 00030 00031 // Disable copy constructor and assignment operator 00032 PlayBoxGraphics(const PlayBoxGraphics &); 00033 PlayBoxGraphics & operator=(const PlayBoxGraphics &); 00034 00043 virtual SoGroup* createWalls() =0; 00044 00053 virtual SoGroup* createBackWall() =0; 00054 00055 protected: 00056 00058 SoTranslation* _wallTranslation; 00059 00060 public: 00061 00065 PlayBoxGraphics(); 00066 00070 virtual ~PlayBoxGraphics(); 00071 00080 virtual void moveWall(float newOffset); 00081 }; 00082 00083 #endif