ObjectInterface.hpp

00001 // This file is part of the imaging2 class library.
00002 //
00003 // University of Innsbruck, Infmath Imaging, 2009.
00004 // http://infmath.uibk.ac.at
00005 //
00006 // All rights reserved.
00007 
00008 
00009 #ifndef GRAPHICS_OPENGLVIEWERIMPL_OBJECTINTERFACE_H
00010 #define GRAPHICS_OPENGLVIEWERIMPL_OBJECTINTERFACE_H
00011 
00012 #include <core/imaging2.hpp>
00013 
00014 namespace imaging
00015 {
00016   namespace open_gl_viewer_impl
00017   {
00018     enum draw_modes { SCREEN_MODE, FILE_MODE };
00019     
00020     class ObjectInterface
00021     {
00022     public:
00023       virtual ~ObjectInterface() {}
00024       
00025     /* GLUT thread only BEGIN */
00026       virtual void initialize() {}
00027       virtual void execute(size_t mode) = 0;
00028     /* GLUT thread only END */
00029     };
00030   }
00031 }
00032 
00033 #endif

Generated on Tue Feb 10 10:01:30 2009 for imaging2 by  doxygen 1.5.5