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

Animation.h

00001 /*************************************************************************** 00002 * This file is part of OpenCAL: Open Computer Animation Library * 00003 * I created OpenCAL as my master's thesis Computer Science (multimedia) * 00004 * at the tUL university in Diepenbeek, Belgium * 00005 * * 00006 * Copyright (C) 2003-2004 by Jeroen Dierckx * 00007 * jeroen.dierckx@student.luc.ac.be * 00008 * * 00009 ***************************************************************************/ 00010 00011 #ifndef OPENCAL_ANIMATION_H 00012 #define OPENCAL_ANIMATION_H 00013 00014 // Includes 00015 #include <OpenCAL/global.h> 00016 #include <OpenCAL/System.h> 00017 00018 #include <OpenCAL/Camera.h> 00019 using OpenCAL::Utils::Camera; 00020 00021 00022 namespace OpenCAL 00023 { 00024 // Forward declarations 00025 00030 class OPENCAL_API Animation: public System 00031 { 00032 protected: 00033 // Member variables 00034 Camera m_camera; 00035 00036 public: 00037 // Constructors and destructor 00038 Animation(); 00039 virtual ~Animation(); 00040 00041 // Get functions 00042 const Camera &getCamera() const { return m_camera; } 00043 Camera *getCameraP() { return &m_camera; } 00044 00045 // Render functions 00046 virtual void render(); 00047 00048 // Other functions 00049 virtual void initialize(); 00050 00051 protected: 00052 // Protected functions 00053 virtual void afterInit() {}; 00054 }; 00055 } 00056 00057 #endif // OPENCAL_ANIMATION_H

Generated on Sun Aug 15 19:19:21 2004 for OpenCAL: Open Computer Animation Library by doxygen 1.3.8