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

ParticleSystem.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_PARTICLESYSTEM_H 00012 #define OPENCAL_PARTICLESYSTEM_H 00013 00014 // Includes 00015 #include <OpenCAL/global.h> 00016 #include <OpenCAL/PhysicsSystem.h> 00017 00018 namespace OpenCAL 00019 { 00020 // Forward declarations 00021 class PointMass; 00022 00027 class OPENCAL_API ParticleSystem: public PhysicsSystem 00028 { 00029 protected: 00030 // Member variables 00031 00032 public: 00033 // Constructors and destructor 00034 ParticleSystem(System *parent); 00035 virtual ~ParticleSystem(); 00036 00037 // Get functions 00038 PointMass *getPoint(unsigned int i) { return (PointMass *) m_objects[i]; } 00039 const PointMass *getPoint(unsigned int i) const { return (const PointMass *) m_objects[i]; } 00040 00041 // Set functions 00042 00043 // Other functions 00044 virtual void render(); 00045 }; 00046 } 00047 00048 #endif // OPENCAL_PARTICLESYSTEM_H

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