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

PointMass.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_POINTMASS_H 00012 #define OPENCAL_POINTMASS_H 00013 00014 // Includes 00015 #include <OpenCAL/global.h> 00016 #include <OpenCAL/PhysicalObject.h> 00017 00018 namespace OpenCAL 00019 { 00020 // Forward declarations 00021 00025 class OPENCAL_API PointMass: public PhysicalObject 00026 { 00027 protected: 00028 // Member variables 00029 00030 public: 00031 // Constructors and destructor 00032 PointMass(System *parent, float mass = 1.0); 00033 virtual ~PointMass(); 00034 00035 // Other functions 00036 virtual void render(); 00037 00038 // State functions 00039 virtual void addToState(PhaseSpace *state); 00040 virtual void addToDerivative(PhaseSpace *deriv); 00041 virtual void fromState(PhaseSpace *state); 00042 /* 00043 #ifdef USE_OPENGL 00044 virtual void drawGL(); 00045 #endif // USE_OPENGL 00046 */ 00047 }; 00048 } 00049 00050 #endif // OPENCAL_POINTMASS_H

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